Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
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
4 votes
Accepted

Duplicate symbol between ExactTarget and third party

We're aware of this issue and have addressed it for our next SDK release. We've namespaced our sqlite usage so that it can play more fairly within an app. This will be released later this month; ...
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
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

Page scroll bottom when user try input anything: Safari issue

This hack worked well for me. Add the following JavaScript to your page: <script> var ua=navigator.userAgent; if((ua.indexOf('Salesforce')!=-1)&&(ua.indexOf('iPhone')!=-1||ua.indexOf(...
Gaurav Kheterpal's user avatar
3 votes

ExactTarget library duplicated symbol IOS

We've been making improvements to our SDK; please see https://salesforce.stackexchange.com/a/131089/34325 for details on the changes we'll be releasing to support this use case. Brian M. Criscuolo, ...
Brian M. Criscuolo's user avatar
3 votes

Add Salesforce SDK to an existing iOS (Objetive C) project. How to do it?

I've done this a few times - added the Salesforce iOS SDK to my existing apps. There's actually a tutorial which my good friend Quinton Wall wrote for this. The key steps which you may be missing are ...
Gaurav Kheterpal'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
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

How to Run and Debug Salesforce Mobile App on the desktop? (reloaded 3rd time and many years later...)

As it stands, all you need to debug and inspect Aura Components for iPhone is somehow in the documentation. I will wrap up how I was able to get a CSS inspector. My steps are from the perspective of a ...
Uwe Heim's user avatar
  • 28.4k
2 votes

Moving a PDF from a native iOS Swift app into Salesforce?

1) You need to add Salesforce iOS Mobile SDK to your XCode project as a first step. You can follow this tutorial to do so. 2) I don't fully understand what you mean by 'directly into a Salesforce ...
Gaurav Kheterpal's user avatar
2 votes

How to override back button in salesforce1 in IOS?

Here is a description of sforce.one navigation functions You need to use the navigateToURL(​url​[, isredirect]) function what you need to do: on the validation page you need to place the following ...
Alexey Pchelkin's user avatar
2 votes
Accepted

Why is my page scrolling to the top when click on a field and the keyboard appears?

Sounds like it could be this long-standing Visualforce issue: https://success.salesforce.com/issues_view?id=a1p30000000T2oL A workaround script run after the page has fully loaded usually helps to ...
Kalin's user avatar
  • 441
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

Why is the Salesforce Snap Ins SDK for Android and iOS so huge?

For the Android app it sounds to me like you are including all of the Sdks when you only want to use chat. If so the below tips may help. I see sizes increases of <2MB when I compile just the chat ...
Steve T's user avatar
  • 21
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
Accepted

Track custom event using Salesforce marketing cloud iOS SDK

Unfortunately, as of 20180124, you cannot track a custom event with the Salesforce Marketing Cloud Mobile Push SDKs. I suggest you open a Voice of Customer (VOC) request via your account manager as ...
Bill Mote's user avatar
  • 5,286
2 votes
Accepted

MarketingCloudSDK iOS v5.1.1 with Swift 4.1

MarketingCloud iOS v5.1.1 is fully compatible with Swift 4.1. The SDK does not use Swift internally and all bridging is provided by Xcode; we make sure to update our annotations to support the most ...
Brian M. Criscuolo's user avatar
2 votes
Accepted

Marketing Cloud Cordova Plugin - Crash on iPhone 5 OS 10.3

We’ve released version 5.1.1 of the SDK which addresses a crash on armv7s device (like yours). Based on the crash log, we’re not precisely sure that it is the same crash (no symbols were generated) ...
Tom Brooks's user avatar
2 votes
Accepted

MarketingCloudSDK deviceId crash

This crash occurs occasionally (timing dependent) when the user has done a "swipe to close", thus terminating your app. The timing issue is of the app going to the background just before that happens, ...
Brian M. Criscuolo'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

MarketingCloud SDK - iOS turn on/off for GDPR?

The SDK handles GDPR in response to changes in the Marketing Cloud system itself - the server communicates the state of contact privacy (Do Not Track, Right to be Forgotten, Restriction of Privacy) to ...
Brian M. Criscuolo's user avatar
2 votes

Q: Mobile Push Badge Count (MarketingCloud SDK 6.0)

The MobilePush SDK will control badging if the Inbox functionality is enabled in the configuration for the SDK. If you do not need inbox, set "inbox":"false" in the configuration file and you'll be ...
Brian M. Criscuolo's user avatar
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

MarketingCloudSDK iOS 7.0.1: Undefined symbols for architecture armv7

TLDR; remove armv7 from your list of architectures: SFMC has an iOS minimum of iOS 10 and iirc devices that can run iOS 10 all use newer architectures so it's safe to remove(?) but standard iOS ...
cream-corn'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 sfmc_refreshMessages() always returns false

Great question. The SDK has always used a 60 second inbox refresh rate limiter. This is a common practice to manage spamming of backend services. The result of the v7.4.0 release is to accurately ...
Skyler Tanner'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

MarketingCloudSDK - MobilePush SDK for iOS v8.x - crash

This error occurs when the resources bundle called MarketingCloudSDK.bundle is not brought into the project. Please ensure you have correctly added the resources bundle inside your project's Build ...
Skyler Tanner's user avatar

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