4
votes
Accepted
JB4A-SDK-Android Device-Registration not working
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 ...
3
votes
Accepted
MobilePush fails to send push notification
Check the docs for Push Configuration Troubleshooting:
http://salesforce-marketingcloud.github.io/JB4A-SDK-Android/trouble-shooting/trouble-shooting-push-setup.html
One of the most common problems ...
3
votes
Accepted
Salesforce Marketing Cloud Android SDK Geofencing
Based on the information output in SDK State; please ensure you've added the dependency to your project: http://salesforce-marketingcloud.github.io/JB4A-SDK-Android/location/geolocation.html
3
votes
Accepted
Marketing cloud Android SDK 7.4.1 crashes when targeting Android 12
MarketingCloud Mobile Push SDK v8.0.0 has been released. This release includes support for Android 12.
2
votes
Accepted
How can I access to the Android camera directly from Salesforce 1
Ok Guys, I just saw that now with the last version of Salesforce1 v 10.0, and Android 6.0 the option to use the camera is available. I tried this in the same project without any code change.
2
votes
ReadyAimFire and the application class
Take a look at this learning app. In particular, pay attention to the dependencies in the app/build.gradle file and the <application> tag in the AndroidManifest.xml file.
Without any data ...
2
votes
How to login on saleforce using webview
By default, any Android app built using the Salesforce1 Android SDK uses a webview for login. I would recommend you install the SDK and look at one of the sample apps e.g. RestExplorer and post ...
2
votes
Accepted
Android Deep linking from ET Push Notification
The issue here is that once the SDK receives the Builder from your method it will also call Builder#setContentIntent which will override the Intent you originally set.
A workaround for you would be ...
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 ...
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/...
2
votes
Accepted
HTML decode Marketing Cloud title
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 ...
2
votes
Accepted
Crash in JourneyBuilder SDK
Unfortunately there is no workaround for this issue, however it has been corrected in version 5.3.x of the SDK.
The current release, as of 20171214, is v5.3.2.
2
votes
Accepted
On Android how to group notifications with Marketing Cloud SDK
Notification groups are not directly supported by the Marketing Cloud SDK, but you can implement the code necessary for them via the SDK's NotificationManager.NotificationBuilder. See http://...
2
votes
Accepted
SystemToken/PushToken null when setting MobileMarketingSdk on Android
After setting
MarketingCloudSdk.setLogListener(MCLogListener.AndroidLogListener())
I was able to see the exception, and found out that I was setting the senderId wrong within the initialization ...
2
votes
Accepted
Missing required properties: notificationCustomizationOptions error when using MC-Cordova-Plugin on Android
If the plugin is unable to find ic_notification in your Android application's resources then it will not set the NotificationCustomizationOptions in the MarketingCloudConfig.
If you haven't done so,...
2
votes
Android - Recieving all push notifications, not distinguished by TAG
There are 2-3 Tags set for an Android device by default: ALL and Android for non-debug builds and and additional Tag of DEBUG for debug builds.
Similarly, ALL, iOS and DEBUG will be set for iOS ...
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 ...
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 ...
2
votes
Accepted
Can we manually track that a notification was opened?
The Marketing Cloud Mobile Push SDKs support multiple push provider configurations. Take a look at the documentation for such https://salesforce-marketingcloud.github.io/MarketingCloudSDK-Android/...
2
votes
How to convert remotemessage to notificationmessage
You will have to parse rm.getData() into the notification elements, but this has nothing to do with Marketing Cloud. See https://github.com/firebase/quickstart-android/blob/master/messaging/app/src/...
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.
2
votes
Salesforce chatbot not rendering SLDS CSS StyleSheet on Android Webview, what is the wrong with Salesforce
Use the BaseChatMessage. Here is the reference
More Detail is given here.
Download the SLDS CSS. Then upload it to the Static Resources.
Then in the LWC component which extends the BaseChatMessage, ...
2
votes
How to Run and Debug Salesforce Mobile App on the desktop? (reloaded 3rd time and many years later...)
We implemented our own app, using React Native, without using the Salesforce SDKs. This has some pros and cons.
Some cons are that we do not support using Smart Stores (for offline) or Salesforce's ...
2
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 ...
2
votes
Accepted
How to disable LWC caching on a mobile app?
The only way to Clear App Cache Settings-->Advanced-->Clear Cached Data on mobile app and there is no easy or better way than this.
Here is an open idea to Clear cache option on page reload on ...
1
vote
Send Json data in the push notification (MarketingCloud)
You can add custom parameters to a push notification using Custom Keys functionnality
Allow custom keys in Mobile Push https://help.salesforce.com/articleView?id=mc_mp_custom_keys.htm&type=5
...
1
vote
Accepted
Crash in Marketing Cloud Mobile Push Android SDK v5.2.x When Targeting Android O (Oreo)
When targeting Android O (or higher) you must choose between one of two options for dealing with notification channels while initializing the SDK.
Option 1: Use the default channel configuration ...
1
vote
Accepted
Crash when using Marketing Cloud Mobile Push Android SDK v5.1.x and targeting Android O (Oreo)
Support for targeting Android O was not added to the Marketing Cloud SDK until version 5.2.0. Any attempts to use an older version of the SDK while targeting Android O will result in error you are ...
1
vote
Why is the Salesforce Snap Ins SDK for Android and iOS so huge?
Calculating the size of a framework on iOS isn’t straightforward, and the size of the binaries on disk do not reflect the end result that will impact your application.
These frameworks are “Universal”...
1
vote
Accepted
JourneyBuilder issues - beacon library excluded
Please add the following line to your proguard.cfg file if you're using v5.0.x of the SDK:
-dontwarn org.altbeacon.** // if you excluded the AltBeacon Library
-dontwarn com.google....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
android × 219marketing-cloud × 78
mobilepush-android × 48
sfdcmobilesdk-android × 43
salesforce-sdk-android × 31
mobilesdk × 28
mobilepush × 24
mobile × 22
salesforce1-app × 20
push-notification × 16
sdk × 13
journeybuilder × 11
ios × 11
visualforce × 10
lightning-aura-components × 9
salesforcemobilesdk-ios × 9
react-native × 7
push × 6
cordova × 6
force.com × 5
java × 5
bug × 4
notification × 4
react-native-marketingcloudsdk × 4
lightning × 3