Skip to main content
6 votes
Accepted

Cannot handle OpenDirect push notification when iOS app is not launched

SFMCSdk.mp.setURLHandlingDelegate(self) should be set only after successful initialization of the SDK. For opendirect, when app is not in launched state, the SDK instance will be lost and hence when ...
Prakashini Pattabiraman's user avatar
5 votes
Accepted

MessageOpened not woring on Android and iOS 10

Based on your comment in response to my original question in comments: Please enable analytics when you call configureSdk(). This will result in analytics data being transmitted to the ...
Bill Mote's user avatar
  • 5,286
5 votes

Cannot redirect to a WEB URL from push notifications

While Zak's answers isn't incorrect, it does require a bit more discovery once you click the links he provided. To be specific to the original question, in the Android SDK you will need to provide an ...
Seth's user avatar
  • 941
3 votes

Cannot opt in iOS Devices for Push Notifications

These issues are almost always a certificate issue (99.999% of the time). See the troubleshooting push steps in the documentation for help. (ref. https://salesforce-marketingcloud.github.io/...
Bill Mote's user avatar
  • 5,286
3 votes

Is it possible for both MCCordovaPlugin and FCMPlugin to co-exist?

This should be possible, although there has been no testing around this use-case with the Cordova plugin. The native platform SDKs for the Marketing Cloud support multiple push providers so you ...
Seth's user avatar
  • 941
3 votes
Accepted

Marketing Cloud Mobile Studio Subscriber key

You are correct; Subscriber Key is the 1 value that allows you to reconcile contacts between Email Studio and Mobile Push. How/where you get/store that data is up to you, but you will need to call ...
Bill Mote's user avatar
  • 5,286
3 votes
Accepted

Initialize Mobile Push SDK twice in Mobile App

Both the Android and iOS support the ability to switch between different business units, but there is no support for multiple business units to be active at one time.
Seth's user avatar
  • 941
3 votes
Accepted

Marketing Cloud Push won't increment the badge no in iOS

This is the expected SDK behavior. I'll make a note to ensure that the web interface is clarified. In 4.9.5 and later, badges are now set according to the following logic: If a push message is sent, ...
Brian M. Criscuolo's user avatar
3 votes

Salesforce Marketing Cloud Mobile Push / JB4A SDK: Does anyone have a working iOS solution?

Please verify what kind of push certificate you are using and that is set in the Marketing Cloud App Center. If you are debugging, you MUST use an "Apple Push Notification service SSL (Sandbox)" ...
Jeff Sylvia's user avatar
3 votes

Disable PUSH notification (opt-out) from SDK

The docs say yes. Trust the docs.
Bill Mote's user avatar
  • 5,286
3 votes
Accepted

Do I need to upgrade my iOS MarketingCloudSDK due to HTTP/2?

You don't have to do any changes in SDK. All you will be configuring auth keys in Marketing Cloud UI instead of certificates. Using the steps in the same URL which you have provided in your question -...
Naveen VM's user avatar
  • 1,691
3 votes

How can I import salesforce marketing cloud in ios

Please ensure you have imported the SDK's header file at the top of your AppDelegate.m. #import "AppDelegate.h" #import <MarketingCloudSDK/MarketingCloudSDK.h> ... ...
Skyler Tanner's user avatar
3 votes

SFMC Inbox Messages

There was a bug addressed in v7.4.0 of the iOS SDK that would previously cause MarketingCloudSDK.sharedInstance().sfmc_refreshMessages() to return true everytime it was called, even if it was in fact ...
Skyler Tanner's user avatar
3 votes

How to track app version of device for MobilePush

You would need to make a custom attribute in your mobile push demographics and update your sdk to pass this information You can then create a mobile filtered list to see which contacts have which ...
EazyE's user avatar
  • 8,537
3 votes
Accepted

Marketing Cloud SDK crash 8.0.11 Crash with error: Please add correct version of MarketingCloudSDK.bundle

We were able to verify that a relatively new Xcode setting (manageAppVersionAndBuildNumber) will alter our SDK’s ability to verify the versions of its components. The issue only surfaces when the ...
Ethan Yehuda's user avatar
3 votes
Accepted

MarketingCloudSDK Crashes SwiftUI App in Beta TestFlight: _dispatch_once

This is because of accessing keychain from the background when data protection is enabled. Add the below code before SDK init and we should not be seeing the crash anymore. SFMCSdk....
Prakashini Pattabiraman's user avatar
2 votes

libJB4ASDK-*.a is not permitted

Jared, can you confirm that the static library is NOT included in the "Embedded Binaries" section of your target's General settings pane in Xcode? That would appear to trigger the error you have. ...
Brian M. Criscuolo's user avatar
2 votes
Accepted

libJB4ASDK-*.a is not permitted

The JB4A-SDK/libJB4ASDK-4.7.0.020600001.a static library is copied to the App Bundle. Don't do this. Add it to the target's Link Binary with Libraries build phase. Do not add it to the target's Copy ...
shallowThought's user avatar
2 votes
Accepted

Reset the notification badge on iOS

To quote the current documentation (ETPush.h) /** Reset the application's badge number to zero (aka, remove it). Call updateET to refresh the server with the current badge number. Note: updateET may ...
Brian M. Criscuolo's user avatar
2 votes

Cannot send push notification to iOS device

The primary difference between iOS and Android when dealing with push notifications is the provisioning process and understanding Apple's APNS/Push process. The cause of your opt-out is probably or ...
Tom Brooks's user avatar
2 votes

Difference between JB4A SDK and Salesforce Marketing Cloud SDK for iOS

The new SDK (version 5.0.0 and later) for iOS is our mainline, fully supported, modern architecture SDK framework. No new work (or maintenance) will be done in the JB4A iOS static library. ...
Brian M. Criscuolo's user avatar
2 votes

Cannot redirect to a WEB URL from push notifications

You need to have OpenDirect configured in your Mobile App to be able to redirect to External Web URLs. This is done by enabling the functionnality in the Mobile Push SDK for your APP. Documentation ...
Zak Ben's user avatar
  • 463
2 votes

ERROR: Right To Be Forgotten is enabled. MarketingCloudSDK functionality has been restricted

RTBF (GDPR) functionality is Contact Key based. If you've "deleted" your contact in the Marketing Cloud you will need to contact your Salesforce Account Manager and/or Support Contact. This is not ...
Bill Mote's user avatar
  • 5,286
2 votes
Accepted

Mobile Push failed outbound message

99.999% of the time this is simply a certificate issue. Please verify that you've uploaded the correct certificate to the Marketing Cloud Servers. If you need further assistance please open a support ...
Bill Mote's user avatar
  • 5,286
2 votes

RichPush Notifications on IOS are blocking regular pushes

I would suggest working on one target at a time. After adding one notification extension, make sure that Notification Target is signed by the same Managed Profile as the project target you are ...
Skyler Tanner's user avatar
2 votes

Extracting In-App Message Analytics data in journey builder for individual contacts

We're hoping to add granular contact-level data into an extract in an upcoming release. Until then, you can see aggregated data in the UI or by running a report in the Reports app within Marketing ...
Tyler Staley's user avatar
2 votes

Mobile Push notification not working debug mode iOS

That is correct, you only need one p8 file that can be used for both apps. You will notice the toggle that you see on the right hand side in your image provided says development or production. This ...
Skyler Tanner's user avatar
2 votes

MarketingCloudSDK - iOS SDK XCFramework support

We just happen to have the very same issue, where Salesforce is our last dependency pending to be migrated to XCFramework. I posted a similar question a while ago (https://salesforce.stackexchange.com/...
Luis Recuenco's user avatar
2 votes

iOS Push Notification - sfmc_handle() not called when app was closed

As you know, the SDK relies on the implementer to pass the notification to it in order to handle urls, report correct analytics etc. There are 2 things to verify: The SDK is initialized when passed ...
Skyler Tanner's user avatar
2 votes
Accepted

Universal links not working when attached in a push notification with app killed

I solved my problem thanks to this comment: https://github.com/facebook/react-native/issues/24429#issuecomment-858699356 Hello, In my case the problem appears only with deeplink into push ...
LucaEffe's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible