8

It is not clear to me whether we need to request push notification permissions in the provisioning profile, if we are only sending local notifications. I received the warning email when doing a test upload to ITunes and do not want to waste time when we submit.

I have calls for IOS8+

static const UIUserNotificationType USER_NOTIFICATION_TYPES_REQUIRED = UIUserNotificationTypeAlert | UIUserNotificationTypeSound | UIUserNotificationTypeBadge;
UIUserNotificationSettings* requestedSettings = [UIUserNotificationSettings settingsForTypes:USER_NOTIFICATION_TYPES_REQUIRED categories:nil];
[[UIApplication sharedApplication] registerUserNotificationSettings:requestedSettings];

and

[application scheduleLocalNotification:notification];

But no push notification. Do I need to include push in the IOS-APP ID Settings

enter image description here

asked Feb 3, 2015 at 9:39

1 Answer 1

1

Local notifications do not need any changes to the entitlements.

Remote push notifications require you to enable Push Notifications in the entitlements and you will also need a developer account.

answered Oct 1, 2019 at 10:34
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.