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
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
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,276
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
  • 5,276
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
  • 5,276
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
  • 5,276
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
  • 941
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
  • 941
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
  • 5,276
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
  • 5,276
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
  • 5,276
1 vote

Adding cordova SalesforceMobileSDK Plugin is failing using forcehybrid

I had to change the sudo config and then I referenced this for my pod errors after https://stackoverflow.com/questions/65403551/pod-install-failed-on-macos-big-sur
Oscar Thipp's user avatar
1 vote

Looking for ways to implement the migrateBU gist given by salesforce for MobilePushSDK

Your use-case is not supported. The gist is intended to migrate customers between BUs but it is not supported to have a single customer registered in 2 different BUs at the same time. This might ...
Bill Mote's user avatar
  • 5,276
1 vote

Location enabled is always false in salesforce android SDK

Please see the documentation regarding Geofence Messaging. You must enable the feature during SDK initialization which also requires that you add some manifest entries, a location dependency and ask ...
Bill Mote's user avatar
  • 5,276
1 vote
Accepted

Android Mobile Push via MarketingCloudSDK not received

The issue was I implemented the notification handler, FirebaseMessagingService. So I had to implement the MarketingCloud handler within onMessageReceived if(PushMessageManager.isMarketingCloudPush(...
ordinaryman09's user avatar
1 vote

Displaying in-app mobile push messages while app is in active use

Yes! Any time a message is to be presented to the user you have the ability to implement an interface, capture the messageId and tell the SDK to show it at an appropriate time. Android IAM Docs and ...
Bill Mote's user avatar
  • 5,276
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
  • 5,276
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
  • 941
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

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

Salesforce Mobile SKD Gradle Build Error, Android Native App Example forcedroid trailhead

Replaced forcedroid created code from the C:..\TrailAndroidApps\build.gradle file: buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2....
zan_li's user avatar
  • 31
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
  • 941
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
  • 941

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