为基于Ionic4Angular和Cordova的iOS应用实现应用跟踪透明度
我的应用程序更新被苹果拒绝,因为它需要应用程序跟踪透明度,我在我的 ios info.plist 文件中添加了以下几行
<key>NSUserTrackingUsageDescription</key>
<string>Your data will be used to connect external sites to allow you to log-in and track your orders using your email.</string>
我试过这个插件https://github.com/chemerisuk/cordova-plugin-idfa
getInfo(){
return this.platform
.ready()
.then(() => cordova.plugins.idfa.getInfo())
}
但是当我运行 ionic cordova build iOS 时它显示错误。错误是:在cordova.plugins中找不到idfa属性
是否有任何官方的 ionic cordova 插件来实现应用程序跟踪透明度?或者任何人都有用于此目的的自定义解决方案?请帮忙。
THE END
二维码