![]() ![]() ![]() If you are using WebEngage iOS SDK version below 3.5.8, add WEG_APP_GROUP key in the ist files of all the three targets: main app, NotificationService and NotificationViewController. UNNotificationExtensionInitialContentSizeRatioĬom.-extensionįinalScreenshot of ContentExtension-Info.pilst: UNNotificationExtensionDefaultContentHidden OPENING LINKS IN NEW TAB WITH LIMECHAT CODESource Code snippet of ContentExtension-Info.pilst: ist should only contain Allow Arbitrary Loads keys (if required). Keys declared in ist & ist are different.Īvoid the common error of declaring NSExtension keys under ist NSExtension keys should only be in ist. Not required if you are sure that image URLs provided for push on WebEngage dashboard will always use https.Set Allow Arbitrary Loads to YES under App Transport Security Settings in both these files. Step 3: Add App Transport Security Settings key under Information Property List in both NotificationService and NotificationViewController ist files. Step 2: Set UNNotificationExtensionDefaultContentHidden under NSExtensionAttributes to YES Add it if it is not present and set the type as Array In the Array items, add: Look for UNNotificationExtensionCategory under NSExtensionAttributes. Step 1: Open the ist file for NotificationViewControllerĮxpand NSExtension > NSExtensionAttributes Click on the checkbox against the added App Group and tick it. Select the NotificationViewController target from the expanded sidebar or from the dropdown menu, then select the Capabilities tab. ![]() Step 6: Do the same for NotificationViewController target. Step 5: Select the NotificationService target from the expanded sidebar or from the dropdown menu, then select the Capabilities tab. Make sure this App Group is in use by ticking the checkbox against it. We recommend using this format: group.WEGNotificationGroup. Step 4: Add an App Group container and specify its name. If you are using Xcode 8 or above, ensure that an YOUR-APP-NAME.entitlements file has been added to your project. Step 3: If App Groups isn't enabled, click the switch to add the "App Groups" entitlement to your app. Step 2: Select your main app target from the expanded sidebar or from the dropdown menu, then select the Capabilities tab. Note that you may still need to enable background modes. If you already support push notifications in your app, skip to the section below about uploading your auth key.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |