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
+50

How to upload the build on test Flight build on Mac OS Catlina

I tried to connect to Sales force support channel and Github, for the same issue which I am facing I found a link on Github (https://github.com/forcedotcom/SalesforceMobileSDK-iOS/issues/3153) but ...
0
votes
0answers
7 views

Salesforce Mobile SDK unsupported_grant_type

I am using salesforce mobile SDK on my iOS app and logging in using custom domain and SSO sign in and requesting data from salesforce using sdk, sometimes I am receiving the following error and it is ...
0
votes
0answers
9 views

How to download the image behind a DocumentId from a soup's property using the iOS mobile SDK

I have to download the image which is represented as a DocumentId property in a soup. I'm very confused about the different ways which worked in the past but maybe will no longer work today. I was ...
0
votes
1answer
17 views

Not able to logout and login without closing app and use SmartStore and MobileSync again

As you know in CCEP we are adapting the SDK more and more to our internal applications so we decided to use MobileSync and SmartStore to handle all the sync mechanism. So far so good, but we are ...
0
votes
0answers
18 views

iOS Custom App - SSL Error while trying to connect to salesforce on 4G

We have an iOS iPad app which is built using Salesforce Mobile SDK. Last two days we are facing issues while syncing work back to Salesforce. When they try to sync, it shows this error, " Server ...
1
vote
1answer
103 views

MarketingCloudSDK iOS 7.0.1: Undefined symbols for architecture armv7

I've got an error while archiving my app on Xcode since I updated the Marketing cloud iOS SDK to the lastest version (7.0.1 using CocoaPods) Error encountered : " Undefined symbols for architecture ...
2
votes
0answers
42 views

Forcing Push Message send to a specific Device ID in Journey Builder

After registering a push device in the All Contact List, a random GUID is assigned to the contact created for the device. And when a ContactKey is assigned to that Device ID, it gets assigned to a new ...
1
vote
0answers
35 views

Salesforce iOS Remote Hybrid SDK works incorrect with SSO

We're using Salesforce iOS Remote Hybrid SDK in our app, version 7.1.2, that is shared for different clients, and it works ok with simple oAuth2 flow. However, started from Spring 2020 release, it's ...
0
votes
0answers
44 views

How to retrieve the OpenID JWT from the MobileSDK for iOS

I am trying to get the OpenID JWT from the MobileSDK. I need the JWT to authenticate with external services. How do I get the token? I tried following this documentation but SFSDKOAuth2 doesn't ...
1
vote
0answers
31 views

SFRestAPI.h in the Objective-C SDK appears to be missing methods

I'm building a Salesforce integration in an existing iOS app. As part of the integration workflow, I need to allow a user to upload a PDF to a specific opportunity. When the upload is complete, it ...
2
votes
1answer
29 views

Category Tracking with MarketingCloudSDK

The MarketingCloudSDK (iOS/Android) offers the method sfmc_trackPageView with an item parameter, but how would I track the category? It works in the Web SDK or API, this is about what I miss in the ...
1
vote
1answer
56 views

How to Re-register Device to Marketing Cloud When Contacts Deleted

I want to ask if Marketing Cloud SDK (Android & iOS) is able to re-register mobile device to Contact in Marketing Cloud after contacts in MC are deleted? If yes, how should I modify the code? I ...
0
votes
1answer
36 views

How can I prevent the mobile sdk login screen from appearing as a modal in iOS?

I have a Cordova Hybrid mobile app using the Salesforce Mobile SDK v7.0.0. I recently upgraded my macOS as well as changed some other plugins which required me to re-install the Salesforce Mobile SDK ...
0
votes
1answer
71 views

Problem in the integration of the SDK with an application

We need to solve a problem with the the intregration of the SDK with the Android application. This is a scenario: we're collaborating with a a development company in order to integrate Marketing ...
2
votes
0answers
43 views

Japanese message is truncated in chat window for iOS user

I'm using ServiceSDK/Chat version '214.0.3' in an iOS App. The issue that we have is that any Japanese message is displayed truncated on iOS 13.x devices: the last line is not displayed in the chat ...
0
votes
0answers
26 views

{ “error”: “invalid_grant”, “error_description”: “expired access/refresh token” } site:salesforce.stackexchange.com

We are facing expired access/refresh token while switching between two end point url using salesforce ios sdk. We are using the settings option in sdk to switch between 2 orgs. When we are trying to ...
1
vote
1answer
31 views

Is it possible to get chatter notifications to my custom native app just like salesforce1

I have a salesforce iOS app that uses the mobile sdk. My users use chatter as a communication mean and they open it through my native app in a safari view controller. Is there a way to send a ...
0
votes
1answer
27 views

SyncDown Configuration (usersyncs.json) with dynamic filter

If I want to dynamically set a filter to my SOQL in the usersyncs.json definition (see below, what to sync down only the contacts that I own), what is the best way for doing this? I know I can add a ...
1
vote
2answers
70 views

Set (override) locale for Embedded Service SDK

We're using Embedded Service SDK in our react app for ServiceChat functionality. Processing a case with different locale settings in the Salesforce system and on a specific user device, SDK will load ...
0
votes
2answers
45 views

Mobile SDK SmartSync SFParentChildrenSyncUpTarget INVALID_FIELD_FOR_INSERT_UPDATE fields = OpportunityId

Using Salesforce Mobile SDK 7.2 for iOS with Swift 5. Attempting to syncUp an Opportunity Line Item that has been updated on the device results in the error: errorCode = "...
1
vote
0answers
31 views

Barcode scanning through Salesforce mobile - 2019

I looked at previous questions and it seems that this blog post from Bob Buzzard from 2014 shows that it's possible to scan barcodes through a VF page. I want to know if this is possible with recent ...
1
vote
2answers
37 views

TouchId, FaceId login for mobile Apps

One customer is asking for having the Mobile App authentication for External users sites using Communities with FaceId and TouchId, I have tried "Implementing Screen Locking and PIN protection" in the ...
0
votes
0answers
28 views

When can “sfmc_cartItemDictionary” and “sfmc_cartDictionary” return nil

It seems from our logs that one of these methods is returning nil, and therefore we are not being able to track the cart content properly to the analytics system. From the signature of these methods, ...
1
vote
0answers
19 views

Airwatch MDM and iOS Mobile SDK 7.3

We recently updated our mobile app from Salesforce Mobile SDK 5.3 (iOS) to the latest 7.3 version. We also updated to the latest version of Cordova, 9.0, at that time. No other changes were made to ...
1
vote
1answer
27 views

Salesforce SDK for iOS for Partner Communities

Is it possible to build a Salesforce Mobile SDK iOS app that allows Partner Community users to login to the app?
0
votes
0answers
147 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
55 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
62 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
1k views

Core Data NSValueTransformer log warnings in Xcode 11

I've been seeing these log messages ever since we updated to Xcode 11 this week. Updating our SDK to v6.3.6 doesn't seem to have resolved these warnings. Is this something that will be addressed in a ...
0
votes
1answer
914 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
12 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
28 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
34 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
19 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
14 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
28 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
78 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
19 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
20 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
67 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
19 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
28 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
20 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
368 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
28 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
50 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
28 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
49 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
89 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
45 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 ...

1
2 3 4 5
7