HomeiOS DevelopmentLearn how to correctly setup iOS Data.plist to allow Notification Service Extension?

Learn how to correctly setup iOS Data.plist to allow Notification Service Extension?


I’ve enabled Notification Service Extension succesfully on Android.
For iOS, nonetheless no luck: cannot course of the message instantly as soon as it is arrived with out requiring consumer interplay. Marvel if my configuration continues to be incorrect.

The doc says this:

Learn how to correctly setup iOS Data.plist to allow Notification Service Extension?

Here is what I see after loading the challenge on XCode.

Step 1? Verify.

Step 2? Choose the primary app -> App Teams -> there’s just one merchandise: group.id.co.xxxx.app.xxxxx.onesignal

Now I am confused on the subsequent half. Learn how to replace the Data.plist? Which keys must be supplied on each recordsdata? For instance the content material of Notification Service Extention’s Data.plist is:

<?xml model="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist model="1.0">
<dict>
    <key>NSExtension</key>
    <dict>
        <key>NSExtensionPointIdentifier</key>
        <string>com.apple.usernotifications.service</string>
        <key>NSExtensionPrincipalClass</key>
        <string>$(PRODUCT_MODULE_NAME).NotificationService</string>
    </dict>
</dict>
</plist>

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments