1

We noticed that a few devices are not receiving push notifications on iOS.

We are using MarketingCloudSDK 8.1.0. This is how we are configuring the SDK:

let configuration = PushConfigBuilder(appId: .appID) .setAccessToken(.accessToken) .setMarketingCloudServerUrl(appEndpoint) .setMid(.mid) .setDelayRegistrationUntilContactKeyIsSet(true) .setAnalyticsEnabled(true) .build() let completionHandler: (OperationResult) -> () = { result in //Request notification permission; SFMCSdk.identity.setProfileId; } SFMCSdk.initializeSdk(ConfigBuilder().setPush(config: configuration, onCompletion: completionHandler).build()) 

In the devices we aren't receiving push notifications we log the state using SFMCSdk.state() and got this:

SDK State = { "modules" : { "cdp" : { "compatibility" : "2.0.2 - 2.9.9", "name" : "cdp", "pendingOperations" : "undefined", "status" : "inactive", "version" : "unavailable" }, "push" : { "compatibility" : "8.1.0 - 8.9.9", "name" : "push", "pendingOperations" : "0", "status" : "cancelled", "version" : "unavailable" } }, "registrationId" : "562B525E-8C71-4D8E-A51A-2501DFD5E843", "version" : "1.1.0" } 

We noticed that the push status is cancelled, we checked the documentation that says:

//module initialization was cancelled (for example due to re-confirguration triggered before init was completed)

But we checked on code and either SFMCSdk.initializeSdk or any other configuration is being called before init was completed.

We also noticed that in these scenarios we can't find a contact with the returned registrationId on MarketingCloud platform (MobilePush).

We trying to understand why some devices are not receiving push notifications. Is there any other scenarios that can cause the cancelled status?

2
  • I have the same question here Commented Nov 22, 2024 at 9:31
  • we are experiencing the same problem with SFCMSDK initialisation returning a cancelled status. Did you ever find a solution? Commented Nov 28, 2024 at 10:31

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.