ios - 更新适用于 iOS 的 Google-Mobile-Ads-SDK 时出现问题
问题描述
我想更新 Google-Mobile-Ads-SDK pod 以删除 UIWebView 的实例,但根据文档链接,需要将一个GADApplicationIdentifier
必须添加到 Info.plist 文件中才能正确初始化 SDK . 我没有 admob 帐户,我只使用 Ad-Manager 在应用中展示原生广告。有没有其他方法可以在不添加GADApplicationIdentifier
Info.plist的情况下更新 SDK
解决方案
Got the solution for this:
If you don't have an AdMob account and you are showing the ads using AdManager, then you can add the following key GADIsAdManagerApp
to YES
in your Info.plist, to initialise the Ads SDK properly with the latest version
推荐阅读
- matlab - 为什么随着散射体数量的变化,我会得到不一致的图形(不是按要求线性递减)?
- excel - VBA Excel将单元格范围复制到外部工作簿
- amazon-web-services - 使用 s3 事件触发 Lambda 时出现问题
- angular - 我在哪里可以找到 angular + ngrx 应用程序的应用程序演示“英雄”?
- spring - 如何在 Spring 安全 Java 配置中最好地组织 URL 授权
- firebase - Xamarin.Firebase.Auth 71.1605.0 和 Xamarin.Android.Arch.Work.Runtime 1.0.0.3 兼容性问题
- json - 如何测量 JSON 属性读取性能?
- javascript - 使用 Emailjs 时,我没有在收件箱中收到表单输入信息
- sas - 如何在 SAS 中按多个组添加一个行号,其中一个变量按降序排列?
- python - 如何根据 Django admin list_display 中的模型值从自定义数据库查找中返回值?