iosxcodeprovisioning-profileios-app-extensionnotification-service-extension

Does a Notification Service Extension need any capabilities?


I’m creating an App ID for a Notification Service Extension

Do I need to add any capabilities to it? Its only purpose is to download the image for the notification. I don’t think I need to.

Currently I'm able to build into my device without enabling any capabilities in Xcode. Although when I look into the provisioning profile that Xcode built itself, I see Keychain Sharing enabled.

I also saw this tutorial and the tutorial goes with enabling 'App Groups'. While this other tutorial goes with enabling App Groups along with Push notification. I don't think I need App groups because I don't need to pass any values, just updating the notification is all I need.

I didn't find anything in the docs that mentions what's the correct approach. A friend told me he got his to to work without enabling anything, so I'm very confused.


Solution

  • Basically, you don't need any capability for notification service extension.