我们正尝试使用离子本机应用程序获取Google广告ID。我们在插件
中使用了以下代码var b = [] // => literal returns a function that will be executed immediately
{} == b // => false because b holds the result of the executed literal-function.
{} == function() // throws error
{} == [] // throws error
var f = function() { --some code-- }
{} == f // throws error
它已添加到build.gradle和project.properties
cordova plugin add cordova-plugin-idfa --save
但是我们遇到了问题:
cordova.system.library.1=com.google.android.gms:play-services-ads:15.0.+
and
compile "com.google.android.gms:play-services-ads:15.0.+"
让我知道我们是否错过任何事情。