Questions tagged [salesforcemobilesdk-ios]

Salesforce Mobile SDK - iOS deals with development of mobile iOS applications (native AND hybrid) using Apple's X-Code (objective-c) object-oriented language

Filter by
Sorted by
Tagged with
-2
votes
1answer
375 views

How do I sync offline data with iOS native app?

iOS native app:: When I refresh remote data using SFSyncStateMergeModeOverwrite sync options the records previously downloaded, that have been deleted in Salesforce, are not removed from my local data....
1
vote
0answers
199 views

How to recover Hybrid Remote app from Bootstrap Error? (iOS)

When an iOS Hybrid Remote app built using the Salesforce Mobile SDK launches, if it cannot connect to the network, it will generate a "Bootstrap Error Page" like the one below: Although it doesn't ...
0
votes
1answer
290 views

Is it possible to log in as another user using OAuth / MobileSDK?

I see from the following help page that it is possible to login as another user when in the Salesforce Web UI. Salesforce help page: Logging in as another user However I'm developing a mobile app ...
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 ...
0
votes
1answer
1k views

Cannot upload Apple Push Certificate

I'm trying to configure a connected app to send push notifications, following the instructions in Salesforce Mobile Push Notifications Implementation Guide. From the docs: In the iOS Developer ...
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
133 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?
2
votes
2answers
210 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
811 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 ...
0
votes
1answer
92 views

Salesforce OAuth and SalesforceSDK from Forcepad

Does anyone here have this particular Salesforce OAuth and SalesforceSDK from Forcepad? https://github.com/ForceDotComLabs/ForcePad/tree/master/Accounts/util/iOS-SDK I want to support arm64 for ...
4
votes
1answer
545 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 [...
6
votes
1answer
481 views

Mobile SDK 3.x - Cordova Bug - Dialer Returns error for hybrid apps

I've come across a fairly serious issue which relates to Mobile SDK 3.x - While it was good to move to Cordova 3.7, it introduces a rather unwanted bug which is also mentioned on other Stackoverflow ...
0
votes
1answer
575 views

Home screen icons not working IOS 8

I have a web app with a visualforce home page that contains the following code: <apex:page controller="Ctrl_StoreHome" showheader="false" sidebar="false" standardStylesheets="false"> <head&...
2
votes
1answer
125 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
973 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
1
vote
1answer
75 views

Private AppExchange distributes ios Apps

Has anyone successfully install an IOS app that is uploaded to a private AppExchange from Salesforce1 app? The "install" button never works, like the demo from DreamForce 2014(https://developer....
1
vote
1answer
587 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 ...
1
vote
1answer
849 views

Formula Field from REST Service

So here is an odd question. On our Opportunity object we have a formula field. Is there anyway to pull in the actual formula calculation through any API, APEX, REST, SOAP? I have an iOS app and a ...
0
votes
2answers
198 views

Enable/disable rotation on Salesforce IOS Hybrid app

Is there any way to control the rotation of an Salesforce IOS Hybrid app. I'm using Salesforce IOS SDK. I want to have some of the screens allow to rotate and some not. I know we can set it the app's ...
0
votes
0answers
157 views

Errors when adding podfile into a salesforce IOS SDK sample app

I added a podfile into the VFConnector salesforce ios sample app from https://github.com/forcedotcom/SalesforceMobileSDK-iOS. Now the app can't be compiled anymore and complaining source 'https://...
0
votes
1answer
189 views

Missing implementation files in Salesforce IOS SDK

I created a ios project by running forceios create and only can see header files in its installed plugins like SalesforceSDKManager.h and SFUserAccountIdentity.h. However, if I download the ios SDK ...
0
votes
1answer
119 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 ...
1
vote
1answer
824 views

How to set custom frame to iOS Salesforce Login Screen(UIWebView)?

I'm showing Salesforce login screen in my iOS native application, but their login screen (WebView) is covering my entire custom screen and I'm not able to show the status bar and navigation bar at top ...
3
votes
1answer
371 views

Salesforce Mobile SDK Community Registration

I am developing a mobile application for one of our client using Salesforce SDk. I haven't found any documentation regarding the community registration vai Salsforce SDK. Is this possible? Because ...
2
votes
2answers
581 views

How to get claims of logged in user in Salesforce iOS SDK [duplicate]

I have integrated "SalesforceMobileSDK-iOS-Distribution" library in my iOS native application from this link to achieve scenario as mentioned below https://github.com/forcedotcom/...
1
vote
0answers
69 views

Sign in Native App after launching from Salesforce 1

I am launching a native iOS app from Salesforce 1. I am trying to see if there is a way to sign the user into the app with without having to login. I am seeing if it is possible to pass information ...
1
vote
1answer
388 views

How to show Salesforce login screen in existing iOS application

I need to integrate Salesforce iOS native library in my iOS native application and I have to show salesforce login screen and flow as mentioned below: 1) I have a HOME screen in my iOS native ...
2
votes
2answers
1k views

How to Switch login server(sandbox/other) in Salesforce Hybrid Mobile SDK on Android device without hardware menu button?

Using Salesforce Hybrid Mobile SDK, I am able to OAuth easily to production on Android devices. I am trying to change login server to sandbox, which works fine on Android devices, where a hardware ...
1
vote
1answer
138 views

App iOS and Android on Appexchange

I have a simple hybrid app which can be published both for iOS and Android. The salesforce part is just the "Connected App" (the apps use only standard fields and such). I would like to publish this ...
1
vote
1answer
291 views

Debugging in SFOAuthCoordinator and SFAuthenticationManager

We are developing native iOS app which is using Salesforce SDK v2.3. I was just tracking down some stuff in debug logs and saw this : 2014-11-17 15:46:26:963 CustomApp[51706:607] DEBUG|...
2
votes
1answer
142 views

Mobile SDK, XCode 6 XIB and Storyboards

When you create a new project in XCode 6.* using the SF Mobile SDK, there is no option to use Storyboards, XCode 's version of XIB files. I want to work with Storyboards but not with XIB files. is ...
2
votes
1answer
114 views

How to get Dictionaries out of [SFQuerySpec newSmartQuerySpec:]

When i fire a smart query in iOS as shown below on a Contacts soup - NSString* const kContactsQuery = @"SELECT {Contacts:uid},{Contacts:firstName}, {Contacts:lastName}, {Contacts:phonenumber} FROM {...
3
votes
1answer
563 views

salesforce mobile sdk access to UserInfo class

I have created a mobile app in Android and iOS using the Salesforce SDK. I want to add functionality of multi currency by using isMultiCurrencyOrganization() method from the UserInfo class. Now I am ...
0
votes
0answers
56 views

Using the Salesforce Mobile SDK how do I prevent login except for a particular UserId

I only want one particular user to be able to login, and I want to manage this client side. Ie once the app is installed, and any user logs in for the first time, no other user should be able to log ...
0
votes
0answers
211 views

SFCrypto “keychain data missing or corrupted”

Intermittently getting the following error when logging in to iOS iPad app using Salesforce Mobile SDK. 2014-10-01 16:35:32:177 iPath[3381:60b] ERROR|SFCrypto|App id keychain data missing or ...
2
votes
1answer
1k views

Getting remote access authorization error with Mobile SDK on iOS

When this happens during oauth on iPad, clicking the Not You link and reentering the username/pwd takes the user to a full screen web view of the Salesforce UI instead of my mobile app!!! Ugh! So I'm ...
3
votes
1answer
219 views

Unable to change setting in iOS 8

I have developed my application using mobilesdk 2.2. Everything was working fine before I have upgraded my xCode to 6.0. After upgrade when I change my app setting environment to 'sandbox' or 'custom ...
0
votes
1answer
235 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
1answer
958 views

Connected Apps Session expire

We are developing a managed package which includes connected app (ios native). In our subscribers org, under connected apps we can see our connected app. There is an option "Refresh token is valid ...
1
vote
0answers
812 views

fields required to create a task through Rest API in native android app

I am getting error 405 when trying to create a new task through the rest api in a native android app see 405 Error when Trying to Create Task through Rest API Now I am guessing it might depends on ...
1
vote
0answers
757 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
1answer
93 views

Getting “Data Not Available” Trying To Login from iOS Native App

I'm developing a native iOS app using the Salesforce MobileSDK. It's been working fine, and then today I just get the following error when trying to login. It doesn't matter whether the login host is ...
1
vote
1answer
354 views

How to integrate Salesforce page to Native iOS App?

In my native iOS app, some screens are to be rendered directly from Salesforce. For example my app displays the list of all contacts available in Salesforce in a UITableView. When user selects a ...
0
votes
1answer
136 views

Create new Event using the iOS API

I am new to SalesForce and the iOS API, but not new to IOS. Does anyone know how I can create a new Event in SalesForce using the iOS API?
0
votes
1answer
3k 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
3answers
2k views

Best way to integrate Salesforce iOS SDK into an existing native app

All the documentation I see always talks about using the forceios command to create a new application using the salesforce SDK. I have an existing native iOS application and I want to easily add the ...
0
votes
1answer
146 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
0answers
87 views

Updating Task with Mobile SDK (Native Application)

What is the easiest way to update entities like Tasks via the Mobile SDK? How about creating or deleting entities?
0
votes
1answer
337 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 ...

1
3 4
5
6 7