Questions tagged [salesforce-sdk-android]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
40 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 ...
0
votes
0answers
13 views

Is it possible to receive multiple push notifications when logged in multiple devices with the same user account?

We have an app built with Ionic. We use cordova-plugin-marketingcloudsdk to receive push notifications from the Salesforce Marketing Cloud. When multiple devices are logged with the same user, all the ...
1
vote
0answers
12 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
33 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 ...
2
votes
0answers
88 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 ...
0
votes
0answers
12 views

Uploading Files using Mobile SDK on Android not working

I am trying to using Mobile SDK to upload file and I'm logged in too (other services I tested are working fine), Now I am trying to upload files (specifically images in my case) as described here: ...
0
votes
0answers
14 views

How to get Knowledge search results from the community when using the standard UI for the Embedded Service SDK on Android 10

I am currently trying to access articles when inputting the article title into the default search icon on the standard Knowledge UI for the Embedded Services SDK for Android. The UI is initialised ...
0
votes
0answers
18 views

Android Mobile SDK - Is access token refresh handled by the SDK?

When logging in to an Android app using the mobile SDK, what happens when the access and/or refresh tokens expire? Do rest client calls begin to fail at that point? Or is there some kind of automatic ...
2
votes
0answers
56 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
37 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 ...
0
votes
0answers
71 views

Embedded Service SDK Android Pre-Chat form visible with only hidden fields provided

I have implemented live chat on Android using com.salesforce.service:chat-ui:4.1.0 SDK. The provided UI seems to show the Pre-Chat form, even when only providing hidden ChatUserData to the ...
1
vote
1answer
34 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
71 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....
0
votes
0answers
19 views

How to Fetch Report and Dashbored using Salesforce Mobile SDK

I am developing native android mobile application using Salesforce Mobile SDK. I Fetching the All Standard Object in android Mobile application. I also get the all report name and Folder name. That ...
4
votes
2answers
262 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
199 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
345 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
157 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
99 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
82 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
165 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
45 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
147 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
57 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
43 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
200 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
86 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
131 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
221 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
363 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
56 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
188 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
146 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
637 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
124 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
136 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
508 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
54 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
236 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
890 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
201 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
89 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
1answer
323 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 ...