Questions tagged [sfdcmobilesdk-android]

Salesforce Mobile SDK - Android deals with development of native and hybrid Android Mobile applications.

Filter by
Sorted by
Tagged with
1 vote
0 answers
36 views

Over 59k of Android push subscribers were opted out overnight

I hope you can help if not with a solution, at least with some direction. Last night, over 59k of our previously opted in Android mobile subscribers were opted out in mass in Marketing Cloud with a &...
Jo93's user avatar
  • 27
1 vote
1 answer
34 views

Android SDK: APP_FOREGROUNDED and APP_BACKGROUNDED behaviors is never triggered

So, I have implemented SFMCSDK inside Application onCreate() the way it is written in a documentation, also aligned code with sample projects and another project where functionality works as expected. ...
Aleksey Chernyshev's user avatar
0 votes
0 answers
50 views

iOS and Android apps show up as Opted out after contact key registration

Install the app (our app is has delayed regitration true) Login to the app Upon successful registration when contact key is created, the default status of the contact/device is "Not Opted In"...
voapp's user avatar
  • 1
0 votes
0 answers
51 views

SFMCSdk doesn’t display notifications on Android 12

We implement SFMCSdk v8.0.9 in our Android app in order to send push notifications to our customers. We implement the case with using multiple SDK: class MessagingService : FirebaseMessagingService() {...
Iasen Hristozov's user avatar
5 votes
0 answers
73 views

How to debug the salesforce app on iphone?

I'm working on optimizing some custom lighning components for mobile use. On an android phone those components are rendered fine by the saleforce app, but if I open up the same components in the ...
Fin-luca Spiers's user avatar
0 votes
1 answer
56 views

Android - SalesForce marketing cloud SDK proguard/dexguard issue

I'm having a problem receiving callbacks from push notifications: when i'm in the production environment and with dexguard enabled. Fatal Exception: java.lang.NoSuchMethodError: No direct method <...
Thiago Filadelfo's user avatar
0 votes
1 answer
81 views

Remote message is received but not able to display push notification to user

On verifying salesforce SDK logs, we understood that when we set an anonymous subscriber key to the salesforce SDK profile ID, we received push notifications with the valid SDK log status response ...
Deepika Ch's user avatar
0 votes
2 answers
181 views

Mobile push using one Mobile App and Multi Org/multiple BUs

We have the following structure: Parent BU 1.1 Child BU A - connected to SFCRM Org 1 1.2 Child BU B - connected to SFCRM Org 2 We want to develop a Mobile App and push notifications to the relevant ...
yoni349's user avatar
  • 81
0 votes
0 answers
42 views

log-in / log-out / log-in SDK mobile push: duplicated contacts

Im dealing with the following use case and I would like to know what does in happens in the All contacts table. I have Delay registration: false User X install the App without doing the log-in User ...
Sofia's user avatar
  • 1
0 votes
1 answer
142 views

Multiple users and one device, logged in/logged out use cases for contact key registration

Im dealing with the following use case for 3 different users on a single shared device: User A installs the app and logs into the app User A logs out User B starts using the app in guest mode without ...
SFguy's user avatar
  • 1
0 votes
1 answer
70 views

How to set location enabled in SFMCSdkModuleConfig

I want to set localization as enabled when initializing the SFMCSdkModuleConfig. So, I am looking for the equivalent to setLocationEnabled in the iOS SDK: https://salesforce-marketingcloud.github.io/...
27omotep's user avatar
0 votes
1 answer
42 views

Custom attributes are not reflected on the salesforce side

there was no such problem before, but after 1 month, custom attributes are not reflected on the salesforce side for newly created users. I am using version 8.0.8 of sdk ~!EventManager D (...
Rıdvan Özcan's user avatar
0 votes
0 answers
83 views

Mobile app React native upgrade failing due to incompatible SDK react native version

Base on the link here: https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk We are using Salesforce marketing cloud for our mobile app development team needs to upgrade react ...
zeus0890's user avatar
1 vote
1 answer
78 views

Mobile Push QUESTION - Contact Key

My DEV app team is making a change to the app so that unknown contacts will not be included in MC's all contact. This is done via the function setDelayRegistrationUntilContactKeyIsSet(true). How can ...
Giulia Orru IT's user avatar
1 vote
1 answer
92 views

Marketing Cloud - Access all in-app messages (modal) in a device

A) I sent 5 in-app messages using Journey Builder and I would like to have access to all of their objects at once. Is there a way to do that? Currently, I'm using setInAppMessageListener which is only ...
Matt's user avatar
  • 33
0 votes
0 answers
197 views

Marketing cloud Mobile Push app connection

I'm currently connecting my client's app into MobilePush to send push notifications. I've added APNs.p8 Auth Key, Key ID, Team ID, Bundle ID. For both IOS & Android, it seems enabled as below. ...
Luna's user avatar
  • 21
0 votes
1 answer
174 views

In-app message not working SFMC SDk 8.0.7 android

My app is receiving push messages but is unable to receive in-app messages. I have implemented SFMC SDK from here. I have set delay registration until contactkey is set to true.Followed the salesforce ...
Zobaer Hossain's user avatar
2 votes
1 answer
322 views

VerifyError: Verifier rejected class com.salesforce.marketingcloud.config.a

I bumped version from SFMCSdk Android (8.0.5) to SFMCSdk Android (8.0.8) and started seeing this error message in my emulators on firebase cloud. I also see the same error locally on my emulators. ...
watts_up's user avatar
0 votes
0 answers
103 views

SalesforceMobileSDK-Android v10.2.0 crashing on Android 11 devices

The SalesforceMobileSDK-Android v10.2.0 is crashing on Android 11 devices with the below error message: Attempt to invoke virtual method 'java.lang.String com.salesforce.androidsdk.accounts....
Ankur's user avatar
  • 11
1 vote
0 answers
138 views

Error while receiving inapp message in android SDk 8.0.7

My app is receiving push messages but is unable to receive in-app messages. I have implemented everything from the documentation. https://salesforce-marketingcloud.github.io/MarketingCloudSDK-Android/...
Zobaer Hossain's user avatar
0 votes
2 answers
509 views

Send API Triggered MobilePush to mobile device using REST API [closed]

I am trying to send a Push notification to a sample android application which I created from Android Studio for testing. I Added my application in FireBase Console and getting my Device Token from ...
SFMC Learner's user avatar
0 votes
0 answers
132 views

Marketing Cloud Mobile SDK - issue with in-app messages

I am trying to implement the latest version of the Marketing Cloud Mobile SDK to start using In-app message and Inbox. I am facing some issues MarketingCloudSDK Version(3.6) -> In This Build Push ...
Filippa's user avatar
0 votes
1 answer
509 views

Marketing Cloud Push SDK Android - MC Notification arrives only in service class and does not display on device

I have an Android mobile app in which I have implemented Marketing Cloud Push SDK (https://salesforce-marketingcloud.github.io/MarketingCloudSDK-Android/, version 8.0.7) and Firebase Cloud Messaging (...
Gianluca Tessitore's user avatar
0 votes
2 answers
445 views

How to set accent color for Push icon in Android with react-native-marketingcloudsdk

I am using react-native-marketingcloudsdk library in my React native project, For android to set the default_notification_color I have tried both AndroidManifest.xml & firebase.json ways, but ...
rkaartikeyan's user avatar
0 votes
0 answers
55 views

Not able to compile the project with Salesforce Mobile SDK(version 8.0.0) for android

The current parent app in android is running on the Salesforce Mobile SDK with version 8.0.0(Gradle:'com.salesforce.mobilesdk:SalesforceSDK:8.0.0'). The sdk is throwing the below error during the ...
Andro's user avatar
  • 5
0 votes
1 answer
84 views

Multiple users single device - Mobile PUSH

I have a scenario, User A Logs out of the mobile app, and user B log-in the app using the same device. Then what will happen on the back end New Device ID will be created and assigned to User B or ...
Ex- SFMC's user avatar
0 votes
0 answers
59 views

Is there a way to include user info along with cart tracking?

I'm using the mobile (Android/IOS) SDKs to implement the Track Cart and Track Conversion methods as described in the doc, but it seems i'm missing a way to include some extra user info. From the ...
Nanoc's user avatar
  • 101
0 votes
1 answer
73 views

Android App is crashing after allow me screen during Login process

I am using mobile SDK v10.1.1 for logging into the salesforce credentials, I had successfully logged in and after that allow and cancel button is shown in the screen, I had clicked the allow and ...
Vinayak Khedkar's user avatar
2 votes
3 answers
517 views

Marketing Cloud SDK 8.0.5 registrationManager NullPointerException crash

Using Marketing Cloud SDK 8.0.5 I have this crash in some devices: Fatal Exception: java.lang.NullPointerException: Parameter specified as non-null is null: method com.salesforce.marketingcloud.i$a.a, ...
Rubén's user avatar
  • 47
1 vote
1 answer
1k views

Can't receive notification when the app is terminated on Android

I'm facing an issue I'm trying to integrate the Salesforce SDK into flutter and create a flutter plugin, so far everything is ok, only on android when the app is closed, I don't receive any ...
Ashkan Oliaie's user avatar
1 vote
0 answers
82 views

Crash happening in SDK (iOS/aOS)

My team and I are launching a new version of SFMC SDK. After launching SDK 3.1.0 version, we have recorded 106k times of flashbacks and errors all pointing to not enough memory (Cursor window ...
Acpapi's user avatar
  • 11
0 votes
2 answers
607 views

"Server Error - Can't connect to the server: unsupported URL" received on iOS mobile App

I'm not a programmer but Salesforce suggested I post this question here and hoping someone can point me in the right direction. We have the same iOS mobile app and Android app for our Experience Cloud,...
Ellen Henderson-Smith's user avatar
1 vote
1 answer
146 views

Batch sync up - slow performance/performance improvement

Version of Mobile SDK Used: 9.2.1 Issue found in Native App or Hybrid App: Native App OS Version: All Device: All Steps to reproduce: syncUp We use SmartSync/SmartStore to sync offline data with ...
PatrykK's user avatar
  • 21
1 vote
0 answers
122 views

Salesforce Mobile SDK React Native: Invoke Biometric/Pin Prompt after timeout in react native app

Mobile-SDK version: v10.0.0 Platform: android, iOS React Native: 0.67.1 We are developing a react native app using salesforce SDK and have a requirement where we want the user to enter his/her pin/...
Anurag Tiwari's user avatar
2 votes
1 answer
350 views

Marketing Cloud SDK 8.0.4 crashes

I’m using com.salesforce.marketingcloud:marketingcloudsdk:8.0.4 and I have noticed that two crashes are increased since February 15th, these crashes are not new but they have increased a lot since ...
Rubén's user avatar
  • 47
0 votes
1 answer
102 views

In-app message doesn't show after migration to Hilt

After migration to Hilt (Activities and Workers), in-app messages stopped being displayed. As I can see from logs push message is getting delivered and PushMessageManager.handleMessage returns true. ...
Roman's user avatar
  • 11
0 votes
1 answer
34 views

Android Mobile SDK v9.2.1 closes the App once the allow button is clicked after the login is done

I am using mobile SDK v9.2.1 for logging into the salesforce credentials, I had successfully logged in and after that allow and cancel button is shown in the screen, I had clicked the allow and taking ...
Dinagar N's user avatar
0 votes
0 answers
31 views

App is not 64 bit compliant after adding SF SDK

I am getting error in uploading the APK to managed playstore when SF SDK is updated, I had added the 9.2.1 SDK in android the error is as below
Dinagar N's user avatar
2 votes
0 answers
68 views

Mobile App Event not triggering Journey

We have enabled mobile app events in our salesforce instance. We have followed all the required procedures to setup the events, creating and uploading a csv file, etc as shown below. Then we created a ...
Victor Benetatos's user avatar
0 votes
1 answer
170 views

Calling setIdentity in SFMCSdkReadyListener crashes with UninitializedPropertyAccessException

I can share more information if needed. At the moment, I don't know what I need to share. The Library version is 8.0.4 Fatal Exception: kotlin.UninitializedPropertyAccessException: lateinit property ...
Sinan Kozak's user avatar
3 votes
1 answer
394 views

Fatal Exception in Marketing Cloud SDK (Android) - RejectedExecutionException

We are using Salesforce SDK 8.0.4. In the recent release, we have RejectedExecutionException. I am not sure if it is related but we started reconfiguring Salesforce when the user changes their ...
Sinan Kozak's user avatar
0 votes
1 answer
79 views

Send push message to Android without sound

just wondering am i able to send push notification to android device without notification sound? Like silent push or just without sound it doesn't matter. I don't see any documentation writing about ...
sfuser's user avatar
  • 25
0 votes
0 answers
627 views

Push notifications not received when using an existing contact on MarketingCloud

I'm working on integrating MarketingCloudSDK on Android. Everything is doing well with random contactKeys (that does not already exist in the MC contact list) : it is connecting properly, the devices ...
JSS's user avatar
  • 1
1 vote
1 answer
839 views

Second push notification message does not open

I encountered a problem where the app is closed completely, and I start the first notification it opens where it needs to open, but when I tap the second notification, nothing happens. Notification ...
sfuser's user avatar
  • 25
1 vote
1 answer
226 views

looking for android 12 support

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a Pending Intent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if ...
Vijay's user avatar
  • 11
0 votes
1 answer
277 views

How to skip pre-chat page when use chatUserData method to pass field

I am working on Embedded Service SDK for Android. I want to pass some field values to agent before chat, but I don't want to popup a pre-chat page, because all field value passed to agent is by ...
Jacktar Liu's user avatar
0 votes
1 answer
93 views

How to get the message field in android

I am new to SFMC, and currently learning. I am trying to show push notification messages in app. So far I am able to map most fields received as NotificationMessage but I couldn't find the message ...
Ahmed S. Durrani's user avatar
0 votes
1 answer
175 views

In-App Message Crashing after receiving the message [closed]

It's implemented the same way the documentation requires, but it thrown a message when it tries to display the message. E: FATAL EXCEPTION: main Process: com.my.customer, PID: 3841 java.lang....
Claudio's user avatar
1 vote
1 answer
361 views

Mobile Marketing Cloud SDK has dependency on outdated Firebase SDKs [closed]

on May 11th, Google has released a new version of Firebase Cloud Messaging SDK: 22.0.0 for Android -> https://firebase.google.com/support/release-notes/android#messaging_v22-0-0 8.0.0 for iOS ->...
PiotrW's user avatar
  • 11
0 votes
0 answers
118 views

Support for Universal Links / App Links in custom Mobile SDK Hybrid app

For a custom mobile app developed using the Mobile SDK which uses a Community Site with a custom Domain, can we support Universal Links (iOS) / App Links (Android)? Assume for example a Community ...
Julien Ouellet's user avatar