17.2 C
Canberra
Monday, October 27, 2025

Easy methods 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:

Easy methods to correctly setup iOS Data.plist to allow Notification Service Extension?

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

Step 1? Verify.

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

Now I am confused on the subsequent half. Easy methods to replace the Data.plist? Which keys ought to be offered on each information? 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

[td_block_social_counter facebook="tagdiv" twitter="tagdivofficial" youtube="tagdiv" style="style8 td-social-boxed td-social-font-icons" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjM4IiwiZGlzcGxheSI6IiJ9LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMzAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" custom_title="Stay Connected" block_template_id="td_block_template_8" f_header_font_family="712" f_header_font_transform="uppercase" f_header_font_weight="500" f_header_font_size="17" border_color="#dd3333"]
- Advertisement -spot_img

Latest Articles