小编PHP*_*ger的帖子

为基于 Ionic 4 Angular 和 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())
  }
Run Code Online (Sandbox Code Playgroud)

但是当我运行 ionic cordova build iOS 时它显示错误。错误是:在cordova.plugins中找不到idfa属性

是否有任何官方的 ionic cordova 插件来实现应用程序跟踪透明度?或者任何人都有用于此目的的自定义解决方案?请帮忙。

ios cordova ionic-framework

8
推荐指数
1
解决办法
889
查看次数

标签 统计

cordova ×1

ionic-framework ×1

ios ×1