Questions tagged [sfdcmobilesdk-android]

Salesforce Mobile SDK - Android deals with development of native and hybrid Android Mobile applications.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Implementation of PKCE with Salesforce Mobile SDK

I am looking into implementing the PKCE authorization flow using the Salesforce Mobile SDK with React Native. I know this is possible using REST API's, but I noticed that the SDK library has ...
user avatar
0 votes
1 answer
29 views

"Server Error - Can't connect to the server: unsupported URL" received on iOS mobile App

I'm not a programmer but Salesforce suggested I post this question here and hoping someone can point me in the right direction. We have the same iOS mobile app and Android app for our Experience Cloud,...
user avatar
1 vote
1 answer
48 views

Batch sync up - slow performance/performance improvement

Version of Mobile SDK Used: 9.2.1 Issue found in Native App or Hybrid App: Native App OS Version: All Device: All Steps to reproduce: syncUp We use SmartSync/SmartStore to sync offline data with ...
user avatar
  • 21
0 votes
0 answers
19 views

Post-Chat URL Page not displaying after end chat in Mobile App

We are implementing Post Chat Survey and Email feature for both Web and Mobile Chat customers using customer visualforce page - This funtionality is working fine for Web customers but not Mobile. ...
user avatar
0 votes
0 answers
9 views

Pass extraPrechatFormDetails from an android app to Salesforce

On Web we are passing data from the browser to Salesforce without creating any prechat using this Now we would like to achieve the same behavior on Mobile android and we tried using this doc https://...
user avatar
  • 281
1 vote
0 answers
36 views

Salesforce Mobile SDK React Native: Invoke Biometric/Pin Prompt after timeout in react native app

Mobile-SDK version: v10.0.0 Platform: android, iOS React Native: 0.67.1 We are developing a react native app using salesforce SDK and have a requirement where we want the user to enter his/her pin/...
user avatar
2 votes
1 answer
115 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 ...
user avatar
  • 23
0 votes
1 answer
38 views

In-app message doesn't show after migration to Hilt

After migration to Hilt (Activities and Workers), in-app messages stopped being displayed. As I can see from logs push message is getting delivered and PushMessageManager.handleMessage returns true. ...
user avatar
  • 11
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
19 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
13 views

Support for React Native on Android Mobile SDK ^ 8.0.0

Is there any deadline, or estimative, for a React Native plugin new version, using at least 8.x versions of the Android Marketing Cloud SDK (which supports Android API version 31)? https://salesforce-...
user avatar
2 votes
0 answers
30 views

Mobile App Event not triggering Journey

We have enabled mobile app events in our salesforce instance. We have followed all the required procedures to setup the events, creating and uploading a csv file, etc as shown below. Then we created a ...
user avatar
0 votes
0 answers
15 views

Issue facing in create smart store record in Salesforce Mobile SDK Version : 9.2.1 [duplicate]

Issue facing in create smart store record in Salesforce Mobile SDK Version : 9.2.1 Platform : Android Target Android SDK Version : 31 Programming language : Kotlin Here I want to create one record (in ...
user avatar
0 votes
0 answers
41 views

Update smart store record in Salesforce Mobile SDK Version

The issue we are facing is in: update smart store record in Salesforce Mobile SDK Version: 9.2.1 Platform: Android Target Android SDK Version: 31 Programming language: Kotlin Here I have one list of ...
user avatar
0 votes
0 answers
31 views

Community login customization capabilities for Salesforce Mobile SDK

The third party vendor is developing react native mobile apps with integration with iOS and Android SF Mobile SDKs. We are supporting this process from SF side. I have 2 questions. Our goal is to ...
user avatar
0 votes
0 answers
105 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
13 views

Can you connect two SF orgs to one Android mobile app using SDK?

We integrated a SF org to our Android mobile app using Embedded Service SDK for Live Agent Chat but we are now consilidating app users to one app, therefore need to connect some of the mobile app ...
user avatar
0 votes
0 answers
26 views

The redirection post login from the SFDC mobile sdk not working

We are using the Sales force mobile sdk for android(com.salesforce.mobilesdk:SalesforceSDK:8.+) and iOS(version 9.2.0). We are using the SDK for the login functionality to the native app. We have ...
user avatar
  • 5
0 votes
0 answers
11 views

Accessing Custom Lightning Force page on Mobile Browser

I am attempting to load a custom login page that we have created using the Aura framework. The login page loads correctly when using a desktop browser; however, we receive an "Unsupported Browser&...
user avatar
0 votes
1 answer
39 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
3 votes
1 answer
112 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 ...
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
54 views

Android Mobile SDK: blank screen after login when "Use the native browser for user authentication on Android" on the My Domain

We are developing a custom app built on top of mobile sdk (Android devices). We need to enable the flag "Use the native browser for user authentication on Android" on the My Domain page due to a ...
user avatar
0 votes
0 answers
103 views

Push notifications not received when using an existing contact on MarketingCloud

I'm working on integrating MarketingCloudSDK on Android. Everything is doing well with random contactKeys (that does not already exist in the MC contact list) : it is connecting properly, the devices ...
user avatar
  • 1
1 vote
1 answer
77 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 ...
user avatar
  • 21
0 votes
0 answers
21 views

Some users in India using the mobile app had a error Could not refresh token

Some users in India using the mobile app had a error Could not refresh token, while the mobile developer use the same account in China didn't have this at all. is there anybody here encountered this ...
user avatar
1 vote
1 answer
165 views

looking for android 12 support

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a Pending Intent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if ...
user avatar
  • 11
0 votes
0 answers
172 views

Push notifications not delivered on Android Device

We have developed a React Native mobile app. For multiple updates in Salesforce, we are sending push notifications on this mobile app from apex with the help of standard "PushNotification" ...
user avatar
0 votes
0 answers
13 views

How can I fill the "Email Address" field of System Data using MobilePush SDK

This is the JSON that I am using but I cannot refer to the email address field. The email field was created in mobile demographics and if the user's email is saved but it is not saved in the system ...
user avatar
0 votes
1 answer
104 views

How to skip pre-chat page when use chatUserData method to pass field

I am working on Embedded Service SDK for Android. I want to pass some field values to agent before chat, but I don't want to popup a pre-chat page, because all field value passed to agent is by ...
user avatar
0 votes
0 answers
82 views

Bridge mobile app session with native app's salesforce web view session

We are showing some salesforce HTML content(some images/video links to salesforce files) in native mobile app's web view. After a certain period of time, mobile app's access token is refreshed but web ...
user avatar
0 votes
0 answers
37 views

MoblieSDK 8.1.0 for Android in target API level 30

About MobileSDK 8.1.0(for Android) (1) What is the impact of changing the target SDK version from 29 to 30? (2) If (1) is affected, can the new SDK run on Android 6 ~ Android 12? (3) If I want to use ...
user avatar
0 votes
1 answer
27 views

How to get the message field in android

I am new to SFMC, and currently learning. I am trying to show push notification messages in app. So far I am able to map most fields received as NotificationMessage but I couldn't find the message ...
user avatar
0 votes
1 answer
54 views

In-App Message Crashing after receiving the message [closed]

It's implemented the same way the documentation requires, but it thrown a message when it tries to display the message. E: FATAL EXCEPTION: main Process: com.my.customer, PID: 3841 java.lang....
user avatar
1 vote
1 answer
219 views

Mobile Marketing Cloud SDK has dependency on outdated Firebase SDKs [closed]

on May 11th, Google has released a new version of Firebase Cloud Messaging SDK: 22.0.0 for Android -> https://firebase.google.com/support/release-notes/android#messaging_v22-0-0 8.0.0 for iOS ->...
user avatar
  • 11
0 votes
0 answers
11 views

Salesforce Android SDK Login page error details to be taken

I am using the Salesforce SDK for login to the Salesforce inside my android application, sometimes we are getting the issue in the salesforce page like "webpage not available" and client id ...
user avatar
0 votes
0 answers
42 views

Support for Universal Links / App Links in custom Mobile SDK Hybrid app

For a custom mobile app developed using the Mobile SDK which uses a Community Site with a custom Domain, can we support Universal Links (iOS) / App Links (Android)? Assume for example a Community ...
user avatar
0 votes
0 answers
35 views

Connection token for push notification get deleted from Salesforce

We have a hybrid app using Salesforce Mobile SDK (v8.0) where push notification is implemented as described in the docs here. The push notifications are received on the device. But the problem we have ...
user avatar
1 vote
1 answer
54 views

Adding cordova SalesforceMobileSDK Plugin is failing using forcehybrid

On A Mac, macOS Big Sur. Hello, when I run forcehybrid create for either IOS or Android both are failing at the command plugin add https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#v9.1....
user avatar
0 votes
2 answers
270 views

not able to create campaign record even I have crud PERMISSION

I want to create campaign record via script as new button was not there.But when i insert record it says Line: 1, Column: 20 Field is not writeable: Campaign.Name Even i am system admin .I have full ...
user avatar
0 votes
1 answer
348 views

Stage Picklist on Opportunity Not Shown by LWC

I am trying to show stage picklist values of opportunity object through lwc but iit shows error Invalid reference Opportunity.Stage of type sobjectField in file lwcPicklistOppor.js here is my code <...
user avatar
2 votes
0 answers
136 views

400 Bad Request for Salesforce Platform APIs in Android Version 6

We are facing an issue with our mobile application, we face issue(400 bad request) when calling Salesforce Platform API to get specific records of custom object(sObject Contact Association). And this ...
user avatar
0 votes
1 answer
39 views

Looking for ways to implement the migrateBU gist given by salesforce for MobilePushSDK

Questions I have about implementation When I import this method 'context' is not found and Im not sure I am setting it up properly. Will I be able to switch BU and register a contact for 2 BUs ...
user avatar
0 votes
1 answer
43 views

Location enabled is always false in salesforce android SDK

There is this variable I want to modify from my android code by default its false, when I print stacktrace of getSdkState() this is what I get in the logs. "location_Enabled":false MY GPS ...
user avatar
0 votes
0 answers
121 views

Salesforce to Azure AD named credential failing after access token expires

Sf azure:Refresh token exchange to renew access token process (not working) I am facing an issue where I have a named credential configured in Salesforce using auth provider (using openid connect for ...
user avatar
0 votes
1 answer
395 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 ...
user avatar
3 votes
0 answers
680 views

ContentVersion.VersionData or ContentDocument.LatestPublishedVersion.VersionData doesn't return the base64 body

We're using mobile SDK and want to retrieve the SOUP of ContentVersion bodies(VersionData) to be able to generate the images when our users are in offline mode. According to the documentation about ...
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
0 votes
1 answer
347 views

Alternate way to access lightning pages in the mobile browsers

We have build an app in which we have integrated the Sales Force mobile sdk for Android and iOS. We have integrated lightning pages in the app. Since the Mobile web experience is retired. Is there a ...
user avatar
  • 5
0 votes
0 answers
84 views

Contacts Exiting Journey at Decision Split

We have a journey that has an API Entry event, being feed contacts that reset their password on our website. The journey is supposed to send an email and push notification to our end users depending ...
user avatar