Questions tagged [sfdcmobilesdk-android]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
623 views

Getting Push Notification multiple time

I have created Apex Trigger for inserting and updating Opportunity for android app. After login I am registering device for push notification and adding registration Id to MobilePushServiceDevice ...
1
vote
0answers
24 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 ...
1
vote
1answer
662 views

Salesforce Mobile SKD Gradle Build Error, Android Native App Example forcedroid trailhead

Cannot get Android Native app to run, following Salesforce Trailhead Mobile module here: Salesforce Android Mobile Walkthrough. I have installed Java SDK 1.8, and Android Studio 2.3. Using NPM version ...
2
votes
0answers
21 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
895 views

Is the device token returned from salesforce SDK in the registration process specifc to salesforce?

Is the device token returned from salesforce SDK in the registration process specifc to salesforce OR it’s the token generated from google or apple and salesforce just pass through the same token in ...
0
votes
1answer
36 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
38 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 ...
7
votes
1answer
2k views

Hybrid Remote App can never login again after a session timeout

I have a Hybrid Remote app built with Mobile SDK 3.1. I've created both an iOS and Android version of the app, and both exhibit the same behavior. To simplify the discussion below, I'll refer to the ...
0
votes
1answer
451 views

Hyperlink is not working in Salesforce community Android app

We have one community and Android app build on Salesforce mobile SDK. In That community, hyperlink is not triggering any action (not opening desired url ) in Android app but working fine in desktop ...
1
vote
0answers
21 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
70 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. ...
0
votes
1answer
414 views

Download of file in window.open popup

I am working on integrating third party application with Salesforce. As part of a use case, I am opening third party URL window popup using window.open() and hitting download file button present on ...
1
vote
1answer
444 views

Push notifications to an Android app since Google moved GCM to Firebase?

First the short version: has anyone managed to get push notifications from Salesforce working with an Android app, since Google moved Google Cloud Messaging into Firebase Cloud Messaging? A friend of ...
2
votes
0answers
89 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
13 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
1answer
79 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 ...
1
vote
1answer
329 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
54 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
0answers
33 views

After a successful login we are redirected to the community page instead of having access to the android app

we need to develop an android app that makes the connection to SF using the Mobile SDK. We follow all the steps indicated in the official guide but we are having problems, because after a successful ...
0
votes
0answers
19 views

Changes that impact Mobile SDK 5.3.0 behavior

I have a customer who is starting to get 'SSL Untrusted Certificate Authority' on their custom Android app developed using Salesforce Mobile SDK 5.3.0. They get this error upon clicking the '...
0
votes
1answer
125 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 ...
2
votes
1answer
173 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 ...
1
vote
1answer
137 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 ...
3
votes
1answer
6k views

Developer Edition: The REST API is not enabled for this Organization

I created a developer account here Followed Creating a Connected App on https://trailhead.salesforce.com/modules/mobile_sdk_native_android/units/mobilesdk_android_getting_started Cross checked if ...
0
votes
1answer
16 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
34 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 ...
0
votes
0answers
26 views

How to get Current Record Id, if my component is not running in Window Context in Lightning Component

I am using <lightning:tab/> to load Tabs in Tab set getting Current Record Id but not get in Component load in TabSet
3
votes
1answer
67 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 ...
2
votes
2answers
1k views

Customizing Login Page for Mobile SDK Hybrid Android App

I have a Hybrid Remote Android App built using Mobile SDK 3.1. It is configured to use a custom community login page (it is the only entry in res/xml/servers.xml). It's working fine, except for two ...
4
votes
2answers
291 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
1answer
46 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
0answers
32 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
2answers
219 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
97 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
100 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
24 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 ...
0
votes
3answers
369 views

Multi-Org Android Configuration Microsoft MDM Intune

I am trying to configure Intune MDM (Mobile Data Management) to push multiple instances of Salesforce in the app config. Intune provide a JSON configuration for Android for Works and a XML ...
0
votes
1answer
117 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
76 views

Salesforce Connected App using Salesforce Mobile SDK removed from Google Play Store due to webview spam policy

We have an issue where our app was removed from the Google Play Store noting a violation of the Salesforce's webview spam policy. Here is the full notification we received from Google Play Support: ...
1
vote
1answer
90 views

Can I Cancel a Mobile SDK Login?

I am working on mobile iOS and Android apps for our Community, and am using the Salesforce Mobile SDK to handle OAuth. We are using deferred login so that we can provide limited guest access to the ...
0
votes
1answer
27 views

Account is being logged in Account Settings in user's device (Android)

We have an application does not directly interact with the Android framework AccountManager in any way. The application authenticates with Salesforce by extending the provided OAuthWebviewHelper ...
1
vote
1answer
157 views

Contact not appearing on salesforce marketing cloud for Mobile Push

I have created marketing cloud android sdk bindings for xamarin. I have all the required information to configure sdk to my app. I have set custom contactKey but it's not showing on marketing cloud ...
1
vote
1answer
1k views

Push Notification not showing up when app is closed

i've implemented the SF Mobile Push SDK into my app and the Messages im sending from the SFMC are showing up when the App is in Foreground and Background. When i close the app (for example swipe it ...
0
votes
0answers
221 views

Send Push Notification From Salesforce to Ionic Mobile App

Is the standard salesforce push notification work for all hybrid platforms?. Do I need to use third party application like one signal or firebase for this?
1
vote
1answer
46 views

set width of left div relative to screen [closed]

I have created a lightning component which has the two div-left div & right div. <div class="float-left-area"> </div> <div class="float-right-area"> </div> CSS: .THIS....
3
votes
1answer
245 views

Salesforce Polymer Mobile UI on Android Chrome gives blank page

I saw this article Secure, Offline, Cross-Platform Apps with Salesforce Mobile SDK and Web Components and found it very interesting, when I try the sample application Heroku Hosted Version of the ...
0
votes
1answer
160 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 ...
1
vote
0answers
300 views

Push Notification send but not retrieved on android mobile [closed]

As I have added every code for push notification as per the document from mobile sdk for android in my app. In my developer org i got the message notification sent successfully but i didn't received ...
2
votes
0answers
59 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
0answers
518 views

Salesforce Marketing Cloud Mobile SDK with Firebase

Anyone of you have experience implementing Salesforce Marketing Cloud Mobile SDK with Firebase? We are using FCM and have tested Marketing Cloud Push SDK version 5.5.0 with Google Play Service SDK ...