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
8 views

CocoaPods could not find compatible versions for pod “SalesforceSDKCore”

I am using SalesforceMobileSdk version 7.3.0, cocoapods version 1.8.0 and react native version 0.60.5. Getting this error: [!] CocoaPods could not find compatible versions for pod "SalesforceSDKCore"...
0
votes
1answer
37 views

Unable to sync up data

When I try to syncUp a locally updated document as detailed below, iwth .leaveIfChanged as a the sync option it does not work. I investigated why this was occurring and could trace the error to the ...
0
votes
0answers
35 views

Deploying Custom IOS App to Publishing Service “failed to verify code signature” error

We have a custom IOS app we built using the salesforceMobileSDK with no issues. We just added ServiceKnowledge and ServiceCore frameworks via COCOA Pods. The app launches and runs fine directly ...
0
votes
0answers
125 views

CoreData NSValueTransformer log warnings in XCode 11.0

I've been seeing these log messages ever since we updated to XCode 11.0 this week. Updating our SDK to v6.3.6 doesn't seem to have resolved these warnings. Is this something that will be addressed ...
0
votes
2answers
128 views

How to support iOS 13 with Xcode 10.2.1?

thanks for your new SDK update (v6.3.5)! Our app is unfortunately not yet supporting Xcode 11. When I attempt building with SFMC 6.3.5, I get this error ":-1: Undefined symbol: ...
0
votes
0answers
11 views

How to make the branding logo stay for more time on Mobile

After setting up a brand logo in Salesforce Branding settings, I was able to show the logo to the users during login. But the logo seems to be displayed for a very short duration of time. It just ...
0
votes
0answers
20 views

How to implement android background services

we are currently implementing Beacons and Beacon zones into mobile studio. The services for IOs are running smoothly but Android keeps giving us a hard time. After a while, the devices do not receive ...
0
votes
0answers
22 views

How to decode dependant picklist 'validFor' base64 string in swift iOS [duplicate]

How can I decode the 'validFor' data to get back an option in controlling picklist. for example Controlling_Field__c Fruits, Vegetables Dependent_Field__c (Fruits): Apple, Banana, Orange (...
1
vote
0answers
12 views

Is it possible to customize Salesforce Chat Floating Bubble in SDK both Android and iOS

We are using Salesforce SDK both android and iOS and we wanted to brand (customize styling) the chat action floating bubble and waiting screen.
0
votes
0answers
11 views

iOS App Store submission - Verify your identity failure

We developed an application using Salesforce Mobile SDK for iOS Native (in Swift). When we submitted it to Apple in the App Store, the app was rejected because Apple needs credentials, but they do ...
0
votes
0answers
23 views

Login information to the community environment is not saved on SalesforceMobileSDK

We developed iPAD application using SalesforceMobileSDK. forceios version   : 5.1.0 XCode : 8.3.3 development language:Swift3 As for log in to Salesfore Partner community, We ...
1
vote
1answer
52 views

How to extract value from SmartStore aggregate function query

I'm sure the solution must be quite simple, but I can't figure out how to extract the value from a SmartStore Aggregate function query using mobile sdk 7.2 in Swift. Here's my query: let sql ...
0
votes
0answers
14 views

Salesforce SDK iOS shows incorrect queue position

We have implemented the Snap-ins SDK chat solution for our internal mobile app. When we go "Online for Live Agent" and there are no incoming chats (the chat queue is empty), Once we start the chat as ...
0
votes
1answer
19 views

SCSCategory renamed to Category in Swift version of the mobileSDK generates error

I am using the Salesforce iOS mobileSDK to access Knowledge on Lightning Salesforce. The data type of the categories thus generated is an array of SCSCategoryGroup objects. When you drill down the ...
0
votes
1answer
44 views

how do i fetch articles from lightning knowledge on Salesforce using Native iOS Mobile SDK

In our native iOS app, I included the ServiceSDK using Cocoapods. Referring to https://developer.salesforce.com/docs/atlas.en-us.noversion.service_sdk_ios.meta/service_sdk_ios/servicesdk_ios_dev_guide....
0
votes
1answer
12 views

How to record location data in smartstore for syncUp for server

we are developing mobilesdk-ios app in swift using version 7.2 of the sdk. When the user performs certain actions, we would like to record the current location. Since the device may be offline, we ...
1
vote
1answer
25 views

Does the Learning App IOS documentation still work?

I want to use the steps outlined here: http://salesforce-marketingcloud.github.io/LearningAppIos/#0002 The goal is to create an app that I can test MobilePush notifications. The Learning App IOS doc ...
0
votes
0answers
16 views

Users are intermittently getting salesforce login page instead of custom login screen

We are using Cordova Salesforce Mobile sdk in one of our client application. We have upgraded our mobile sdk plugin to V7.0.0 recently and from then users are intermittently getting the Salesforce ...
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
11 views

salesforce mobile sdk ios, how to create parent/child local/offline records?

I am working with the parent/child sync in version 7.2 of the SDK. I believe my syncs are defined correctly. I am able to pull parent/child records from the server. However, when I try and push ...
0
votes
0answers
21 views

Canvas API authentication errors in the Salesforce Mobile SDK

We have an application that loads Salesforce Lightning content into a WKWebView. We are using the Salesforce Mobile SDK in our app, and users are authenticated in their Orgs with OAuth per our ...
0
votes
1answer
19 views

Apple API usage rejects from App Store Submission

I'm using v7.2 of the Mobile SDK included with the forcereact npm project. When submitting the app to Salesforce I'm getting 3 failures. Something is using NSPhotoLibrary, NSLocationAlways, and ...
0
votes
0answers
46 views

MobileSDK IdentityProvider app

We want to use the functionality of IdentityProvider described on this article: https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/auth_identity_provider_ios.htm However, ...
0
votes
1answer
74 views

Native Android/iOS Authentication with Authenticated Site/Customer Portal

I am working on integrating a native android and iOS project into a Salesforce environment. We have successfully ran the forcedroid and forceios commands to get functioning projects and have been able ...
0
votes
0answers
17 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
15 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
35 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
12 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
31 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
111 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
36 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
83 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
61 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
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
94 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
39 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
93 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
70 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
49 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
30 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
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 ...
0
votes
1answer
95 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
37 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
59 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
70 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
388 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
19 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
80 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 ...