Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sfdcmobilesdk-android]

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

1
vote
1answer
31 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: ...
0
votes
1answer
22 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 ...
0
votes
0answers
26 views

Android SDK FileRequests appends incorrect base to path for “connect/files”

Salesforce SDK version: 7.0.0 API version: v42.0 Devices: only on all Androids I have some photo document IDs that I can verify exist. They are downloadable on iOS using the exact same strategy, ...
0
votes
0answers
16 views

Connection from Android mobile sdk to the Einstein Vision Services

i am looking for a way to send Rest-Requests to the Einstein Vision Rest-API via Android. The integrated RestRequest class somehow only supports Requests to the Salesforce Platform and doesn't let me ...
0
votes
0answers
12 views

Hyperlink is not triggering any action in 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 ...
0
votes
1answer
53 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
1answer
38 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
59 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
1answer
64 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
0answers
62 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
33 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....
1
vote
0answers
21 views

Address finder on custom field in SFDC lightning [closed]

How can I add a text field as Address Finder in Lightning component without installing Appdexchange - addressfinder
0
votes
1answer
79 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
37 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
187 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 ...
1
vote
0answers
254 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 ...
0
votes
1answer
48 views

Why Mobile push Attribute class is @RestrictTo({Scope.LIBRARY})

I'm trying to set a custom attribute into the marketing cloud mobile push SDK. The attribute class is abstract class but has a method that returns Attribute. @RestrictTo({Scope.LIBRARY}) public ...
1
vote
1answer
58 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 ...
1
vote
1answer
54 views

Duplicate entry AesCbcWithIntegrity$CipherTextIvMac.class

We have integrated the Marketing Cloud Android SDK (v. 5.3.2) using these instructions: http://salesforce-marketingcloud.github.io/JB4A-SDK-Android/sdk-implementation/implement-sdk-google.html When ...
1
vote
1answer
852 views

Tracking Push Notifications? [closed]

What kind of tracking measures are available for Mobile Push? Can you track opens/engagement? Can you measure how many sales were generated from a push notification?
2
votes
1answer
83 views

JB4A-SDK-Android 5.3.0 Attribute.Create(String, String)

I'm attempting to expand our basic implementation of the Marketing Cloud SDK in our Android app. We've successfully been using it to send push notifications, and are now adding some attributes so we ...
0
votes
1answer
185 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 ...
1
vote
1answer
343 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 ...
1
vote
1answer
200 views

MarketingCloudSdk.getRegistrationManager () method is not bringing the messages

I'm following the Journey Builder for Android Android SDK (Rich Push Inbox) tutorial https://salesforce-marketingcloud.github.io/JB4A-SDK-Android/rich-push/rich-push-inbox.html To get the cloudpage's ...
4
votes
2answers
328 views

Journey Builder for Apps Android SDK with firebase

I'm new to Android development and I'm trying hard to develop an app to get a push from salesforce marketingcloud. I've tried to follow some of this LearningAppAndroid procedures. But without result. ...
0
votes
1answer
221 views

How to call a apex rest service from salesforce mobile sdk-android?

I need to call apex rest service from salesforce mobile sdk-android. I can execute the soql query by calling RestRequest.getRequestForQuery() method. How to call apex service from RestRequest class?
0
votes
1answer
580 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
0answers
54 views

ETPUSH addAttributes not working

I'm using SDK in my android app, and I'm trying to set attributes (already created in MC) but MC never shows me value I set in my android app. etPush.addAttribute("MunicipioResidencia","...
0
votes
1answer
66 views

Creating hybrid local app in CMD using mobile SDK

I am trying to create hybrid_local app for which I have followed the following steps in Windows environment: Installed JDK Installed Android Studio 2 Installed Android SDK from Android Studio 2 ...
0
votes
1answer
168 views

Open visualforce page in a browser via sforce.one.navigateURL()

I am working on integrating third party application with Salesforce. As part of a use case, I am looking for opening a visualforce page using anchor tag in a browser from an Android mobile app - ...
0
votes
1answer
285 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
112 views

NullPointerException ETPush.getInstance Android SDK 4.9.2

We updated the com.exacttarget.etpushsdk:etsdk to version 4.9.2. After we released the new version of our App we see several NullPointerExceptions that are caused by the SDK. Fatal Exception: java....
1
vote
0answers
198 views

To use the smartsync to store the data in local soup android native SDK

Below is my code for creating the soup on locally and sync down and store the data in local soup. Below is my code calling onCreate method. Salesforce data is not syncdown. Can anyone help me for ...
1
vote
0answers
32 views

Where can I download the latest SDK (4.9.2)

In Github (salesforce-marketingcloud/JB4A-SDK-Android), I can only see etsdk-4.6.1.jar. In release history, the updated version is 4.9.2. How can I download the latest SDK, 4.9.2?
1
vote
1answer
151 views

MessageOpened not woring on Android and iOS 10

I have implemented Salesforce SDK on iOS & Android, the MessageOpened is ok after iOS 9 device received push notification. But it's not working with iOS 10 device & Anroid device. Any one has ...
1
vote
1answer
515 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 ...
1
vote
0answers
54 views

Android Mobile SDK: Adding/Fetching Contact Image

The PhotoUrl I get from the API is like this: /services/images/photo/0036F000024S6IMQA0 I tried accessing it by adding the API Url: https://ap4.salesforce.com/services/images/photo/...
2
votes
1answer
3k 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
157 views

Mobile SDK: The REST API is not enabled for this Organization

I created a trial account on Salesforce Developed an Android app using Trailhead: https://trailhead.salesforce.com/mobile_sdk_native_android/mobilesdk_android_getting_started When I try to login ...
2
votes
2answers
391 views

JB4A-SDK-Android Device-Registration not working using FCM (Firebase Cloud Messaging)

I have implemented JB4A-SDK-Android following the links below: salesforce-marketingcloud.github.io/JB4A-SDK-Android/sdk-implementation/implement-sdk-google.html salesforce-marketingcloud.github.io/...
1
vote
2answers
286 views

“Trailhead Native Android” “forcedroid create failed Too many arguments.”

I'm trying to go through "Trailhead Native Android" and I'm getting stuck in the first chapter on "forcedroid create". the error I'm getting from the command line is "forcedroid create failed Command ...
1
vote
0answers
103 views

Getting this crash on my crash reporting tool

Fatal Exception: java.lang.IllegalArgumentException: averageBytesPerChar is greater than maxBytesPerChar at java.nio.charset.CharsetEncoder.(CharsetEncoder.java) at java.nio.charset....
0
votes
0answers
51 views

Getting this crash in Salesforce MobilePush SDK

I'm getting the following fatal exception reported from the ET SDK, is there something I can do to avoid this happening? Fatal Exception: java.lang.NoSuchMethodError: Ljava/security/cert/...
2
votes
0answers
245 views

The Rest API is not enabled for this Organization

I signed up using: https://developer.salesforce.com/signup I read that developer account by default have API Enabled. And looks like it is actually enabled. Manage Users -> Profiles -> System ...
0
votes
2answers
47 views

Offline management Syncup in android

I am working on SmartSync for Android for Lead Object. I am able to sync down but nothing gets synced up. I am not seeing any errors, not sure what the issue is. Has anyone experienced this before? ...
1
vote
1answer
310 views

React Native Mobile SDK

I have followed the instructions to create a react_native sample app on this page Everything works, but what I am trying to understand is where does the oauth.authenticate() Store the tokens, and ...
0
votes
1answer
101 views

Getting started with Hybrid Mobile App Development on Salesforce - Unable to create an app using forcedroid create command

While following the 'Get Started With Hybrid Development' trail on TrailHead I am facing problem on step Create a Hybrid App - C:\Users\anand.gupta>forcedroid create Enter your application type (...
1
vote
0answers
38 views

ERROR Cordova Salesforce andoidSDK app

I successfully create application using command line. forcedroid create Enter your application type: hybrid_local Enter your application name: myApp Enter the target directory of your app : Provided ...
1
vote
1answer
482 views

ByPass Login in Salesforce SDK

I have to create one mobile application using Salesforce mobile SDK where user does not need to input the login credentials to access the data. For this the scenario I am thinking of that I can create ...
6
votes
1answer
740 views

Cannot create working Remote Hybrid Android app with Mobile SDK 4.1

I've been trying for days now to get a working Remote Hybrid Android app to build for Android using the current (4.1) build of the Salesforce Mobile SDK. I've made some progress (I think), but remain ...