Questions tagged [salesforce-sdk-android]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
2answers
74 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
0answers
32 views

Fatal Crash in Marketing Cloud SDK (ANDROID) - RejectedExecutionException

We are frequently seeing a lot of this fatal crash in our production app. It's our highest crash (thousands of users) with our latest release. Is there any way we can work around this issue? ...
0
votes
2answers
78 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
0answers
13 views

How to change the server url in Salesforce Android SDK

I have created a sample project for Salesforce Mobile SDK using forcedroid, Agenda here is to authenticate user's of this application with my Custom salesforce domain. I have created my custom domain ...
0
votes
0answers
143 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
58 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
58 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
62 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
68 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
0answers
30 views

SalesforceSDK - How do I upload a file with FileRequests class

I am having trouble uploading a file from my custom android app. I am using the Salesforce SDK for android, and as I understand it, I need to use FileRequests.uploadFile to do that. So I am trying to ...
0
votes
1answer
41 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
94 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
47 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
37 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
154 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
77 views

HTML decode Marketing Cloud title

.setNotificationBuilder((context, notificationMessage) -> { NotificationCompat.Builder notificationBuilder = NotificationManager.setupNotificationBuilder(context, notificationMessage); ...
2
votes
1answer
54 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
111 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
177 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
260 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
54 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
145 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
76 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
138 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
166 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
591 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
111 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
133 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
496 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
52 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....
2
votes
0answers
234 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 { "...
0
votes
3answers
786 views

Robolectric unit tests fail with the same message using Exacttarget:4.0.4

This does not happen if I use any 3.5.x version, but it occurs on every 4.x version. Proguard changes have been made according to https://goo.gl/yMz3NL. All unit tests fail with the following message ...
1
vote
1answer
196 views

Empty push notification on install using Exacttarget:3.5.0 and android 5.0

I've successfully configured ET 3.5.0 in my app and have been able to send push notifications to the device from the ETMC as well. Unfortunately, there's an empty push notification on my device each ...
1
vote
0answers
85 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 ...
1
vote
0answers
299 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 ...
2
votes
2answers
1k views

How to Switch login server(sandbox/other) in Salesforce Hybrid Mobile SDK on Android device without hardware menu button?

Using Salesforce Hybrid Mobile SDK, I am able to OAuth easily to production on Android devices. I am trying to change login server to sandbox, which works fine on Android devices, where a hardware ...