The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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

92 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
247 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
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 ...
7
votes
0answers
178 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
100 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
34 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
1answer
240 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 ...
3
votes
0answers
241 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
15 views

Exception in lightning component when loading on mobile app web view using lightningout.js

We have a custom mobile app where it loads the lightning components in hybrid web view through lightningout.js. we found an error message displayed in mobile webview for a component, it contains ...
2
votes
1answer
66 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
93 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
0answers
130 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 ...
2
votes
0answers
46 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
1answer
113 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 ...
2
votes
1answer
172 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 ...
2
votes
0answers
102 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
193 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
321 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
140 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
23 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 ...
1
vote
0answers
51 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 ...
1
vote
2answers
99 views

Mobile Push SDK Contact Key

Similar to this thread except we have used Salesforce Contact Id: Mobile Push SDK Functionality We are implementing MobilePush some time after the initial implementation of Sales Cloud and Marketing ...
1
vote
0answers
55 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
111 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
26 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
309 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
295 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
2answers
37 views

Salesforce support for JB4A-SDK-Android v4.5.0

Does anyone know how long Salesforce will continue support for JB4A-SDK-Android v4.5.0? (Since currently the SDK is deprecated)
1
vote
2answers
441 views

Marketing Cloud cordova plugin error can not enablePush - iOS

so i wanted to create a cordova hybrid app using SalesforceMobileSDK alongside MarketingCloud plugin for push notification. I've added SalesforceMobileSDK cordova plugin and so far it runs perfectly. ...
1
vote
0answers
1k 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
306 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
1answer
228 views

Salesforce Mobile SDK & iOS 11 Compatibility?

I know that iOS 11 is going to release soon. I have been searching the internet about this so that we aren't caught off guard with our iOS app that uses it but I haven't seen anything yet. Is anyone ...
1
vote
1answer
388 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
117 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
441 views

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

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 registered in the ...
1
vote
1answer
259 views

Hybrid Mobile Community App Setup

Trying to setup a hybrid_remote mobile ios app using the forceios and not able to bypass the login screen. Here is what I did: Step 1. forceios create Enter your application type (native, ...
1
vote
0answers
445 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
58 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
692 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
26 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
359 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
28 views

Overriding Mobile SDK 7.3 login screen for React Native

we are doing a custom development of a mobile app connected to SF with a connected App. I was wondering if there's any way to override the default salesforce login screen that pops up and use a view ...
0
votes
0answers
20 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
0answers
9 views

Smartstore/Smartsync - Create related objects in hybrid apps

I've been reading about implementing related record sync and the documentation only provides information for iOS and Android apps. Is it possible to implement this in hybrid apps?
0
votes
0answers
23 views

Login information to the community environment is not saved on SalesforceMobileSDK

We developed iPAD application using SalesforceMobileSDK. forceios version   : 5.1.0 XCode : 8.3.3 development language:Swift3 As for log in to Salesfore Partner community, We ...
0
votes
0answers
8 views

Disable salesforce mobile react native sdk console logs

Is there a way to hide/disable the logs generated by the SDK ? These kind of logs: But I still want to keep my own console.logs. Thank you
0
votes
0answers
14 views

Salesforce SDK iOS shows incorrect queue position

We have implemented the Snap-ins SDK chat solution for our internal mobile app. When we go "Online for Live Agent" and there are no incoming chats (the chat queue is empty), Once we start the chat as ...