Questions tagged [salesforce-sdk-android]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
21 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 ...
1
vote
1answer
33 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"...
0
votes
0answers
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 ...
0
votes
1answer
48 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 ...
2
votes
1answer
220 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 ...
0
votes
1answer
433 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 ...
1
vote
0answers
22 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 ...
0
votes
1answer
101 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 ...
0
votes
0answers
42 views

Delete Contacts with REST API in notebook

Basically I am trying to Delete Contacts with REST API in notebook using the contactId as it is stated in the documentation trailhead. My problem is that in output a syntaxt error in the POST, ...
0
votes
0answers
23 views

Sending Push messages to Android

This might sound like an Android coding issue, but I'd like to validate that what I'm doing in APEX is correct. I'm trying to send messages to an Android device through APEX using Messaging....
0
votes
0answers
24 views

MarktingCloudSDK configuration deleted contacts

My problem after deleting contacts from Marketing Cloud, the connection between the SDK and Marketing Cloud is lost. And the contact is not created again in the Marketing Cloud, after the application ...
0
votes
0answers
70 views

Salesforce Chat SDK performs abnormally in Android app

After integrating the Salesforce Chat SDK in my android application, I noticed that, after the chat was initiated, it behaves as a separate application rather than working inside my application. When ...
0
votes
0answers
17 views

Set landscape orientation for Salesforce chat window with Salesforce SDK for Android

My android application support Landscape orientation only. So I want to set the Salesforce chat window's orientation also to landscape only. Is there any option to set the orientation of the chat ...
0
votes
1answer
209 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 ...
2
votes
0answers
28 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 ...
0
votes
1answer
114 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 ...
1
vote
0answers
15 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 ...
1
vote
0answers
90 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 ...
3
votes
0answers
103 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 ...
2
votes
0answers
107 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 ...
2
votes
1answer
56 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 ...
1
vote
1answer
46 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 ...
0
votes
1answer
280 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....
4
votes
3answers
488 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://...
0
votes
2answers
361 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 ...
0
votes
1answer
532 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....
1
vote
0answers
295 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 ...
0
votes
1answer
176 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 ...
1
vote
1answer
94 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 ...
1
vote
1answer
223 views

Marketing Cloud PushSDK Attributes not updating

I'm implementing the Android PushSDK. I have the following code in my main activity: MarketingCloudSdk.requestSdk(sdk -> sdk.getRegistrationManager() .edit() .setContactKey("123456"...
0
votes
1answer
46 views

Restrict the user to get oAuth token from custom app in salesforce

we have an android app which is connected with Salesforce. From the Android app, we will pass the username and password to the salesforce to get oAuth token. I have created one checkbox field i.e. ...
0
votes
1answer
198 views

Android Redirect to URL (ADFS) issue

I am facing an issue while login with ADFS.Showing Blank Page in Android. Steps: Change Server -> Add Connection -> Added my custom salesforce server. then i can able to view the Login Page. In login ...
2
votes
0answers
67 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 ...
1
vote
2answers
44 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)
2
votes
0answers
249 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 ...
2
votes
1answer
96 views

HTML decode Marketing Cloud title

.setNotificationBuilder((context, notificationMessage) -> { NotificationCompat.Builder notificationBuilder = NotificationManager.setupNotificationBuilder(context, notificationMessage); ...
2
votes
1answer
62 views

Crash in JourneyBuilder SDK

We are seeing this crash happen quite frequently in our production application. IS there anyway we can work around this because as of right now, it is our highest crash with our latest release. We are ...
0
votes
1answer
142 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 ...
2
votes
1answer
254 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....
0
votes
1answer
476 views

Device IDs unique for every install?

We are in the process of upgrading the android salesforce marketing cloud SDK to v5.2.0 from v4.5.0 and we noticed that each time we uninstall and reinstall the app it gives a new device ID to that ...
0
votes
0answers
61 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 ...
3
votes
1answer
271 views

Cookies not getting sent Salesforce1

I am working on integrating third party application with Salesforce. As part of integration to the third party, we have an anchor tag( tag) on visualforce page that makes a POST call. The way we do ...
0
votes
1answer
77 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 ...
1
vote
1answer
148 views

JB4A-SDK-Android Device-Registration not working

I included the JB4A-SDK-Android SDK 4.4.1 like described in the documentation, but my device wont show up in the mobilepush marketing cloud. It seems that there is a problem with the device ...
1
vote
1answer
174 views

Exacttarget JB4A-SDK-Android Gradle Errors

i'm using this SDK in my app: http://salesforce-marketingcloud.github.io/JB4A-SDK-Android/ (Version: 4.4.1) After I included the SDK in my project I got alot of errors in the gradle console: AGPBI: {...
2
votes
0answers
646 views

Create custom Salesforce Login Page in iOS/Android while using the SDK [closed]

Currently when we use the salesforce SDK it opens up a default page from https://test.salesforce.com or https://login.salesforce.com The design of these two pages is of salesforce default login ...
0
votes
1answer
135 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 ...
1
vote
1answer
141 views

ETPush IllegalFormatConversionException when location not available

I am using the Android ExactTarget push SDK version 4.1.0 pulled through my gradle file. Whenever I try running the app when the user is only using GPS for location (not mobile networks), the app ...
1
vote
1answer
518 views

Not redirecting to Salesforce login page while opening the app

forcedroid version 4.0.0 cordova version 5.4.1 phonegap version 5.3.9 cordova platform version android 5.0.0 mac OS X Yosemite 10.10.5 I followed the below steps to create a new app, $ forcedroid ...
1
vote
0answers
55 views

Unable to run sample sales-force contact explorer application in Cordova project in Visual Studio 2015

In visual studio 2015 When I try to run the sample sales-force contactexplorer application , I got the following error: Here is my method: function onDeviceReady() { cordova.require("com.salesforce....