Questions tagged [android]
Android is an operating system based on the Linux kernel, and designed primarily for touchscreen mobile devices such as smartphones and tablet computers.
231 questions
0 votes
0 answers
23 views
Unable to restore user session or receive push notifications when the app is completely closed
Description: We are experiencing a critical issue with Salesforce Mobile SDK version compatibility that affects push notification functionality. Current Setup: Marketing Cloud SDK: 9.0.+ (Push ...
0 votes
0 answers
61 views
Security vulnerability in marketingcloud android SDK
We are getting these issue from VAPT. Using implementation 'com.salesforce.marketingcloud:marketingcloudsdk:8.0.9' 1: App uses SQLite Database and execute raw SQL query. Untrusted user input in ...
0 votes
1 answer
50 views
SFMC SDK Android in app button tap tracking
This code below is hit when in app message having a button is tapped which opens a url. But this doesn't have the in app message details. setUrlHandler { context, url, urlSource -&...
0 votes
0 answers
30 views
Duplicate Records During Mobile SDK SyncUp with External ID in React Native
I'm using Salesforce Mobile SDK 12.2.0 in a React Native app and trying to sync up records using an External ID (Delivery_Id__c) to prevent duplicates. However, I'm still seeing duplicate records in ...
0 votes
1 answer
110 views
Android SFMC SDK push message action tracking
How can I track push notification events in Android, such as when a notification is received, tapped, or dismissed by the user? I need a listener or method to monitor these events so I can send ...
0 votes
0 answers
200 views
Fatal exception java.lang.IncompatibleClassChangeError with MarketingCloudSdk 8.1.5 for Android
I recently upgraded and Android app to compileSdk 34 and updated MarketingCloudSdk to 8.1.5 For some phones (eg. Galaxy Note 10) I have this exception at start up: Fatal Exception: java....
0 votes
0 answers
40 views
SFMCSDK Android Crash java.lang.NullPointerException:
Sometimes we receive crashes with : Fatal Exception: java.lang.NullPointerException Attempt to invoke virtual method 'int com.salesforce.marketingcloud.analytics.stats.b.d()' on a null object ...
0 votes
1 answer
159 views
Push notification interaction does not open app, rather opens a transparent window with "Notification Message" title
I am using multiple push sdks in my project. I have SF Auth SDK as well. I have configured SFMC properly and I can receive the notifications as well as the inbox messages, but when I interact with the ...
0 votes
1 answer
90 views
Salesforce SDK is sending events even with the analytics disabled
We are using 'MarketingCloudSDK' version '8.1.5' in our Android app, and we realized that even after disabling the analytics, the logs indicate that Salesforce is still sending events. We are ...
1 vote
0 answers
127 views
Android SDK: setProfileId not working
SDK Version: 8.1.5 implementation 'com.salesforce.marketingcloud:marketingcloudsdk:8.1.5' Issue: when setting the profileId the value is not synchronized with the SF backend. Furthermore, it seems ...
1 vote
1 answer
140 views
Enable/disable analytics for tracking push notifications after MarketingCloud SDK initialization? (Android)
MarketingCloud analytics for tracking push notifcations can be enabled by calling setAnalyticsEnabled(true) on the MarketingCloudConfig.builder() instance when initializing SFMCSdk, as explained here. ...
0 votes
0 answers
355 views
MarketingCloud AndroidSDK 8.1.5 | Tapping notification does not launch the app on Android 12 and up
I'm encountering an issue in our Android app where when notification is clicked, the app does not launch. We're using latest Library version 8.1.5 into project. Some key points from my findings: I ...
0 votes
1 answer
147 views
SFMCSdk Android - Request manager with status 429 too many requests
Android SDK RequestManager often logging with registration status "Too Many Requests - 429" Can someone explain what are the impacts of this in the registration process in Marketing Cloud? ...
1 vote
0 answers
273 views
MarketingCloudConfig doesn't exist in version 8.1.4
I am trying to implement Android SDK in my app using steps below. https://salesforce-marketingcloud.github.io/MarketingCloudSDK-Android/sdk-implementation/implement-sdk-google.html I have added maven ...
0 votes
0 answers
232 views
In App Messaging - UI sdk - crash on release build
I am new to Salesforce sdk. I am using In app messaging UI sdk to implement chat feature within app and it's working in debug build. When i run on release build it crash with attached stacks trace. I ...