We want to use InBox feature only on iOS and Android applications (without push notifications).
Based on the LearningApp sample there is no option to disable push notifications during initialization via builder config:
let builder = MarketingCloudSDKConfigBuilder() .sfmc_setApplicationId(appID) .sfmc_setAccessToken(accessToken) .sfmc_setMarketingCloudServerUrl(appEndpoint) .sfmc_setMid(mid) .sfmc_setInboxEnabled(inbox as NSNumber) .sfmc_setLocationEnabled(location as NSNumber) .sfmc_setAnalyticsEnabled(pushAnalytics as NSNumber) .sfmc_build()!
Also based on comments in the LearningApp sample is required register push notifications during app start (we are using SDK version 6.4.2):
// In any case, your application should register for remote notifications *each time* your application // launches to ensure that the push token used by MobilePush (for silent push) is updated if necessary.
We found special method on iOS which looks like should disable push notifications:
So, can I make sure that InBox will work stable in the following cases:
- If iOS is not request permissions to Push Notifications.
- If we disable push notification using
- If the user has several devices for 1 Contact.
- Push Token is not related to InBox and won't affect sending InBox messages to Contacts.