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
6
votes
1answer
1k views

Salesforce Private App Exchange Distribution

I would like a confirmation on how the Salesforce Private App Exchange works. To distribute a hybrid iOS app which can be installed on any device, do we still need access to Apple Enterprise ...
8
votes
1answer
780 views

how to return the report results from a SOQL query using the REST Api in Salesforce Mobile SDK for iOS

I am using the Salesforce Mobile SDK 2.0 to build a connected Salesforce Native iOS app, I would like to be able to run reports programatically using the SFRestRequest method (or some other method?), ...
8
votes
2answers
255 views

PIN Security for a Force.com Mobile SDK App

There's a feature for PIN protection which works with Mobile SDK applications which provides an extra level of security for users. The PIN configuration is done as part of a connected app as shown ...
4
votes
1answer
922 views

400 Request is not a valid ChasitorInit - live agent rest api

Hi i'm trying to reach this endpoint with live agent rest api https://d.la1-c1-frf.salesforceliveagent.com/chat/rest/Chasitor/ChasitorInit Then got 400 Request is not a valid ChasitorInit Here is my ...
3
votes
1answer
340 views

Can I call SFRestRequest more than once from within ViewDidLoad method?

I want to executue two or more SOQL queries from the ViewDidLoad method, e.g., return a particular list of customers, return a particular list of cases etc. How can this be done? I have experimented ...
2
votes
0answers
316 views

Can't use Marketing Cloud SDK for Android with Google Play Services 11.8.0

I'm getting this error when running our app with Marketing Cloud SDK 5.3.+ with Google Play Services 11.8.0: java.lang.NoSuchMethodError: No static method getNoBackupFilesDir Full stack trace: ...
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
797 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 ...
7
votes
1answer
300 views

What Controls the URL Format for Chatter Content?

When I query the chatter connect API through Javascript from a Visualforce page in a desktop browser, the post attachment URLs I receive use the visualforce domain that the page is being served up ...
6
votes
2answers
4k views

OAuth 2.0 username-password flow: Is the access token long lived?

I am a newbie to Salesforce. I am planning on implementing username-password OAuth 2.0 flow in my iOS app. I am getting access_token after calling https://login.salesforce.com/services/oauth2/token ...
4
votes
1answer
99 views

ios - can't insert a new record to remote using smartsync sync up

I'm developing in native iOS. I use SmartSync to sync up local soup to salesforce server. It works fine when updating to remote, when the record to be updated exists in remote. But it doesn't work ...
2
votes
1answer
38 views

Select all my tasks or tasks relating to my Accounts or Accounts of users i manage

I am using SF Mobile SDK to do a SmartSync. Because of that, i need to make sure that the results come down in one query. I want to select data from Task where one of the following is true: OwnerId ...
2
votes
0answers
205 views

Default Certificate Expiration, is action required for getContent calls to Visualforce Pages?

I maintain an iOS app that uses the Salesforce Mobile SDK. My app uses the SDK to make a POST request to an Apex class. That apex class calls getContent on a Visualforce page. I have checked the ...
2
votes
1answer
291 views

Access custom labels from Native iOS app

We are developing Native iOS app which is using Salesforce SDK. Is there a way to fetch custom labels from Salesforce using SDK ? (like using RESTapi)
1
vote
1answer
131 views

Salesforce crashing on ios9/10

I've just implemented salesforce for iOS v5.1.0 and published to the store, but now im getting crash reports that only iOS 9 /10 users and only iPhone 5 / 5c / 4s are crashing on launch. When I send ...
1
vote
0answers
689 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 ...
0
votes
0answers
72 views

Salesforce1 QR Code Reader

We are working on one of our client requirement to have a barcode scanning functionality on Salesforce1. Requirement is just to scan a barcode from the app which should navigate to the record within ...
0
votes
0answers
182 views

Embed Visualforce Page into Native Mobile app as Hybrid page

We have developed a native iOS mobile app that connects to Salesforce, users login through this native app using OAuth user-agent flow and a connected App. This all works fine. We are now trying to ...
0
votes
1answer
43 views

Does an iOS app accessing SF through Mobile SDK need to be listed as a “Connected App”

It seems that my app is still functioning OK in production even though it is no longer listed under Manage Apps/Connected Apps. Should it be listed there? The problem I'm having is that my iOS app ...
0
votes
0answers
250 views

Marketing Cloud SDK iOS, sfmc_getAllMessages

Trying to use this method sfmc_getAllMessages from this article, but it always returns nil. I have also tried invoking the refreshMessages method and that always return NO. I am testing this by ...
0
votes
1answer
100 views

Can I use FMDB libraries from SmartStore?

I have a project with SQLite. I am using FMDB with SQLite. I installed FMDB in the project with a pod. Now, I have to use Salesforce. I can install Salesforce SDK with pods. BUT, I can´t use FMDB ...