Skip to main content

Questions tagged [salesforce-sdk-android]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
94 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 ...
shubham_ag's user avatar
1 vote
0 answers
163 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 ...
Cüneyt Aliustaoğlu's user avatar
0 votes
0 answers
106 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 ...
Arpit Patel's user avatar
0 votes
1 answer
125 views

InApp message appears unexpectedly when opening the app

So, we have implemented delayed displaying of InApp messages. It is done pretty much the way it is shown in documentation, inside Application class onCreate(): private suspend fun initSalesforce() { ...
Aleksey Chernyshev's user avatar
0 votes
0 answers
100 views

forcehybrid create error

friends! I am going throuh the trail "Develop with Mobile SDK". I installed Android Studio and a bunch of Android SDKs: I have set ANDROID_HOME to C:\Users\%USER%\AppData\Local\Android\Sdk. ...
Vladimir Egikyan's user avatar
0 votes
0 answers
189 views

Salesforce push notifications not triggering in-app event listeners on Android

We are sending our push notifications from Salesforce Marketing Cloud Mobile Push and they are being delivered to both Android and iOS. We are also listening in on those push notifications inside our ...
Jrmin's user avatar
  • 1
1 vote
1 answer
105 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
1 answer
179 views

SFMCsdk Notification do nothing after app got killed. In onCreate method of Application class. Android

To init an SFMCsdk we need some data for initialization. We are getting required data from our API covered with RxJava. So, when request is made, and data is received then initialization is finished ...
Vad's user avatar
  • 1
2 votes
1 answer
204 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
  • 43
0 votes
0 answers
184 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
230 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
1 vote
0 answers
186 views

AbstractMethodError PushModuleReadyListener.ready

I migrated sdk to 8.0.7 (compile sdk 31) and all works good if I launch my app in Android Studio: I see notifications, no any problems. But the app which was built in Bitrise pipeline gets crashes. I ...
Alexey Simchenko's user avatar
0 votes
1 answer
309 views

In the Android sdk 8.0.7, is notification permission sent to the server whenever the application goes to foreground?

The app was previously using 8.0.4, and this time going to update it to 8.0.7. And as a result of checking the log, whenever change the notification permission of the app and bring the application to ...
amagasa's user avatar
0 votes
1 answer
142 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
750 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
0 answers
508 views

Debug push error using SFMC SDK

I'm testing to send push notification from SFMC to mobile app using the app configured in MobilePush with FCM server key and APNS p8 Auth Key set. I sent a test push notification using Mobile Push: ...
Ron Ip's user avatar
  • 11
2 votes
1 answer
431 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
37 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
0 votes
0 answers
741 views

Is it possible to expose the "Items to Approve" on Salesforce Mobile App?

I found out that Items to Approve is only on Classic Experience on Salesforce : Is there a way to expose Items to Approve in Salesforce Mobile app (I'm using iOS) too? Right now, the only way I can ...
compski's user avatar
  • 1,352
0 votes
1 answer
249 views

How to properly integrate MobilePush with Objective-C?

I have an integration of MobilePush on my project (React-Native), but with the recent updates i had to update to the latest version of the SDK (8.0.4). But i getting some issues with it. For example, ...
gvNN's user avatar
  • 1
0 votes
1 answer
197 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
433 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
122 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
3 votes
1 answer
220 views

SF Chat Android SDK v4.2.2 (latest) still contains legacy support libraries

The latest available version of the SF Chat Android SDK (com.salesforce.service:chat-ui:4.2.2) has not been migrated to AndroidX yet (after 3 years). It still depends on: com.android.support:...
David Miguel's user avatar
1 vote
1 answer
999 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
0 votes
1 answer
657 views

Marketing Cloud SDK 8.0.3 crash

I'm using com.salesforce.marketingcloud:marketingcloudsdk:8.0.3 and I have the following crash in some devices: java.lang.IllegalStateException: at com.salesforce.marketingcloud.MarketingCloudSdk....
Rubén's user avatar
  • 47
1 vote
2 answers
455 views

SF Chat Android SDK v4.2.1 (latest) not compatible with Android 12

Steps: Setup an Android project with targetSdkVersion: 31 Include v4.2.1 of SF Chat Android SDK (latest available) implementation "com.salesforce.service:chat-ui::4.2.1" Run the app and ...
David Miguel's user avatar
1 vote
1 answer
923 views

MarketingCloud AndroidSDK 8.0.0 | Tapping notification does not launch the app on Android 12

Steps: Setup an Android project with targetSdkVersion 31 In the same project, include version v8.0.0 of MarketingCloud: implementation "com.salesforce.marketingcloud:marketingcloudsdk:8.0.0"...
virifi's user avatar
  • 13
0 votes
1 answer
1k views

Firebase gives error for duplicate classes with Marketing Cloud SDK

We are trying to integrate Marketing Cloud SDK for our android application.But while building the application its gives us error of duplicate files of firebase.We have already implemented firebase in ...
user104706's user avatar
3 votes
1 answer
1k views

Marketing cloud Android SDK 7.4.1 crashes when targeting Android 12

It appears SDK needs to be updated for Android 12: java.lang.IllegalArgumentException: my.app: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified ...
Matej Drobnič's user avatar
0 votes
1 answer
1k views

Could not resolve com.opentok.android.v3:opentok-android-sdk-v3:3.1.3

What went wrong: Could not determine the dependencies of task ':app:lintVitalPreProdFcmRelease'. Could not resolve all artifacts for configuration ':app:PreProdFcmDebugRuntimeClasspath'. Could not ...
Mahesh Geek's user avatar
1 vote
0 answers
48 views

Deeplinking needed for mobile app in salesforce

We are using salesforce customer community where we implemented custom login and custom change password screen. We are using android native mobile application with backend of salesforce customer ...
Vikas Menon's user avatar
0 votes
1 answer
434 views

Wrap LWC OSS App for Mobile

Is there a way to make an LWC "OSS" app obviously running on Node.js as a Mobile application? (i.e. Cordova). I see you can create an LWC Hybrid app running your "Salesforce" LWC ...
paul.payne's user avatar
0 votes
1 answer
1k views

Android Mobile Push via MarketingCloudSDK not received

I'm working on integrating MarketingCloudSDK on Android. It looks like everything is connecting properly and I see the devices registered. When sending push notifications, it said the message was ...
ordinaryman09's user avatar
2 votes
0 answers
38 views

Unable to search for published Knowledge articles in the Salesforce SDK on Android 10 (API 29)

we're using Salesforce Android SDK (version 224.0.0): https://github.com/forcedotcom/ServiceSDK-Android/releases And found out that text search through the knowledge articles doesn't work on Android ...
Stepan's user avatar
  • 21
0 votes
1 answer
159 views

Android - Marketing Cloud crash on Android 5 and 6

Sorry if I don't provide enough context, but I'm and iOS Developer and I'm posting this because my Android colleague is off for a few weeks 😅 We're getting this crash in our app, which has the ...
Tiago Bastos's user avatar
1 vote
0 answers
33 views

Unable to import Service SDK for Android [closed]

I am getting the below error when selecting build variants in example give in github https://github.com/forcedotcom/ServiceSDK-Android/tree/master/Examples/SnapinsSDKExample Unable to resolve ...
Madhan kumar I's user avatar
1 vote
0 answers
430 views

Gradle build error with Amazon S3 maven repository dependency

I am developing an open-source react native library that it's a wrapper for the Salesforce SDK chat. This library uses a Salesforce maven dependency that is hosted on an AWS S3 Bucket. The problem is ...
Lenoir Zamboni's user avatar
3 votes
0 answers
122 views

Firebase version of latest Salesforce Service SDK is outdated

We have noticed that latest Service SDK https://github.com/forcedotcom/ServiceSDK-Android/releases/tag/224.0.0 seems to still be using Firbase 17.3.0. Can anyone know when the Service SDK team will be ...
Loregge Kandt's user avatar
2 votes
0 answers
583 views

Forcing Push Message send to a specific Device ID in Journey Builder

After registering a push device in the All Contact List, a random GUID is assigned to the contact created for the device. And when a ContactKey is assigned to that Device ID, it gets assigned to a new ...
Zak Ben's user avatar
  • 463
2 votes
1 answer
123 views

Category Tracking with MarketingCloudSDK

The MarketingCloudSDK (iOS/Android) offers the method sfmc_trackPageView with an item parameter, but how would I track the category? It works in the Web SDK or API, this is about what I miss in the ...
Jerrot's user avatar
  • 133
1 vote
1 answer
122 views

Setting Data Privacy modes from Android MarketingCloud SDK

I need to be able to set one of 3 data protection modes from an Android client that uses the MarketingCloud SDK. I understand based on this that there is no way to do this via the SDK directly, and ...
mondakuwar's user avatar
0 votes
1 answer
583 views

Push Notification not working for android

I am working on an android project that utilizes the Salesforce Mobile SDK. I have recently implemented Push notification, this was working fine till Dec 19, 2019 firebase update. https://firebase....
Manish Kumar's user avatar
4 votes
3 answers
950 views

Salesforce update 6.x.x(Updating to FCM) :Failed to retrieve InstanceId from Firebase message,systemToken always null

I am in the process of updating to the latest Salesforce SDK 6.3.5(Also the same with 6.4.0,latest version) from our old sdk which used GCM. I have gone through the steps as mentioned below: https://...
Anupama VK's user avatar
0 votes
2 answers
730 views

Marketing Cloud SDK Implementation Not Working [closed]

I'm trying to implement the marketing cloud SDK on Android. Doing that, I need to set up firebase in my app. as written in the SDK implementation tutorial, the SDK works only with firebase-core ...
Omri Brandes's user avatar
0 votes
1 answer
876 views

Android - SalesForce marketing cloud SDK proguard issue

In native Android application, I have this release build crash, related to the SalesForce Marketing cloud SDK implementation: Fatal Exception: java.lang.IllegalAccessError: Method 'boolean com....
Stoycho Andreev's user avatar
1 vote
0 answers
943 views

SalesForce - The applicationId is not a valid UUID

I have implemented successfully the SF SDK (ver.6.2.2) on a native Android application and everything seems to be working until we decided to generate our release build. On the debug build we don't ...
Stoycho Andreev's user avatar
0 votes
1 answer
223 views

Android Switching Business Unit

i am facing the situation that inside my Android Application the user could switch between different Business Units. Inside the Documentation for iOS there is a part for switching between Business ...
Lars's user avatar
  • 113
1 vote
1 answer
137 views

Migrating from v5.6.2 to v6.1.0

Due to the April 11 deprecation of GCM client and the deprecation of SDK versions below 6.x.x of Mobile Marketing Cloud SDK, we're migrating our SDK versions. I'm having trouble implementing and ...
Anthony F's user avatar