uni-app App Tracking Transparency问题,IOS15设备不弹出授权框,导致ios审核被拒

uni-app App Tracking Transparency问题,IOS15设备不弹出授权框,导致ios审核被拒

项目信息 详情
产品分类 uniapp/App
PC开发环境操作系统 Mac
PC开发环境操作系统版本号 macOS 12.4 (21F79)
HBuilderX类型 正式
HBuilderX版本号 3.4.15
手机系统 iOS
手机系统版本号 iOS 15
手机厂商 苹果
手机机型 iPhone 12
页面类型 vue
vue版本 vue2
打包方式 云端
项目创建方式 HBuilderX

bug描述:

app打包中带有 idfa获取,权限获取不会弹出App Tracking Transparency授权对话框,ios审核被拒绝。 HBuilderX也卸载重新安装了,app也重新打包了,但还是无法弹出。

The app privacy information you provided in App Store Connect indicates you collect data in order to track the user, including Device ID. However, you do not use App Tracking Transparency to request the user’s permission before tracking their activity.

Starting with iOS 14.5, apps on the App Store need to receive the user’s permission through the AppTrackingTransparency framework before collecting data used to track them. This requirement protects the privacy of App Store users.

Next Steps Here are two ways to resolve this issue:

  • If you do not currently track, or decide to stop tracking, update your app privacy information in App Store Connect. You must have the Account Holder or Admin role to update app privacy information.
  • If you track users, you must implement App Tracking Transparency and request permission before collecting data used to track. When you resubmit, indicate in the Review Notes where the permission request is located.

Resources

  • Tracking is linking data collected from your app with third-party data for advertising purposes, or sharing the collected data with a data broker. Learn more about tracking.
  • See Frequently Asked Questions about the requirements for apps that track users.
  • Learn more about designing appropriate permission requests.

Please see attached screenshot for details.


更多关于uni-app App Tracking Transparency问题,IOS15设备不弹出授权框,导致ios审核被拒的实战教程也可以访问 https://www.itying.com/category-93-b0.html

6 回复

有人吗

更多关于uni-app App Tracking Transparency问题,IOS15设备不弹出授权框,导致ios审核被拒的实战教程也可以访问 https://www.itying.com/category-93-b0.html


HBuilderX的版本是什么?

这个玩意有毒吧?我明明打了勾的,发布正式版打包后,发现还是没弹出,回来一看这个勾又没了。。。。 搞来搞去免费打包次数没了,现在要充值,服气服气

你项目中哪里用到idfa了,一般没开通广告不需要勾选 勾选了不用就会被拒

针对iOS15设备不弹出App Tracking Transparency授权框导致审核被拒的问题,以下是解决方案:

  1. 确保manifest.json中已正确配置IDFA权限:
"ios": {
    "idfa": true,
    "privacyDescription": {
        "NSUserTrackingUsageDescription": "请允许跟踪以提供更精准的广告服务"
    }
}
  1. 在App.vue的onLaunch中调用ATT授权请求(需使用条件编译):
// #ifdef APP-PLUS
if (uni.getSystemInfoSync().platform === 'ios') {
    const ATT = uni.requireNativePlugin('DC-Uni-ATT')
    ATT.requestATT((res) => {
        console.log(res)
    })
}
// #endif
回到顶部