Hot answers tagged

5 votes
Accepted

iOS SDK iOS9 - User Gets Logged Out every time

This has been a known issue with iOS9 but the good thing is that it's already fixed in 3.3.1 release. The root cause is that TheunarchiveObjectWithFile: message of the NSKeyedUnarchiver class now ...
Gaurav Kheterpal's user avatar
5 votes
Accepted

Lightning Design System - Custom Icon Styling Not Working On My iOS app

If you are getting an error about these files not being found, then it means either your pod isn't installed or the pod configuration file is not correct. The sequence of steps to be followed here is ...
Gaurav Kheterpal's user avatar
5 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

Automated Testing Salesforce one app (3rd party)

There is no way you can officially get access to the Salesforce1 IPA and APK files. Of course, there are other tricks in which you can recover these files from the device but they wilL NOT obviously ...
Gaurav Kheterpal'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

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

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
Accepted

ExactTarget library duplicated symbol IOS

Dsw, Essentially this means that you're trying to include Sqlite3 twice. The Marketing Cloud SDK requires Sqlite3, but there's nothing to say you can't piggy back on it. Essentially remove your ...
Kevin P's user avatar
  • 7,188
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

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
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

Is it possible to get device token, if user selected Don't Allow for push notifications?

We are using device token as a unique ID for track app installs. This is explicitly disallowed by the APNS guidelines and it's a great way to get your app yanked out of the app store. But even if ...
Jonathan Hersh's user avatar
2 votes
Accepted

Determining How/When to Add Consumer Key to OAuth Flow

I think you are misreading the documentation. Installing a package, managed or otherwise, has nothing to do with accessing the API in GE/PE orgs. Instead, as you've already discovered: I'm not ...
Jonathan Hersh's user avatar
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

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
  • 4,971
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
  • 4,971

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