Questions tagged [sfdcmobilesdk-android]
Salesforce Mobile SDK - Android deals with development of native and hybrid Android Mobile applications.
182 questions
0 votes
0 answers
30 views
Will Lightning Out 2.0 support a mobile application built using the Salesforce Mobile SDK?
We successfully rendered LWC components inside a web application using Lightning Out 2.0 and are now attempting to do the same within a mobile application built using the Salesforce Mobile SDK. ...
0 votes
1 answer
46 views
Does Marketing Cloud MobileSDK v9.0 work with Android 15 in China?
A similar question was asked 4 years ago... And it's time for refreshment... Currently, my customer would like to build another App with our MobileSDK to target end users in China (using Marketing ...
0 votes
0 answers
25 views
AbstractMethodError method "void com.salesforce.marketingcloud.sfmcsdk.modules.push.PushModuleReadyListener.ready
I migrated sdk to 8.0.9 (compile sdk 34) and all works good if I launch my app in Android Studio. But the app which was built in Bitrise pipeline gets crashes. I could reproduce this crash creating ...
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 ...
1 vote
1 answer
102 views
SFMC Push SDK - Registration Confirmation
Has anyone found a mechanism for confirming the push registration is actually successful in SFMC via the SDK or via App? As per the documentation - https://developer.salesforce.com/docs/marketing/...
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 ...
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 ...
0 votes
0 answers
68 views
AMPscript in Location Entry push keeps runs when opening the app
We created a location entry message that has an AMPscript code that basically updates a field in a Data Extension by adding 1 to the value of that field. We implemented this solution to count push ...
0 votes
0 answers
1k views
CMake Configuration Error When Integrating Salesforce with React Native Using react-native-screens
I'm working on integrating Salesforce into a React Native application and I've encountered a persistent CMake configuration error when using the react-native-screens library. I'm attempting to set up ...
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 ...
1 vote
0 answers
202 views
The Android Mobile Push SDK's getMessages method is not giving older messages in response
0 I'm using the SFMC Android Mobile Push SDK for Inbox messages in the Android app. I want to retrieve all inbox messages sent from the SFMC app dashboard and display them to the user. Currently, I'm ...
-1 votes
1 answer
81 views
Salesforce Mobile SDK - Hybrid App
For hybrid app development I am getting error in installing force hybrid saying sfdx version as lower but I have the most recent one. C:\Users\Darshan>forcehybrid version Missing tools Installed ...
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 ...
1 vote
0 answers
184 views
Fatal Exception: Receiver not registered: com.salesforce.marketingcloud.notifications.NotificationOpenActivity
I have experienced a serie of crashes with my Android app which use the MarketingCloudSDK. "Nearly all" (for now I see only Android 12+) the devices crashes, I suspect it occured when the ...
0 votes
1 answer
83 views
SFMCSdk (Android) crash when inboxMessageManager trying to connect already-closed SQLiteDatabase (get messages)
We have fresh android setup (target 34) with Jetpack Compose and in our Marketing Cloud-related repository instance inboxMessageManager is successfully initialised (code below) but when restart ...