Questions tagged [salesforce-ios-sdk]

With Salesforce Mobile SDK, you can leverage the power of Force.com to create standalone mobile apps that access and manipulate Salesforce data.

Salesforce Mobile SDK links into Force.com to provide tools to aid in the creation of standalone mobile apps that access and manipulate Salesforce data.

Using Force.com, developers can define application components, such as custom objects and fields, workflow rules, Visualforce pages, and Apex classes and triggers, using point-and-click tools of the Web interface, and assembling the components into killer apps.

The Mobile SDK integrates with the Force.com cloud architecture by providing:

  • SmartSync Data Framework for accessing Salesforce data through JavaScript
  • Secure offline storage
  • Data syncing for hybrid apps
  • Implementation of Force.com Connected App policy that works out of the box
  • OAuth credentials management, including persistence and refresh capabilities
  • Wrappers for Salesforce REST APIs
  • Libraries for building native iOS and Android applications
  • Containers for building hybrid applications

Source: https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/intro.htm

51 questions
26
votes
4 answers

NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813) in iOS 9 with Xcode 7.1

I am using iOS 9 as target & using Xcode 7.1, tried everything as my level best for all the solutions of ATS but didn't work. Below is the following error description coming at console. If any suggestion comes I will be obliged. Some of the key…
SAYAN NANDY
  • 373
  • 1
  • 3
  • 9
4
votes
0 answers

using smartStore in an iOS application which is integrated with salesforce mobile-sdk iOS

How to develope offline capability for an iOS application using smartStore framework ? so far in our application we have implemented all modules using direct queries to salesforce using SFRestApi with the delegate methods such as // Send a request…
Ramcharan Reddy
  • 621
  • 1
  • 5
  • 18
3
votes
0 answers

How to implement REST with APEX call in native Android apps?

I am trying to execute the apex request using http method GET and passing some parameters and getting response as "OK" in result from backend. On success, I get the mail of an document in pdf format on my email address. But the problem is that the…
Ritu Nagpal
  • 161
  • 1
  • 11
2
votes
1 answer

Framework imported properly but still getting _OBJC_CLASS_ compiler error

I have imported CCAvenue Framework correctly and trying call the InitialViewController class from CCAvenue framework to launch the paymentgateway service but I am getting the _OBJC_CLASS_ error. I have tried in many ways by adding the CCAvenue…
Smart guy
  • 494
  • 6
  • 9
2
votes
2 answers

Salesforce Native IOS SDK can't refresh access token

I am currently using the Salesforce.com IOS SDK Version 3.0 to build a native application that connects to salesforce. This app will be used for external users, so it is pointed at communities. I first started by creating a Native IOS SDK app and…
Sam Rosen
  • 83
  • 8
2
votes
0 answers

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 quite new to Salesforce mobile SDK so I don't know…
2
votes
0 answers

FBSession Error validating access token: Session does not match current stored session

I'm trying to use Facebook SDK in my application. My application is using Salesforce SDK to logging with Salesforce and the user can use Facebook to logging in my application. From Salesforce can take the Facebook access token when the user logs in…
2
votes
1 answer

System.CalloutException: Callout loop not allowed: Salesforce mobile SDK for iOS

I am facing 'callout loop not allowed' issue while making a Apex REST webservice call from mobile app (Hybrid remote app developed using salesforce mobile SDK for iOS ) which in turn makes a callout to external webservice. This use case is about…
Sourabh
  • 4,545
  • 11
  • 39
  • 45
1
vote
0 answers

SFAuthenticationManager deprecated in 6.0

We have a custom salesforce iOS application currently running on salesforcemobilesdk 5.3.1. It is a both native and hybrid mixed application. I am planning to update it to the latest but I am finding few decrepency in the library. In v6.0 sdk …
nOOb iOS
  • 1,384
  • 2
  • 19
  • 37
1
vote
1 answer

Exception: java.lang.RuntimeException: Unable to instantiate application com.salesforce.androidsdk.phonegap.app.HybridApp

I developed a hybrid mobile app integrating SalesForce Mobile SDK with Ionic using Brett Nelson's set of blog posts - After following the set of instructions in this post -…
user6277510
1
vote
1 answer

All pages displaying at once in jQuery Mobile app

I have a fairly simple mobile app built for the iOS that I'm attempting to bring up to date. It was created several years ago on an older version of jQuery and jQuery Mobile. Version 2.1.0 of jQuery and 1.4.2 of jQuery Mobile to be exact. I now…
1
vote
1 answer

Xamarin Salesforce SDK - The remote server returned an error: (400) Bad Request

I am using Xamarin Salesforce SDK Component v1.4.4.0. Salesforce login and Authentication works fine. But When I do SOQL Query Http error happening var results = await Client.QueryAsync("SELECT Id, Name, AccountNumber, Phone, Website, Industry FROM…
1
vote
1 answer

Not able to get into callback after salesfore successful authentication using forcejs hybrid app

I have followed this blog and using forcejs plugin to make salesforce authentication in my ionic hybrid app. I am able to login and in popup URL (after redirection to callback) i can see the access token. But when popup come to callback url it does…
PRASHANT KUMAR
  • 185
  • 2
  • 3
  • 11
1
vote
0 answers

How to create bulkconnection with accesstoken in salesforce

I need to create BulkConnection for bulk API into salesforce. We can able to create BulkConnection using ConnectorConfig with basic SOAP authentication. Code is below, ConnectorConfig config = new ConnectorConfig(); …
1
vote
0 answers

SFUserAccountManager loses its details in once app is terminated

I have an iPad app with Salesforcemobilesdk-ios integrated. First time, as soon as I login I set all the credentials in oauthCoordinatorDidAuthenticate method like this - - (void) oauthCoordinatorDidAuthenticate: (SFOAuthCoordinator *) coordinator…
nOOb iOS
  • 1,384
  • 2
  • 19
  • 37
1
2 3 4