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 [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

4
votes
0answers
39 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
57 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
21 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
72 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
35 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
44 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
22 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
23 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
62 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
34 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
13 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
40 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
40 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
93 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
11 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
52 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
25 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
35 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
74 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
43 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
40 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
17 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
64 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
19 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
43 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
262 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
344 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
47 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
100 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
170 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
128 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
168 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
199 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
74 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
23 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
16 views

How to use SFOAuthCoordinator to support the OAuth/SAML Authentication flow?

I have the OAuth/SAML authentication & authorization flow working from a web browser, but I want to add it to our custom mobile app. Everything is configured correctly on the server, and we have ...
0
votes
0answers
44 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
37 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
59 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 ...
0
votes
1answer
73 views

Marketing Cloud Cordova Plugin - Crash on iPhone 5 OS 10.3

I am developing an application using MCCordovaPlugin and just updated to v.1.0.3. All of the functions work well, but there is a problem : if using this updated MCCordovaPlugin, the app will crash on ...
0
votes
0answers
71 views

Salesforce Mobile SDK v4 - Does it support Swift 4?

If I have an older iOS app that was built with Objective C and is now to be upgraded to Swift 4 (by a contract ios developer) do we need to also upgrade the Salesforce mobile SDK to the latest version ...
0
votes
0answers
52 views

Rest API Queries from Cordova iOS failed in Salesforce Mobile SDK 6.1 and force.js

I've migrated my cordova hybrid local app from salesforce mobile sdk 4.3 to 6.1. I've changed/modified following implementations during this migration activity: forcetk.mobilesdk.js is replaced with ...
1
vote
1answer
111 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
277 views

How to send push notifications to IOS devices via Firebase Cloud Messaging

I created a connected app with Push Messaging enabled and the "Android GCM" option selected for the Supported Push Platform. For the api key, I am using the legacy key of my Firebase Cloud Messaging (...
2
votes
1answer
178 views

Marketing Cloud - Push Notification iOS Title Not Set

Currently I made an application with push notification function from Marketing Cloud. I used MCCordovaPlugin (https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin) to get the push ...
1
vote
0answers
91 views

How to join two soups in react native mobile sdk app

I'm developing a React Native app using Mobile SDK and I'm having trouble joining two soups together with SmartSync. I have already registered them with success, but I can not figure out how to join ...
2
votes
0answers
277 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: ...
0
votes
1answer
44 views

MobilePush iOS Error Sending Notification

I have checked out the other questions so far, regarding the "error" under status in mobile push contact. as usual the message is not helpful, but other posts have said it could be provisioning, but ...