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

2
votes
2answers
2k views

Use REST API to authenticate my customer community user login? Or bypass mobile SDK webview login page?

I'm a mobile app developer and my task is to develop mobile apps based on the existing website that uses salesforce. So, basically the same functionalities on the website to be used for native mobile ...
1
vote
1answer
128 views

Mobile SDK Hybrid Template - How do I change splash screen?

I am looking at the AccountEditor sample and although I have added a new splash screen image in my project, It is not refelecting on iPad. It works fine on iPhone though. What could be reason?
0
votes
1answer
56 views

AppExchange Security Review of Client

We are planning to release an offering to AppExchange. Our offering includes clients which interacts sfdc endpoints. However, the client does not interact with gzip encoding. Will it be an issue for ...
2
votes
2answers
205 views

nHaving Issues When Salesforce Mobile SDK 2.1 App Upgraded to Salesforce Mobile SDK 3.0 on iOS

We have a mobile application which has been developed using Salesforce Mobile SDK 2.1 and Backbone.JS (Smartstore + smartsync) on iOS platform and we recently, move it to Salesforce Mobile SDK 3.0. ...
4
votes
2answers
750 views

What is the best way to integrate data with native mobile apps?

I'm a mobile app developer. And my task is to develop mobile apps based on the existing website that uses salesforce. So, basically the same functionalities on the website to be used for native mobile ...
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 ...
4
votes
1answer
490 views

Mobile SDK - iOS Native App - How to Switch user while logging out

Can anyone tell me if it's possible to programmatically switch to another user while logging out of a native iOS app built using Mobile SDK? I'm currently doing a logout by doing [...
2
votes
1answer
293 views

Unable to open Mobile SDK 2.3 project in Android Studio

My Android Studio does not recognize any of the sample apps with Force.com Android SDK as a valid project. What steps do I need to take to open and run it there?
2
votes
1answer
122 views

Can't find the XIB File for RootViewController in Mobile SDK iOS Project

How do I modify the UI of my app. I see that there is no xib associated with RootViewController I am use Mobile SDK 3.0 for native iOS app.
3
votes
1answer
885 views

How to upload image in a native iOS app built using Mobile SDK

Does the Mobile SDK provide any methods which allow uploading an attachment (image) to Salesforce? I am using 3.0 iOS SDK and building a native app
3
votes
1answer
223 views

How will Salesforce's move to SHA-256 for certs impact Mobile SDK users?

Is Mobile SDK 3.0 compatible with the new SSL certificates coming out later this year? If not, what changes should be applied by iOS users of the Mobile SDK? EDIT: Thanks to Gaurav below for this ...
0
votes
2answers
215 views

Wiindows 8 app using Salesforce Mobile SDK

Can I use the salesforce mobile sdk to build windows 8 app?
1
vote
1answer
540 views

Custom Login Domain for SalesforceSDKManager

I'm trying to get my app to to redirect to my custom salesforce URL, instead of the default one. I can't seem to find a "login domain" option in the SalesforceSDKManager, like there was for the ...
4
votes
1answer
329 views

Mobile SDK Hybrid Apps - Local and Remote

When developing a hybrid app with the Mobile SDK, you need to specify whether it is a 'local' or 'remote'. Local apps use resources on the device, remote apps use resources on a remote server e.g. ...
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
1answer
473 views

Chatter Library for Angular.js/ Ionic for hybrid mobile app

I want to know if there is any open source library using Angular.js that i can use in my hybrid app for integrating Chatter functionality. From what I have seen so far, ngForce is not suitable for use ...
0
votes
1answer
115 views

iOS Mobile SDK 3.0 - App Crashes

I recently downloaded the latest iOS Mobile SDK. I'm seeing a recurring crash when the app comes to foreground. -[__NSCFString timeIntervalSinceReferenceDate]: unrecognized selector sent to instance ...
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 ...
0
votes
1answer
154 views

Hybrid Remote App with Offline storage

I am new to salesforce development and i want to deploy a hybrid remote application that can store the data when offline and den again update with the server once it is back online. I understand that ...
0
votes
1answer
231 views

Do I need MobileSDK 230 and Xcode6 to build a hybrid app for iOS8?

I have a hybrid app written using Xcode5.02 and Mobile SDK as of last November (DF13!) which installs fine on iOS6 and iOS7 devices. It won't install on iSO8 devices. I'm distributing it as an adhoc ...
1
vote
0answers
655 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" ...
0
votes
1answer
50 views

Updating Task in Native Mobile Applications

I am using this code to update a task through a RequestForUpdate in an Android Native App The onSuccess method is executed but It seems the field is not updated. Why? Map<String,...
1
vote
2answers
618 views

404 error when making SOSL queries from native mobile applications

I am developing a native android app using the mobile sdk. I am trying to make a search query like this RestRequest req = RestRequest.getRequestForSearch("v20.0", "FIND {"+searchString+"*} IN ALL ...
0
votes
1answer
2k views

unexpected response 404 on getRequestForSearch

I am developing a native android app using the mobile sdk. I am trying to make a search query like this RestRequest req = RestRequest.getRequestForSearch("v20.0", "Find '"+searchString+"*' IN ALL ...
0
votes
1answer
138 views

How to use getRequestForUpdate() in Mobile SDK

I can't find a detailed explanation in the Mobils SDK Development Guide about how to use the getRequestForUpdate() object. Is there any freely available tutorial about this?
0
votes
1answer
330 views

Salesforce SDK and iOS Background Fetch

I'm building a native iOS app which is using Salesforce SDK. I'm getting my data using SFRestApi like below. SFRestRequest *req = [[SFRestRequest alloc] init]; [req setDelegate:self]; [req ...
2
votes
2answers
1k views

Developing a Swift Salesforce1 app

I'm planning to develop a native iOS app using Swift on Salesforce1. Any sample code/ guidance which shows how to fire the Salesforce REST API and render the response on UI will be helpful.
1
vote
2answers
292 views

On click javascript in salesforce mobile does not render the custom button in mobile

I have a Details Page which has Delete button of type (Details Type Button) whose Content-Source is of type on click javascript enabled. But if i keep it on click javascript enabled the button does ...
1
vote
1answer
608 views

Hybrid Mobile app with Salesforce Mobile SDK

I have a couple questions about hybrid development using the Salesforce.com Mobile SDK: Can I mix javascript and Objective-c code? In a hybrid-local app can I render visualforce? Can native iOS apps ...
0
votes
0answers
358 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 ...
9
votes
1answer
2k views

Error in loading the iFrame in Salesforce 1 Platform:

Scenario : I have built desktop based Force.com platform and now i have enabled the Salesforce 1 Mobile app on my environment. Now if i try to load the same Desktop based Quote Detail page on Iphone ...
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", "...
1
vote
2answers
3k views

android hybrid app access-control-allow-origin error

I'm getting the following error when running my hyrbrid-remote app in the Android Emulator. Everything works fine in iOS. All of my resources are static resources in SF. 07-24 09:53:51.017: I/...
3
votes
1answer
114 views

Hybrid app technical strategy - where to source my refresh token

Background I'm developing a hybrid mobile app that wraps Salesforce1 UI (/one/one.app) of communities. My community uses SSO and Auth Providers to login a user against their home org Salesforce ...
1
vote
1answer
64 views

Smartsync with Sencha Touch

Can I use SmartSync framework with Sencha Touch? I am new to Sencha Touch framework. Please help! I am looking for some starter pack.
4
votes
3answers
501 views

how to distribute hybrid app outside appstore

I'm sure lots of users here have built apps using the Mobile SDK. How are you distributing them? I've built a hybrid-remote app to go with our managed package. I don't want the app to be available in ...
1
vote
2answers
279 views

Salesforce Mobile SDK Authentication flow issue

Created an android_hybrid Mobile app with Mobile SKD version 2.1 Added the remoteAccessConsumerKey at bootconfig.json as per my Connected App Update the oauthscope as "oauthScopes": ["api ...
3
votes
1answer
700 views

SmartStore SmartQuery mobile not working

I am working on a javascript hybrid App. I have a soup declared with along with the model collection: // The Collection Model app.models.SerieCollection = Force.SObjectCollection.extend({ model: ...
2
votes
1answer
670 views

can the mobile SDK (hybrid apps) run in background?

Is it possible using the Mobile SDK (specifically hybrid apps) to continue to run in the background? I believe there are cordova plugins for this but will they work with the Mobile SDK?
3
votes
2answers
648 views

how to know when connection restored in offline hybrid-remote app

I have a hybrid-remote app that's using javascript remoting and offline storage using SmartStore. I had considered using SmartSync or StoreCache to make my life easier but its my understanding they ...
6
votes
2answers
382 views

Salesforce Mobile SDK - refresh token validity period

Is there any document or reference about the validity period of refreshtoken of Mobile SDK? I have a hybrid local app and if I let the app to be idle for a while and use back, it's failing with the ...
1
vote
1answer
145 views

Is it possible to find a group of records in Smartstore (Mobile SDK)?

I'm trying to determine if an array of records exist in the Smartstore based on their Name. Ex. I have 'John', 'Bill', 'Frank' in the Smartstore and want to know if 'Bill' and 'Al' exist in one ...
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 ...
1
vote
1answer
183 views

Mobile SDK - whitelist URLs cordova 2.3.0

I need to download some files with cordova with the mobile SDK. Apparently I need to allow the remote origin to download the file because I keep on getting http status 401 when I use the FileTrasnfer. ...
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
2answers
80 views

Trouble with Android hybrid_local app Authentication

I'm developing Android hybrid_local app with the forcedroid sdk. I have two questions hope you can kindly help me out. It's always asking to send verification code in the auth process which I need to ...
4
votes
2answers
275 views

How to distribute an app independent of salesforce org

When developing an app for Android or iOS, it seems mandatory to set up a connected app in your own org and use the key from it in the bootconfig.json file. This is all easily done when developing and ...
2
votes
2answers
168 views

Stability, Support and Security Consideration of Salesforce Mobile SDK

We are developing a hybrid_local mobile app for our salesforce customers using the Salesforce Mobile SDK. While doing this we are in the process of investigating some facts like stability and support ...
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[...