iOS 记录一次使用umeng崩溃统计被拒

Guideline 5.1.2 - Legal - Privacy - Data Use and Sharing

The app privacy information you provided in App Store Connect indicates you collect data in order to track the user, including Product Interaction. 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 new requirements for apps that track users.
  • Learn more about designing appropriate permission requests.

Bug Fix Submissions

If this is a bug fix submission and you'd like to have it approved at this time, reply to this message in Resolution Center to let us know. You do not need to resubmit your app for us to proceed.

Alternatively, if you'd like to resolve these issues now, please feel free to resubmit. Let us know if you have any questions about the issues we found in our review.

You may appeal your app rejection if you believe this decision was made incorrectly. We also invite you to provide feedback on our review guidelines.

首先要知道自己在哪里使用了跟踪用户,我们app里没有广告,只有友盟。

在初始化友盟之前,判断一下iOS14,请求一下跟踪用户权限,同时在要plist里添加必要的描述,plist里的key、value如下:

NSUserTrackingUsageDescription是否允许使用设备ID来追踪崩溃信息?

初始化友盟代码如下:

- (void)checkTrackingAuthorization {
    if (@available(iOS 14, *)) {
        weak_self
        [ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus status) {
            if (status == ATTrackingManagerAuthorizationStatusAuthorized) {
                [weakSelf startUmeng];
            } else {
                [Common showMessage:@"我们希望您能授权访问设备ID来追踪崩溃信息" code:0];
            }
        }];
    } else {
        [self startUmeng];
    };
}
- (void)startUmeng {
    [UMConfigure initWithAppkey:@"友盟KEY" channel:@"APPSTORE"];
    [UMConfigure setLogEnabled:NO];
    [UMCrashConfigure setCrashCBBlock:^NSString * _Nullable{
        return @"crash";
    }];
}

头部需要导入一下#import

最后建议将友盟更新到最新版本,2021-06-17目前为止最新版本为7.3.0。

建议在提交审核之前回复一下被拒的问题,告诉其已安规定给用户相应的提示。

你可能感兴趣的:(iOS 记录一次使用umeng崩溃统计被拒)