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 [mobilesdk]

Salesforce Mobile SDK is an open-source suite of familiar technologies—like a REST API and OAuth 2.0—that you can use to build great mobile apps

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 ...
3
votes
1answer
237 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 ...
2
votes
1answer
31 views

Create Pre Chat Records (Person Account) using Live agent Mobile SDK

We are implementing the Live Agent functionality on both website and mobile applications. The pre chat form should search for the Person Account Email Address in Salesforce, If it does not exist, ...
2
votes
1answer
81 views

Hybrid Mobile App crash issue on iPad (iOS 12.1.1) - Due to synchronous network calls

PLATFORM AND VERSION iOS cordova v6.3.1, Salesforce Mobile SDK 4.2.0 Devices: App is built to install only on iPad devices. All iPad devices in the enterprise are enrolled under Apple’s Device ...
2
votes
1answer
87 views

SDK SmartStore Soup Limit

For a proof of concept using Salesforce Mobile SDK, one major requirement is to be load 50k records from Salesforce and store locally offline. After understanding the SmartStore function and ...
1
vote
1answer
144 views

Can I use a beacon to enter a Journey with my app?

I would like to know if I can enter my mobile app users into a journey when they enter the range of a beacon and/or geolocation. I know you can trigger a push notification via a beacon/geolocation ...
7
votes
0answers
242 views

Loading Static Resources When Accessing a Page WIth an OAuth Access Token

If you specify the 'web' scope for a connected app it's supposed to grant/provide access to Visualforce pages. I'm authenticating via the iOS mobile SDK and then attempting to use the access token I ...
7
votes
0answers
176 views

linker error in xcode on sample hybrid project build

I've tried building 2 of the sample projects into xcode generated via 'forceios create samples'. They both have 5 errors when I try to build the project. Here's an example of one: Apple Mach-O ...
7
votes
0answers
97 views

Salesforce Hybrid Android App

I have created hybrid android app with salesforce mobile sdk. However the lookup functionality of salesforce is not working. In the app if i click the Accounts lookup a new page is opened where i can ...
3
votes
0answers
33 views

How to create a Change Sets for multiple Soups to be able to rollback if sync fails

I want to have a distinct "success" value or a remote / local database rollback if sync of multiple soups using the the iOS Mobile SDK (SmartStore / SmartSync) fails. I'm able to identify my not ...
3
votes
0answers
238 views

smartsync offline query

I have a backbone collection model like this: // The TaskCollection Model app.models.TaskCollection = Force.SObjectCollection.extend({ model: app.models.Task, fieldlist: ["Id", "Subject", "Status", "...
2
votes
0answers
38 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 ...
2
votes
0answers
93 views

Hybrid Remote on Mobile SDK 5+: how to handle cordova.js on iOS?

I'm currently making the move from MobileSDK 4.x to 5.2 for a hybrid remote app with Android and iOS builds, and I need some help on using cordova.js on iOS. I'm observing that cordova.js is not ...
2
votes
0answers
184 views

How to delete a record from a non-queryable object

I'm trying to delete a record from MobilePushServiceDevice object. This object is not queryable, however, it is deletable. How can I delete a specific record from this object if I can't query it in ...
2
votes
0answers
318 views

I'm trying to perform the Trailhead Mibile SDK trail of creating a hybrid app but I get an error

When I run the command cordova build, I am getting an error. I added the versions to the manifest.xml file but that didn't see to have done anything. Can someone assist? Microsoft Windows [Version ...
2
votes
0answers
143 views

Hybrid Mobile app crashes on iOS 8.3

It seems that using SmartStore causes the app to freeze when installing an app for the first time, then a hard reset of the device is required. After that, the app seems to work fine. I experienced ...
2
votes
0answers
136 views

backbone.js in Salesforce1

I am starting to build some mobile samples in Salesforce1 using backbone.js I came across two js libraries - Backbone.Force https://github.com/pwalczyszyn/Backbone.Force this extends backbone.js ...
1
vote
0answers
13 views

SF Marketing Cloud connections with Xamarin

We are looking at integrating the MobilePush feature of the Marketing Cloud Mobile Studio into a new mobile app we will be building: https://help.salesforce.com/articleView?id=mc_mp_get_started.htm&...
1
vote
0answers
87 views

Mobile Push SDK Functionality

I would like to get some best practice with Mobile Push SDK and Contact Keys and making sure we don't create duplicate contacts in MC. The high level architecture looks like this: The issue that we ...
1
vote
0answers
95 views

Login with google in the Salesforce SDK in react native

We are building an application where we need to use the google login the login to salesforce. We have setup everything in our salesforce environment to enable this. When we do it with the browser it ...
1
vote
0answers
24 views

Mobile SDK: How to remove “Safari will open briefly” popup during Advanced Authentication

I'm working on a React Native app using Mobile SDK 6.2, but I believe my question would apply equally to a Native iOS app. I started the app from the "basic react native mobile" template. I've ...
1
vote
0answers
281 views

How to send push notifications to IOS devices via Firebase Cloud Messaging

I created a connected app with Push Messaging enabled and the "Android GCM" option selected for the Supported Push Platform. For the api key, I am using the legacy key of my Firebase Cloud Messaging (...
1
vote
0answers
240 views

Mobile push message in not getting delivered

I am trying to send mobile push through app in marketing cloud, however it is being delivered. It says it has been send however the send count is zero. I have implemented mobile push SDK in the ...
1
vote
0answers
785 views

Native iOS app. How to pass authorization token into Webview for a community users?

We created a simple iOS native app, which should allow users to login into SF once and then open Lightning community app in a Webview. For this purposes we have below steps: User launch the mobile ...
1
vote
0answers
251 views

How do I know if my Apple Push Services is correct?

I am using Salesforce Marketing Cloud to push notification by using Mobile Push SDK. Recently, I have to renew my Certificate for some reasons. I follow the instruction and create a Provisioning ...
1
vote
0answers
426 views

Mobile push for Android using exacttarget's SDK doesn't work

Please Help!! :-) I'm trying to send push notifications from exacttarget's portal mc.s7.exacttarget.com/cloud/#app/MobilePush/MobilePush/ and it doesn't seem to work at all. The device is not ...
1
vote
0answers
432 views

Uploading a file from mobile Andoid to force.com

I want to upload an image that I get from my camera mobile to force.com, but i have an error that i couldnt handle. Here is my code , if you have any ideas, please share. Thank you! private void ...
1
vote
0answers
54 views

Using Social Authentication with Mobile SDK

I have a hybrid mobile app that logs into a customer community. The Community has a custom login page the provides the sso links to 3 Auth Providers i've configured (FB, Google, LinkedIn). If the ...
1
vote
0answers
56 views

iOS Mobile SDK & CocoaPods Compiler Error

I've followed the instructions for adding the Salesforce Mobile SDK for iOS via CocoaPods (v. 0.36), but getting a compiler error, per the attached screenshots. Deployment target is iOS 8.1. What am ...
1
vote
0answers
656 views

405 Error when Trying to Create Task through Rest API

I am trying to create a Task object through a RestRequest in a Native Android App (RestRequest.getRequestForCreate). The Problem is that I am getting 405 error Method Not Allowed What am I doing ...
1
vote
0answers
25 views

PIN Management for mobile

We have developed a mobile app using your mobile sdk and are introducing the PIN feature. It's great that you've provided and OOB solution. However, I'm not clear on how to handle the "what ifs" ...
1
vote
0answers
59 views

No account of type android forcedroid shell project error

I used forcedroid create to create a shell android hybrid-local with smartstore app. After a few errors I had to add additional permissions to the android manifest. Now I'm getting an error no ...
1
vote
0answers
358 views

Is there a way to set the URL of the session timeout redirect?

I am playing around building a hybrid app that wraps the Salesforce1 UI in the Mobile SDK. It's a local app in that the first page of my app is a splash page that runs locally in iOS -- localhost[...
1
vote
0answers
139 views

Facing issue in running Hybrid android app - contact explorer salesforce demo app

i have followed the below steps and imported the contact explorer demo app provided in the salesforceSDK. Imported the SalesforceSDK in eclipse Imported the contact explorer app and add the ...
0
votes
0answers
11 views

Cannot login with de Salesforce Mobile SDK (Hybrid) en IOS

Description: The error we have with the Salesforce Mobile SDK (Hybrid) plugin in IOS is: Once we have logged in and given permission to the application through the Salesforce login, we try to perform ...
0
votes
0answers
20 views

iOS Push notifications have stopped working in Sandbox org

We have already raised this issue to the SDK Team but they passed us to SF Support and when we raised this to SF Support, they suggested to just post a question here as this is the fastest way to ...
0
votes
0answers
11 views

Forcereact compileDebugJavaWithJavac with react-native-image-picker

I am developing react-native app with Salesforce Mobile SDK using forcereact. I have a requirement to upload documents. To select/capture the document, I am trying to use react-native-image-picker. ...
0
votes
0answers
50 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....
0
votes
0answers
37 views

Hybrid Mobile SDK 6.2 App (iOS) - Open's Classic or Lightning Page inside a Login-View Container

PLATFORM AND VERSIONS iOS cordova v6.3.1, Salesforce Mobile Hybrid SDK 4.2.0 ​iOS cordova v8.0.0, Salesforce Mobile Hybrid SDK 6.2 DEVICES: App is built to install only on iPad devices. ...
0
votes
0answers
40 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
0answers
23 views

Lightning out in react-native app webview

I am trying to load lightning pages in react-native app webview throught lightningout.js and getting the below error Access to XMLHttpRequest at 'https://company.lightning.force.com/c/PP_Mobile....
0
votes
0answers
24 views

Mobile SDK - SyncUp of records with more than 25 childs

We have an Hybrid App using React Native and Salesforce mobile SDK, we are facing some issues when we need to do a SyncUp and one of the records that will be sync have more than 25 child records, like ...
0
votes
0answers
30 views

Salesforce Certificate Pinning

I have implemented Salesforce Mobile SDK in my Hybrid app (Ionic 3) for all the service call between my app and Salesforce. During the security testing, I am requested to implement the SSL Pinning. ...
0
votes
0answers
21 views

Deleting Connected App Impact

If I delete a Connected App which is associated with a hybrid Mobile App then will I be able to use the mobile app for login and API calls? I am able to successfully use the Mobile App (Login/API's/...
0
votes
0answers
62 views

Marketing Cloud Mobile push message creates new Inbox in Mobile App

When we trigger a message to download to the mobile app’s inbox on users’ mobile devices using Mobile Push from Marketing Cloud the messages are landing in a New Inbox in the mobile app. Can we link ...
0
votes
0answers
21 views

Creating user defined functions in SQLite using SalesforceMobileSDK-iOS

I am using SalesforceMobileSDK-iOS for building native iOS app that interact with the Salesforce platform. I need to create a user defined functions in SQLite database for example RemoveDiacritics. ...
0
votes
0answers
383 views

Redirect URL in Salesforce1

How can I pass parameters to a page using Salesforce1? In classic vforce, I use a controller that modifies the page ref but sends parameters. Can I do a simliar process using NavigateToURL(ref, [...
0
votes
0answers
359 views

Scroll not working on Salesforce1 App

I have the basic Account tab in my Salesforce tenant, but when i open this tab in my Salesforce 1 mobile app, i am unable to scroll to view all the details. Can anyone tell me how could i rectify ...
0
votes
0answers
88 views

Android hybrid_local App - Windows

I am trying to use the Salesforce MobileSDK to build the hybrid_local test app for Android. I am following the guides step by step but the app always fails at building. Has anyone ever succeeded in ...
0
votes
0answers
106 views

Encountering issues while running “AccountEditor” hybrid mobile app

I installed SalesforceSDK and tried running the sample hybrid app "Account Editor"(AccountEditor.html), it is throwing an error as "Error calling method on NPObject". A blank white screen occurs after ...