iOS 記錄一次使用umeng崩潰統(tǒng)計被拒

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 <AppTrackingTransparency/ATTrackingManager.h>

最后建議將友盟更新到最新版本,2021-06-17目前為止最新版本為7.3.0。

建議在提交審核之前回復一下被拒的問題,告訴其已安規(guī)定給用戶相應的提示。

?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
【社區(qū)內容提示】社區(qū)部分內容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發(fā)布,文章內容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內容

友情鏈接更多精彩內容