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
0answers
40 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 ...
0
votes
0answers
21 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" ...
-1
votes
0answers
34 views

Salesforce SDK custom login page in native android app

We are building native mobile app using salesforce SDK for salesforce community. We are using oAuth for user authentication. The Oauth login always opens salesforce standard screen for login. We want ...
0
votes
0answers
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 ...
0
votes
1answer
34 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 ...
0
votes
0answers
50 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 ...
0
votes
0answers
34 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 ...
0
votes
1answer
21 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 ...
0
votes
1answer
33 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....
1
vote
1answer
87 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 ->...
0
votes
0answers
7 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 ...
0
votes
0answers
21 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 ...
0
votes
0answers
21 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 ...
1
vote
1answer
16 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....
0
votes
2answers
109 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 ...
0
votes
0answers
27 views

Lightning:input - max length attribute is not working in Android device

Below is the line of code for input element: <lightning:input type="text" aura:id="input1" label="{!$Label.c.Helptext}" maxlength ="20" value=&...
0
votes
1answer
109 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 <...
2
votes
0answers
70 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 ...
0
votes
0answers
36 views

Hide Navbar in Android

our mobile dev team needs to be able to hide the login navbar for a customer native Android app. The same can be achieved in IOS by following the following documentation - https://developer.salesforce....
0
votes
1answer
27 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 ...
0
votes
1answer
32 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 ...
0
votes
0answers
41 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 ...
0
votes
0answers
43 views

The redirection post the login from SFDC mobile SDK is not working

We are using com.salesforce.mobilesdk:SalesforceSDK:8.+ mobile sdk for android to use the login functionality in the native app. Post login the sdk is not redirecting back to the mobile app instead ...
0
votes
0answers
13 views

Salesforce Mobile SDK Error: ClientManager$AccountInfoNotFoundException

We used the Salesforce Mobile SDK (https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/intro.htm) to develop a hybrid app. Recently capture below error from Google Play: com....
0
votes
0answers
69 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
12 views

CURD operation using native salesforce Mobile SDK(Android)?

How to perform insert update,delete operation on salesforce records using native salesforce Mobile SDK(Android) ?
0
votes
1answer
174 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 ...
3
votes
0answers
418 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 ...
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
161 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 ...
0
votes
0answers
59 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 ...
1
vote
0answers
25 views

Information about Salesforce Mobile SDK

Every time, i try to run the 'forcehybrid create' command for building a hybrid app, the command fails as it tries to connect to GitHub and we have a restriction to access GitHub. Is there any way, ...
1
vote
1answer
116 views

Displaying in-app mobile push messages while app is in active use

Hi everyone I would like to know if there's a way to send mobile push in-app messages that will appear instantly in the app screen without the need for the user to close the app and reopen it again. ...
3
votes
0answers
99 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
1answer
141 views

In-App Messaging Auto Dismiss issue

In Android, we are observing that in-app messages, of type system full page or modal, are getting auto dismissed within a few seconds. In our understanding by doc, in-app msg feature is auto included ...
2
votes
2answers
96 views

How to link a new Contact/Case to an existing Account?

I'm using the Android SDK, Chat functionalities, currently I'm able to create a new Contact, Case and link those two. How can I link the created Contact/Case to an existing account? The following ...
0
votes
1answer
244 views

Any Marketing Cloud SDK Resource for Java (Not Kotlin) Code?

Hi Experts, Currently I am developing Marketing Cloud function from React Native using MC SDK, and want to implement custom push notification handling. However, documentation to set Url Handler ...
1
vote
1answer
268 views

How to Re-register Device to Marketing Cloud When Contacts Deleted

I want to ask if Marketing Cloud SDK (Android & iOS) is able to re-register mobile device to Contact in Marketing Cloud after contacts in MC are deleted? If yes, how should I modify the code? I ...
2
votes
1answer
402 views

Salesforce mobile automation- Appium does not identify individual elements in WebView

We are using Selenium and Appium to automate salesforce mobile app on mobile devices. On Android devices Appium is not able to identify individual elements within Webview, entire screen is identified ...
0
votes
1answer
17 views

hybrid remote app header is not getting hide

i am using hybrid remote app, and running it on android emulator. The app which is connected to sandbox does not have app header after login. same when used for production, it shows app header after ...
0
votes
1answer
42 views

Getting Authentication error logging in to communtity through hybrid remote app

i have created the hybrid remote application, when i login it gives a toast message saying 'error: Authentication error, please try again'. I am using android emulator to test it. Forcehybrid version ...
4
votes
2answers
458 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
43 views

How to implement android background services

we are currently implementing Beacons and Beacon zones into mobile studio. The services for IOs are running smoothly but Android keeps giving us a hard time. After a while, the devices do not receive ...
0
votes
1answer
69 views

Salesforce Marketing Cloud - MobilePush - Cordova Plugin Android integration Issue

I am trying to integrate Salesforce Marketing Cloud SDK with Android using Cordova Plugin. But I am getting gradle build issues. Below is the Error: ERROR: Unable to resolve dependency for ':app@...
0
votes
2answers
339 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
110 views

Native Android/iOS Authentication with Authenticated Site/Customer Portal

I am working on integrating a native android and iOS project into a Salesforce environment. We have successfully ran the forcedroid and forceios commands to get functioning projects and have been able ...
0
votes
0answers
135 views

Registration Manager sometimes null but SDK correct initialized

sometimes i receive a null pointer exception inside my app when i want to send some data with the registration manager to the SFMC. java.lang.NullPointerException: Attempt to invoke interface method '...
1
vote
0answers
28 views

Community vs Site URL

Most of the documentation around setting up the mobile SDK references utilizing the community URL. We currently use a Site rather than a community and have been trying to use that site url instead of ...
3
votes
1answer
91 views

Lightning components inside Salesforce Mobile SDK

I am pretty new to mobile Development, so i have started with this Trail and created hybrid_remote app. Everything works great as i could able to access the data trough VF page. Then I wanted to ...
0
votes
1answer
172 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 ...