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
0
votes
0answers
10 views

Get picklist metadata/values

For my iOS App I need to know which values, from a picklist, are possible for the user to select, to only insert the possible ones. How can I do this with the mobileSDK for iOS? I tried the ...
0
votes
0answers
10 views

Mobile Push Registrations: Sales cloud: Salesforce SDK register the connection token but after 45 days the key gets deleted

The connection tokens automatically gets deleted after the invterval of 45 days. Please find the screen shot. the connection tokens gets deleted after 45 days. and for registration the new ...
0
votes
0answers
27 views

restAPI failure code 401

I use the mobileSDK for iOS and want to do some query on standard objects in salesforce, which I did some times befor. Now I get an error witch the code 401, which mean that this is not authorized. ...
0
votes
0answers
9 views

Community vs Site URL

Most of the documentation around setting up the mobile SDK references utilizing the community URL. We currently use a Site rather than a community and have been trying to use that site url instead of ...
0
votes
1answer
29 views

How to integrate SFMC SDK in a framework?

We have a framework (say its name is MyFramework) which wraps SFMC SDK and link it statically, in this framework we integrate SFMC SDK via CocoaPods: But the SDK crashes when I call ...
0
votes
1answer
67 views

OpenDirect sfmc_setNotificationRequest called before the SDK is ready. Deferring until isReady == true

We inherited 'MarketingCloudSDKURLHandlingDelegate' for the class that runs MobilePush for Marketing Cloud and overrode the methods. We wanted the following method to be called as handler when we ...
0
votes
0answers
8 views

iOS SDK react-native error when deploying to the Apple App Store

I keep getting a Missing required icon file. The bundle does not contain an app icon for iPhone/iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 10.0. There is indeed an ...
1
vote
1answer
65 views

Using Salesforce Mobile SDK vs Custom Salesforce Integration for Mobile App

In one of our projects we are using Salesforce Health Cloud and want to build a mobile app for patients. We mainly have two requirements - All the patient data will be stored in the Health Cloud ...
0
votes
0answers
20 views

Issue with China user connection to Salesforce db/server timing out

We use an in-house developed mobile app (similar to Veeva) that runs on iPads for our field force team. Users try to sync the app regularly to 1) get the latest data updates from the Salesforce db/...
0
votes
0answers
47 views

Hybrid Mobile SDK 6.2 App (iOS) - Open's Classic or Lightning Page inside a Login-View Container

PLATFORM AND VERSIONS iOS cordova v6.3.1, Salesforce Mobile Hybrid SDK 4.2.0 ​iOS cordova v8.0.0, Salesforce Mobile Hybrid SDK 6.2 DEVICES: App is built to install only on iPad devices. ...
4
votes
0answers
63 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
70 views

iPhone do not show as opt-ins into Salesforce Marketing Cloud Dashboard

After setting up the app and json file, I can not see the new device as an opt-ins into the MobilePush dashboard. However, I can see an interesting error into the console that may be related to the ...
0
votes
0answers
26 views

Salesforce Implement Push Notification in iOS app developed with GoNative

I created app from GoNative with website link(And this website is using Salesforce). What I don't know is that how to implement push notification into iOS app which is built with GoNative(It is mainly ...
2
votes
1answer
84 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 ...
1
vote
1answer
58 views

Why MarketingCloudSDK for iOS always put “now” date in “startDateUtc” field?

After some long time of investigating I realized that MarketingCloudSDK for iOS always returns startDateUtc field set to current date. Here is a snippet from XCode logs: [inboxmessage] returning ...
0
votes
0answers
47 views

Salesforce Apex Error

Sync down of settings is failing in salesforce mobile native swift app.The error from salesforce is NSLocalizedFailureReason = APEX_ERROR Sync type:syncDown id:1 FAILED cause:Server call for sync ...
0
votes
1answer
24 views

Select custom objects of users i manage

Very similar to my previous question here: Select all my tasks or tasks relating to my Accounts or Accounts of users i manage Which seems to have been magically resolved by SF just somehow working. ...
2
votes
1answer
27 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 ...
0
votes
1answer
77 views

Salesforce Mobile SDK issue with Xcode 9

I have used salesforce mobile sdk 4.3 in Xcode 8.3. It is working fine but after updating to Xcode 9 it is crashing while tapping on gear icon in Login screen. Crash error: unable to dequeue a cell ...
0
votes
0answers
36 views

Salesforce Mobile SDK 4.3 issue

I have used salesforce mobile sdk 4.3 in Xcode 8.3. It is working fine but after updating to Xcode 9 it is crashing while tapping on settings (gear) icon (changing environments production to sandbox) ...
0
votes
0answers
14 views

SalesForceMobile SDK allows login from different organization

I have two SF organizations. One for development and other for production. I have two Connected Apps. One in development organization and other one in the production organization. I have ...
0
votes
1answer
54 views

Salesforce mobile sdk issue

I have used salesforce mobile sdk(version 4.3) in my ios native app. In the login screen of salesforce I have changed from production to sandbox environments.While switching the environments I am ...
1
vote
1answer
48 views

Salesforce License for React native Mobile App using Salesforce SDK

We are building a ReactNative Mobile App using Salesforce SDK for IOS operating system. It pulls and pushes data into salesforce. Salesforce also makes callouts to other systems to get data which is ...
0
votes
2answers
175 views

Lookup field in restApi

I try to make a restApi call for create. One field in this Object is a lookup field. How is the syntax to make an api call with a lookup field in the iOS Salesforce MobileSDK? I tried: request = ...
0
votes
0answers
15 views

Salesforce pdf not rendering in google doc view and downloaded file is corrupted

I want to download/View a pdf uploaded in Salesforce cloud. I have a download url for the PDF with me, when I try to render the same using google doc url in android application, its not displaying ...
4
votes
1answer
70 views

NSDictionary representing Inbox Message Structure

What is the structure of the NSDictionaries representing Inbox messages that are returned in an Array by sfmc_getAllMessages? I'm trying to access the objects in each NSDictionary and need to know ...
0
votes
0answers
28 views

iOS - Crash when app goes to background

We are massively registering a crash after the user closes the app and the comes back (even after several crahes): http://crashes.to/s/2f9a6459d58 Fatal Exception: NSInvalidArgumentException [NSNull ...
2
votes
0answers
40 views

Salesforce iOS SDK pin protection for connected app is not working

I have a connected app in developer org and have enabled the pin protection for that app. Using the new iOS SDK, I have created a ios application. Even if the pin protection is checked, the passcode ...
0
votes
1answer
103 views

Marketing Cloud iOS SDK inbox message read status does not change after opening message from push notification

I have an issue with Marketing Cloud iOS SDK. I have implemented Inbox feature and showing some internal unread messages count badges. I'm manually marking inbox messages as read using SDK method. The ...
0
votes
1answer
61 views

How to enforce session timeout in Native-iOS App

I am using SF Mobile SDK version 5.2. I am only using the sdk for authentication and authorization of SF users of our organization. Once a user is authenticated from the salesforce, he can use the app....
0
votes
1answer
56 views

Sync down/up multiple soups in one go using SmartSync

Suppose i want to pull down Account and Contact records. It seems (after reading the documentation and samples) that i have to create separate soup specs (e.g. in userstore.json) and the for each of ...
0
votes
0answers
22 views

iOS Saleforce mobile SDK 7.0 webview delegates

How do I access the delegates of login page web view? Till SDK 5.x, SFAuthenticationManager had the web view delegates. What is the alternate class for SFAuthenticationManager in SDK 7.0?
0
votes
0answers
100 views

Send Push Notification From Salesforce to Ionic Mobile App

Is the standard salesforce push notification work for all hybrid platforms?. Do I need to use third party application like one signal or firebase for this?
0
votes
0answers
21 views

Creating user defined functions in SQLite using SalesforceMobileSDK-iOS

I am using SalesforceMobileSDK-iOS for building native iOS app that interact with the Salesforce platform. I need to create a user defined functions in SQLite database for example RemoveDiacritics. ...
0
votes
1answer
48 views

Ignore the Update iOS Badge option

We have implemented the MarketingCloudSDK version 5.2.1 in our iOS application. Everything works fine but there are some tweaks that we would like to do, but we are not sure how to achieve what we ...
0
votes
1answer
312 views

Can I integrate salesforce marketing cloud push notification sdk with react native application?

I have react-native mobile application.I want to send push notification to the react native application from salesforce marketing cloud.How do i integrate my react native application with SFMC?Do we ...
1
vote
0answers
377 views

An internal server error has occurred Error ID: 99989560-2011 (1597204713)

We have developed a hybrid application using Salesforce MobileSDK 5.3. Salesforce is integral part of the application. Our app do support Salesforce lightning plugins and render components using ...
1
vote
1answer
60 views

Network Query for Logged In User - Salesforce Mobile SDK

Unable to find any documentation on obtaining the logged in User's Id from the Salesforce Mobile SDK for React Native. In apex the following would work: select Id, username from User where Id = :...
0
votes
1answer
102 views

Unable to update logged in user's Profile Pic using Swift (Via Sales force iOS SDK)

We are not finding an example to help us create a method to update user profile pic through iOS SDK and have struggled on this feature for the last two days. Is it possible to update logged in user ...
1
vote
1answer
197 views

MC-Cordova-Plugin

I am working on implementing the MC-Cordova-Plugin (https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin) for iOS/Android and noticed the plugin does not implement any methods for ...
6
votes
0answers
48 views

Can you control which devices a push notification is sent to?

Background I've created and packaged (in a managed package) a Connected App that's configured to use Apple's push notification service (APNS). When installed into a client sandbox, and when I've ...
0
votes
1answer
141 views

MarketingCloudSDK - Push notifications channels

Let say that my application has 2 types of news, type1, and type2. Also my application has 2 switches so that user can select which news type he would like to receive, or essentially which ...
0
votes
0answers
189 views

Getting Blank page after calling /secure/frontdoor.jsp

We have setup salesforce as an identity provider where we have integrated salesforce community custom login page with external mobile app build on xamarin framework. Now, when a user clicks on login, ...
0
votes
0answers
227 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
0answers
14 views

Salesforce in Desktop mode, but on shelves?

On the shelves of our commercials, we expect SF design in "desktop" mode ; Is there a way to stay within this frame, again on shelves ? I know how to use the Mobile Icon, using CTRL + Shift + I on ...
1
vote
1answer
86 views

Difference between JB4A SDK and Salesforce Marketing Cloud SDK for iOS

I am trying to implement the Mobile push functionality to my app and use the marketing cloud to send pushes to my users. However, currently my app has a JB4A SDK and I would like to upgrade to the ...
1
vote
0answers
24 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 ...
0
votes
0answers
47 views

Migration from MarketingCloudSDK v4.9.7 to v5.1.1

We are migrating our iOS project from MarketingCloudSDK v4.9.7 to v5.1.1. I am aware about the initial setup document but facing difficulties to migrate the project just on the bases of that. ...
2
votes
0answers
39 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 ...
0
votes
1answer
64 views

iOS Push notifications token change - after token update there is 2 min delay before Salesforce notes can be sent

After token has changed app is calling: [[MarketingCloudSDK sharedInstance] sfmc_setDeviceToken:deviceToken]; After that app is moved to background and I go on and start sending some push ...