How to remove push notification API

后端 未结 1 1281
滥情空心
滥情空心 2021-01-16 11:09

Apple sends the following email when submitting iOS app:

Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push

相关标签:
1条回答
  • 2021-01-16 12:04

    @GordonDove: Looks very plausible from where I'm sitting. registerUserNotificationSettings is producing false positives.

    One way or another, your app is still invoking:

    [[UIApplication sharedApplication] registerUserNotificationSettings:mySettings];
    

    If you are absolutely positive you are not doing this, launch Terminal, cd to your project, and execute (do not forget the space dot trailing the grep command):

    grep -r "registerUserNotificationSettings" .
    

    It appears as so Apple does not discriminate between local and remote notifications.

    0 讨论(0)
提交回复
热议问题