7 votes
Accepted

Can't create new project with Mobile SDK 3.3 with Cordova 5.0

This is actually a known issue with Mobile SDK 3.3 - it will NOT work with Cordova version 5.0 (only Cordova 4.x is supported). If you have to use Cordova 5.0, please upgrade to the latest version of ...
Gaurav Kheterpal's user avatar
6 votes
Accepted

Do Salesforce Officially Support Mobile SDKs?

Yes, Salesforce does support Mobile SDK as part of premium support. However, you actually don't need premium support for mobile, if you are facing an issue with Mobile SDK, you can either post on ...
Gaurav Kheterpal'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
  • 4,969
5 votes
Accepted

not able to create campaign record even I have crud PERMISSION

I have done a quick repro of the code snippet you provided in my org with the "Marketing user" checkbox enabled and it gives output as campaign inserted successfully When disabled, it ...
Swetha Maddali's user avatar
5 votes

Marketing Cloud SDK 8.0.5 registrationManager NullPointerException crash

This typically happens when you're initializing the SFMCSdk, but then directly accessing the MarketingCloudSdk. Please use: SFMCSdk.requestSdk { it.mp { push -> // push.doStuff } }
Bill Mote's user avatar
  • 4,969
3 votes

Salesforce Connected App - Push Messaging Android GCM API Key

This is the GCM key. 1) Go to this URL 2) Click Enable API 3) Click Credentials -> New Credentials and then chose Android Key 4) You will then the key as shown
Gaurav Kheterpal's user avatar
2 votes

Not redirecting to Salesforce login page while opening the app

Same steps worked well for me and I see the login screen when I launch the app. I see the following error in your log The node package shelljs is required to use this script. Run 'npm install shelljs'...
Gaurav Kheterpal's user avatar
2 votes
Accepted

Developer Edition: The REST API is not enabled for this Organization

API access for professional edition will disabled by default and you will need to contact salesforce to get it enabled . To request API contact via your partner org https://developer.salesforce.com/...
Mohith Shrivastava's user avatar
2 votes

React Native Mobile SDK

I can understand that this can be a bit confusing as it's not really documented very well. The key concept here is that forcClient is an instance of react.force.net.js var forceClient = require('./...
Gaurav Kheterpal's user avatar
2 votes

ByPass Login in Salesforce SDK

It is not possible to completely bypass login using the Salesforce Mobile SDK. There are however a few things you can do. 1) If you're using Communities, you can use a custom auth screen as described ...
Gaurav Kheterpal's user avatar
2 votes

Cannot create working Remote Hybrid Android app with Mobile SDK 4.1

I have found that if my project includes plugins other than the SF one then I need to make sure that I add the SF one last. I have mentioned this in one of the git issues. At the time of writing I ...
Todd Halfpenny's user avatar
2 votes
Accepted

JB4A-SDK-Android 5.3.0 Attribute.Create(String, String)

Amazing that this hasn't come up before. Thank you. You are correct: the create() method is being obfuscated and is marked for internal-use-only. I will open a ticket for this to be addressed. You ...
Bill Mote's user avatar
  • 4,969
2 votes
Accepted

Device IDs unique for every install?

There is not. Prior to version 4.9.x the Android SDK hashed together some bits of data and ANDROID_ID in order to generate it's unique device identifier. At the time this decision was made, 2011/...
Bill Mote's user avatar
  • 4,969
2 votes
Accepted

Push Notification not showing up when app is closed

I'll start by asking the question that I'm sure I already know the answer to. Are you calling the Marketing Cloud SDK's init method from within your Application's onCreate method? If not, then that ...
Seth's user avatar
  • 931
2 votes

Error: No resource found that matches the given name (at 'icon' with value '@drawable/sf__icon')

I had the same problem after trying to setup to use forcedroid My view is there is an error in the template cloned on the create To work around it, if you look in the platforms\android\res\drawable ...
Richard Clarke's user avatar
2 votes

Android Switching Business Unit

You can switch to a different business unit be simply calling the MarketingCloudSdk's init method with the credentials of the new business unit. This will signal to the SDK to clean up the existing ...
Seth's user avatar
  • 931
2 votes

Mobile Marketing Cloud SDK has dependency on outdated Firebase SDKs

Please open a Voice-of-Customer request through your support representative for this.
Bill Mote's user avatar
  • 4,969
2 votes

In-App Message Crashing after receiving the message

This was resolved in Version 7.3.1. Please update your application to use the SDK v7.3.1 or greater.
Bill Mote's user avatar
  • 4,969
2 votes
Accepted

How to get the message field in android

public final val alert: kotlin.String /* compiled code */ See alert
Bill Mote's user avatar
  • 4,969
1 vote

Salesforce Connected App using Salesforce Mobile SDK removed from Google Play Store due to webview spam policy

I have not heard of anyone else running into this and it should have nothing to do with the SDK version. It sounds like this is simply an error in some automated spam detection system Google has. ...
Brandon Page's user avatar
1 vote

How to link a new Contact/Case to an existing Account?

Based on the documentation, the linkToAnotherSalesforceObject method is to be invoked by the pointed entity in the lookup relationship (just like you have done in your Contact working example). So ...
Ideasforce's user avatar
  • 1,187
1 vote

Salesforce update 6.x.x(Updating to FCM) :Failed to retrieve InstanceId from Firebase message,systemToken always null

After trying all possible combinations, i have tried downgrading some of the firebase dependencies and seems like the ML kit version was causing the issue. Not sure why that would be the case. Had the ...
Anupama VK's user avatar
1 vote

Salesforce update 6.x.x(Updating to FCM) :Failed to retrieve InstanceId from Firebase message,systemToken always null

If you have implemented our SDK alongside another push provider, to include Firebase's own messaging service, then you must get and handle the token yourself. An example of this can be seen in our "...
Bill Mote's user avatar
  • 4,969
1 vote

Marketing Cloud SDK Implementation Not Working

You should be using version 17.0.1 of firebase-core. The SDK docs page uses a shared variable for the Firebase major version number, which is no longer correct since Google is publishing no longer ...
Seth's user avatar
  • 931
1 vote
Accepted

Native Android/iOS Authentication with Authenticated Site/Customer Portal

I can't say I'm really a fan of this solution, but until a better interface is made known or available, I had to rely on interacting with the login portal via a requests library, and parse needed ...
Karl's user avatar
  • 76
1 vote

Lightning components inside Salesforce Mobile SDK

As of today Lighting Components are not supported in the Mobile SDK. I have not heard about Lighting Components not rendering properly, the issues we have encountered have been about long term ...
Brandon Page's user avatar
1 vote

Why Mobile push Attribute class is @RestrictTo({Scope.LIBRARY})

It was originally a mistake for the create method in the Attribute class to be obfuscated/restricted. When we decided to address this we also decided that we would deprecate this class, and ...
Seth's user avatar
  • 931
1 vote

Can I Cancel a Mobile SDK Login?

Yes, on iOS you can call SFLoginViewController's shouldShowBackButton method. On Android the device's back button should work. I would advise you extend the login view on each platform to further ...
Brandon Page's user avatar
1 vote

Duplicate entry AesCbcWithIntegrity$CipherTextIvMac.class

As it currently stands there isn't much, if anything, you can do here. The Marketing Cloud SDK compiles the tozny library into the distributed aar rather than declaring it in the pom file distributed....
Seth's user avatar
  • 931
1 vote

Tracking Push Notifications?

Mobile Push tracks two main analytics that can be used to infer engagement. We do track Opens (http://help.marketingcloud.com/en/documentation/mobilepush/analytics/opens/) and we also track time in ...
Andrew Shields's user avatar

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