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
2
votes
1answer
16 views

Do I need to upgrade my iOS MarketingCloudSDK due to HTTP/2?

I got in my iOS app the MarketingCloudSDK (v6.4.2). As I got this email from Salesforce: "If you do not update your application to use the .p8 Auth Key by July 25, 2020, then your iOS messages will ...
0
votes
0answers
13 views

Community user authentication with hybrid mobile apps

We make https://apps.apple.com/us/app/blackthorn-check-in/id1439947532. We want a Community user to be able to log in and hit our packaged UI in our mobile app. We're using the Ionic Salesforce ...
0
votes
1answer
49 views

Marketing Cloud - Sharing App events/stats with Salesforce from the Client Application

My Salesforce Marketing Cloud use-case: When the user taps on a button in my iOS application, I need to send a push notification to the user. Sometimes the Push notification/Email communication with ...
1
vote
1answer
1k views

Exacttarget Opt-In, Opt-Out using IOS SDK

I want to change a contact status in Exacttarget from Opted-in to Opted-out using IOS SDK when I'm trying with this code nothing change, any help please ? Thanks -(void) setOptinPush { if ([[...
7
votes
1answer
2k views

Hybrid Remote App can never login again after a session timeout

I have a Hybrid Remote app built with Mobile SDK 3.1. I've created both an iOS and Android version of the app, and both exhibit the same behavior. To simplify the discussion below, I'll refer to the ...
0
votes
0answers
421 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
14 views

crash on iOS 10 showing Knowledge UI

We're seeing a crash on iPad + iOS 10.3.3 when attempting to present the Knowledge UX. This doesn't reproduce in the iOS 10 simulator, and we only have a single iOS 10 device to test on. Are there ...
0
votes
0answers
12 views

Not abl​e to display Image we get from Salesforce on Custom Mobile Application

We are developing a Hybrid mobile app for IOS and Android on React native. Our app makes callouts to Salesforce to fetch some images stored as files on records (Url to the Image or file is fetched). ...
0
votes
1answer
19 views

How to use the “All” data category?

The ServiceSDK docs suggest that we can provide the virtual data category “All”, which is visible in the portal, as the rootDataCategory for the SCSServiceConfiguration in the ServiceSDK. But when I ...
1
vote
1answer
87 views

Salesforce Marketing Cloud mobilePush iOS Not Opted In with Variant Opt-Out Source

Hi Experts, I have developed an app using Salesforce Marketing Cloud SDK for React Native (source: https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk).Android is working ...
16
votes
2answers
11k views

OAUth Issue: OAuth_Approval_Error_Generic

So I'm using the iOS Mobile SDK. I had an app working without issue, then changed the Consumer key to that of a different connected app (i.e. changed away from the default sample one) and updated the ...
0
votes
0answers
9 views

Open my iOS App from Salesforce iOS App

I have Salesforce iOS app version v224.030 and logged in. I have created a Connected App at salesforce and ios app listed that in Menu tab as expected. Now I want to open my custom iOS app from the ...
0
votes
0answers
25 views

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
1answer
25 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 ...
1
vote
1answer
165 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 ...
0
votes
0answers
11 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
2answers
52 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 = "...
0
votes
0answers
30 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 ...
0
votes
0answers
46 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 ...
2
votes
0answers
43 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
37 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 ...
1
vote
0answers
34 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 ...
1
vote
1answer
496 views

How to do Certificate based SSO for mobile app

We are working on a pilot project wherein a SAML IDP is set-up to authenticate using client certificates (sorted in the iOS system key-chain). How can the salesforce1 mobile app be configured to work ...
2
votes
1answer
33 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
79 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
45 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
2answers
428 views

iOS Image upload Issue

I have successfully uploaded image using the following code NSData *data = UIImageJPEGRepresentation([UIImage imageNamed:@"background.png"], 1); SFRestRequest *request = [[SFRestAPI sharedInstance] ...
0
votes
1answer
817 views

Is the device token returned from salesforce SDK in the registration process specifc to salesforce?

Is the device token returned from salesforce SDK in the registration process specifc to salesforce OR it’s the token generated from google or apple and salesforce just pass through the same token in ...
1
vote
1answer
33 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
124 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
46 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
32 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
2answers
84 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
1answer
36 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
50 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
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 ...
1
vote
0answers
36 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 ...
0
votes
0answers
29 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
21 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
29 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
179 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
57 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
78 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
1answer
982 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
30 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
39 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 (...
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, ...
1
vote
0answers
24 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 ...

1
2 3 4 5
7