If you have more than 1 service declared in your application then there's a Google bug in their GcmReceiver which may be getting in your way. See https://salesforce.stackexchange.com/a/128740/16482 for details, but net-net-net, manually declare the ETPushReceiver in your manifest and ensure that it is the 1st service listed.
This is basically because how Salesforce1 is implemented on Android. The main UI is provided by the OS (a WebView component), so when you navigate to a normal URL in an app that is outside of Salesforce1's registered URL handlers, it will be routed to the default browser. You'll need to instead use an XMLHttpRequest to simulate the form submit, and depending ...
It looks like you're trying to replicate the standard Salesforce functionality. Take a look at this article:
In a few words, you can give access to a connected app via permission set to specific users. From the question description, it looks like this is what you actually need.
Also, you can ...
Two things are at play here.
First off, the fact that your title is arriving on the device with the apostrophe escaped is a bug in the Marketing Cloud UI that has been fixed, but not released.
Second thing is with regards to the Notification.Builder. The reason you're not seeing the title change when you use the setContentTitle method on the builder is ...
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/2012, this was considered safe and resulted in a repeatable, unique device identifier.
Since then, however, several device manufacturers and 3rd party ROM makers ...
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' before running this script.
Update - I see this issue was logged on the Mobile SDK repo and has been closed as an environmental ...
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 configuration and re-initialize with the new configuration.
There is no guarantee that the device will not still receive push messages from the previous ...
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 "learning application" (ref. https://github.com/salesforce-marketingcloud/MarketingCloudSDK-Android/blob/master/app/src/mpp/java/com/salesforce/marketingcloud/...
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 publishing the same major version update for all Firebase libraries at the same time.
The docs will be updated shortly to reflect the correct version.
According to the SDKState output you have multiple FCM messaging service classes registered in your manifest at a higher priority than the one used by the SDK. com.example.login.service.MyFirebaseMessagingService and io.smooch.core.FcmService.
If this is intentional then you need to follow the instructions for implementing multiple push providers in your ...
I get the same issue, you can fix the build by having
in your build.gradle file, or if you're running from Android Studio/etc put '-noverify' in your VM Args for the run config
unfortunately after solving this issue I then get the following when ...
Salesforce Mobile SDK v3 is available and it solves this problem. You need to upgrade forcedroid and other mobile sdk stuff via NPM to get that.
As shown in picture below, the login window now always shows the action bar and easy way to change server.
But ran into other issue, after upgrade on existing projects i.e.
"Uncaught module com.salesforce.plugin....