2022 Developer Survey is open! Take survey.

Questions tagged [salesforce-sdk-android]

The tag has no usage guidance.

32 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
1 answer
87 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:...
user avatar
3 votes
0 answers
107 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 ...
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 ...
user avatar
  • 21
2 votes
0 answers
177 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 ...
user avatar
  • 413
2 votes
0 answers
74 views

Salesforce Android SDK - SyncDown creates two records of custom object

Below is the scenario which we are facing now. Any help would be highly appreciated. Step 1: Create account rest request Step 2: Request sent out and received by salesforce and record is created ...
user avatar
  • 21
2 votes
0 answers
281 views

Android Marketing Cloud SDK crashes randomly: MAC stored in civ does not match computed MAC

I'm using the Marketing Cloud SDK v5.4 for Android Push Notifications. My implementation is modeled completely after the sample code. On App start, the sdk initializes and I'm able to receive push ...
user avatar
2 votes
1 answer
303 views

Can't download Salesforce Snap-Ins SDK for Android from Maven

I am trying to follow this documentation I tried to install several features: 'com.salesforce. service:servicesdk:208.4.0' 'com.salesforce.service:chat-ui:1.1.1' 'com.salesforce.service:chat-core:1....
user avatar
2 votes
0 answers
247 views

The log out issue in Salesforce mobile SDK android - Hybrid

When we log out, redirected to login page, in that login page if we login again redirected to login page again. If we close and open the app again, logins with out asking for password { "...
user avatar
1 vote
0 answers
22 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: ...
user avatar
  • 11
1 vote
0 answers
32 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 ...
user avatar
1 vote
0 answers
130 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 ...
user avatar
1 vote
0 answers
409 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 ...
user avatar
1 vote
2 answers
51 views

Salesforce support for JB4A-SDK-Android v4.5.0

Does anyone know how long Salesforce will continue support for JB4A-SDK-Android v4.5.0? (Since currently the SDK is deprecated)
user avatar
1 vote
0 answers
60 views

Unable to run sample Salesforce contact explorer application in Cordova project in Visual Studio 2015

In visual studio 2015 When I try to run the sample Salesforce contactexplorer application , I got the following error: Here is my method: function onDeviceReady() { cordova.require("com....
user avatar
1 vote
0 answers
100 views

Run SalesforceSDKManager on button click

I’ve managed to make the whole integration working, but I wanna modify it according to our business process. I have been working on this for days now but I’m still nowhere near completion. Here’s the ...
user avatar
  • 11
1 vote
1 answer
349 views

Salesforce SDK is not opening login screen

I am new to salesforce i have to interface salesforce with my android app. I am following this tutorial Interfacing Salesforce with Android I have successfully created connected app on salesforce now ...
user avatar
  • 111
0 votes
0 answers
15 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 ...
user avatar
0 votes
0 answers
20 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
user avatar
0 votes
0 answers
36 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 ...
user avatar
  • 1,061
0 votes
0 answers
115 views

SFMC Android SDK: Migration from 7.x to 8.x - cannot initialise SDK by SFMCSdk.configure()

I'm encountering difficulties during the SDK migration from 7.x to 8.x. In 7.x SDK, I use MarketingCloudSdk.init() method to initialise, the SDK functions properly. MarketingCloudSdk.init(this,...
user avatar
  • 11
0 votes
0 answers
7 views

How to access a case record field in Android Service SDK

Before I launch the Salesforce chat using the embedded service SDK, I create a ChatEntity object and link to a field name called “CaseId” val caseEntityBuilder: ChatEntity.Builder = ChatEntity.Builder(...
user avatar
0 votes
1 answer
40 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 ...
user avatar
0 votes
1 answer
27 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 ...
user avatar
  • 21
0 votes
0 answers
9 views

Once you forcedroid create, how do you update it in the future? or do I use Dependencies instead?

I'd like to know how do I update the app in the future. I see that I can use com.salesforce.mobilesdk:SalesforceSDK:9.0.0, but when I "forcedroid create" it creates the app and download all ...
user avatar
0 votes
0 answers
23 views

Login flow is not working in a device with MDM installed

We are building a native android application which uses the SalesforceMobile SDK f and we have deferred login in the application. The application works fine on emulators and devices where MDM is not ...
user avatar
0 votes
1 answer
129 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 ...
user avatar
0 votes
1 answer
341 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....
user avatar
0 votes
1 answer
609 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....
user avatar
0 votes
1 answer
143 views

Delete a record from soup and salesforce Database

Im creating a Native android application which uses salesforce integration, Ive created a custom object on Salesforce and im able perform offline sync by using smartSync, the problem is im deleting a ...
user avatar
0 votes
0 answers
63 views

INVALID_SESSION_ID While Switching Users

I am using SalesforceSDK for Android in one of my apps. The issue I am facing is, I am not able to re-login as a different user after logging out. The code I am using for logout the current user is ...
user avatar
0 votes
1 answer
80 views

ETPushReceiver definition not found in AndroidManifest

I see the following ExactTarget initialization error in our crashlytics from user-devices: com.exacttarget.etpushsdk.ETPushReceiver definition not found in AndroidManifest.xml ~!ETPush_ERROR: ET ...
user avatar
0 votes
1 answer
139 views

Android SDK - Remote start page without requiring shouldAuthenticate?

I'm running into an issue with configuring the Salesforce SDK for Android. We have a Force.com site that does not require logging in to access (Guest User can open the Visualforce page). I'm trying ...
user avatar