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

Unable to login due to missing access token parameter for Identity Service - iOS

We have a growing number of users that are getting the following error on iOS after logging in to the connected app: "Server Error Can't connect to the server: The following required parameters ...
user avatar
  • 617
1 vote
1 answer
26 views

Next-gen Migration from MarketingCloudSDK 7.6 to 8.0.x

I am following this migration guide (https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/get-started/get-started-migration.html) I removed the old SDK, added MobilePush and SFMCSDK via ...
user avatar
1 vote
1 answer
29 views

Getting a random crash on iOS MarketingCloud/SFMC SDK

I recently updated to the Marketing Cloud v8.0.6 and SFMC v1.0.4. I am able to receive pushes but every once in a while will get a crash when setting the URLHandlingDelegate. Here is my current ...
user avatar
1 vote
1 answer
37 views

No such module "SFMCSDK" after migrating to v8

I've followed the migration instructions for updating to v8 of the Marketing Cloud SDK. Docs here: https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/get-started/get-started-migration....
user avatar
-1 votes
0 answers
55 views

Not receiving push notifications in my device

I have used SFMCSDK (MarketingCloudSDK iOS v8.0.6) by SPMS as mentioned in SFMCSdk Migration. My App id and .p8 file all looking fine. But i am not getting any push notifications(outbound) in my ...
user avatar
0 votes
0 answers
15 views

Implementation of PKCE with Salesforce Mobile SDK

I am looking into implementing the PKCE authorization flow using the Salesforce Mobile SDK with React Native. I know this is possible using REST API's, but I noticed that the SDK library has ...
user avatar
0 votes
1 answer
31 views

"Server Error - Can't connect to the server: unsupported URL" received on iOS mobile App

I'm not a programmer but Salesforce suggested I post this question here and hoping someone can point me in the right direction. We have the same iOS mobile app and Android app for our Experience Cloud,...
user avatar
0 votes
0 answers
60 views

SDK iOS - Unable to build when updating to 8.0.5 or 8.0.6

We have configured SFMCSdk on iOS for our project using Cocoapods to install version 8.0.4, and it worked fine. But considering we now have random crashes with the SDK, we wanted to update to 8.0.6 ...
user avatar
0 votes
0 answers
13 views

React Native SDK IOS - Error

I need help installing the SDK in the IOS application. An error is appearing in the process of performing the "Build" We follow this documentation: https://github.com/salesforce-...
user avatar
0 votes
1 answer
13 views

Error in executing JEST Unit Test cases in react-native project with Salesforce Mobile SDK created by forcereact

We are creating React-Native mobile App Using Salesforce Mobile SDK. In this project we setup JEST for unit test cases writing. But whenever it goes into Salesforce Mobile SDK API it failed and sends ...
user avatar
1 vote
1 answer
48 views

Batch sync up - slow performance/performance improvement

Version of Mobile SDK Used: 9.2.1 Issue found in Native App or Hybrid App: Native App OS Version: All Device: All Steps to reproduce: syncUp We use SmartSync/SmartStore to sync offline data with ...
user avatar
  • 21
0 votes
0 answers
11 views

Mobile SDK Database migration when a new version is installed

In our company we have different applications using SF Mobile SDK where we need to change the database almost in every version of our apps due to SF changes required. Problem is that when we change ...
user avatar
  • 1
1 vote
0 answers
20 views

CometD in Salesforce Mobile?

I have an app using empApi for desktop subscription to a Platform Event, and the version for Communities replaces empApi with cometD. I'm struggling to find an option for Salesforce Mobile. empApi ...
user avatar
0 votes
1 answer
39 views

Why swizzle viewDidAppear?

From the recent release notes: Bug Fixes and Performance Improvements — This release includes fix for 1) Swizzling ViewDidAppear 2) Keychain crash in iOS 15.* 3) Add namespacing to Encryption files ...
user avatar
  • 13
0 votes
0 answers
19 views

Post-Chat URL Page not displaying after end chat in Mobile App

We are implementing Post Chat Survey and Email feature for both Web and Mobile Chat customers using customer visualforce page - This funtionality is working fine for Web customers but not Mobile. ...
user avatar
1 vote
0 answers
36 views

Salesforce Mobile SDK React Native: Invoke Biometric/Pin Prompt after timeout in react native app

Mobile-SDK version: v10.0.0 Platform: android, iOS React Native: 0.67.1 We are developing a react native app using salesforce SDK and have a requirement where we want the user to enter his/her pin/...
user avatar
0 votes
1 answer
67 views

App Crashes when calling SFMCSdk.mp.setNotificationUserInfo(info) with an _od field in the info

When handling a deeplink when the app is closed, we are having to temporarily store the userInfo from didReceiveRemoteNotification and wait until the SDK is fully initialized before calling ...
user avatar
  • 1
2 votes
0 answers
30 views

Mobile App Event not triggering Journey

We have enabled mobile app events in our salesforce instance. We have followed all the required procedures to setup the events, creating and uploading a csv file, etc as shown below. Then we created a ...
user avatar
0 votes
0 answers
11 views

Inbox message cell title is always been shown as subject

My messages are being delivered to my iOS client. Salesforce configuration is working as expected. But my cell title is always shown as subject.My code is func tableView(_ tableView: UITableView, ...
user avatar
0 votes
0 answers
16 views

iOS Chat Notifications when app is backgrounded

Our team is building an iOS app that includes chat functionality. We're using the Salesforce iOS SDK to chat with Salesforce Agents. We would like to support an iOS notification for the user: when a ...
user avatar
  • 101
1 vote
0 answers
30 views

MobileSync POST requests timing out

The POST Requests from Salesforce MobileSync SDK are timing out but the same GET Requests are not. Also, The request with same parameters works via Postman(Its an application used for API Testing). ...
user avatar
0 votes
0 answers
18 views

How should I implement Account Management View to my iOS App?

UI of my iOS app is made of XCode Interface Builder. I tried to add Account Management View to my App with following code, but I found that some problems are occuring. code: @IBAction func ...
user avatar
0 votes
0 answers
34 views

Is it possible to expose the "Items to Approve" on Salesforce Mobile App?

I found out that Items to Approve is only on Classic Experience on Salesforce : Is there a way to expose Items to Approve in Salesforce Mobile app (I'm using iOS) too? Right now, the only way I can ...
user avatar
  • 1,051
0 votes
0 answers
35 views

Automate bundle copying/linking of MarketingCloudSDK.bundle in SPM

While upgrading from MarketingCloudSDK 7.x to 8.x, I noticed these instructions: Manually pull in the Resources/MarketingCloudSDK.bundle from the sources folder in the Mobile Push SPM and link it ...
user avatar
  • 23
0 votes
0 answers
53 views

SFMCSdk / MarketingCloudSDK iOS: retrieving/storing attributes

I'm in the process of upgrading from MarketingCloudSDK 7.x to the newer 8.x version. At some point in my code, I need to retrieve stored attributes and after some processing store them back to SFMC. ...
user avatar
  • 23
0 votes
0 answers
35 views

Pass login data to Salesforce live agent Chatbot

We have a website and a mobile application where we plan to use on the the Salesforce live agent available with Digital engagement My question is how could we pass data from our Website or mobile to ...
user avatar
  • 281
0 votes
0 answers
13 views

iOS ServiceSDK/Chat - Wrong error handling for timeout when returning from push notification

Having the following situation: active chat session receiving a push notification with the message from the agent leaving the app in background until the timeout is reached tap on the push ...
user avatar
1 vote
0 answers
49 views

keyWindow lost when call to start watching location in iOS APP

When we call to sfmc_startWatchingLocation, if we have location permissions granted, with the conditions details below, after assign window key: window.makeKeyAndVisible() its provokes to lose the ...
user avatar
  • 11
0 votes
0 answers
18 views

How should I retrieve nextRecord resource?

Response of REST API Endpoints has nextRecord URLs, but RESTClient seems to be not providing function to fetch resource by URLs. How should I retrieve nextRecord? Just using URLSession provided by ...
user avatar
0 votes
0 answers
26 views

The redirection post login from the SFDC mobile sdk not working

We are using the Sales force mobile sdk for android(com.salesforce.mobilesdk:SalesforceSDK:8.+) and iOS(version 9.2.0). We are using the SDK for the login functionality to the native app. We have ...
user avatar
  • 5
0 votes
1 answer
27 views

RestClient doesn't run callbacks

I'm trying to fetch sObjects via MobileSDK. I wrote following code that fetch Contacts but none of callback blocks of tryMap() and sink() called. (I see Neither of "tryMap" and fetched value ...
user avatar
0 votes
0 answers
11 views

Accessing Custom Lightning Force page on Mobile Browser

I am attempting to load a custom login page that we have created using the Aura framework. The login page loads correctly when using a desktop browser; however, we receive an "Unsupported Browser&...
user avatar
0 votes
0 answers
35 views

Users Logged Out Automatically from Connected App

We have connected iOS App which uses mobile SDK Version 7.2,when the iPad is idle and used back after sometime, users are getting logged out of the application. They been asked to login back to the ...
user avatar
0 votes
1 answer
75 views

How to properly integrate MobilePush with Objective-C?

I have an integration of MobilePush on my project (React-Native), but with the recent updates i had to update to the latest version of the SDK (8.0.4). But i getting some issues with it. For example, ...
user avatar
  • 1
1 vote
1 answer
239 views

Marketing Cloud Push SDK iOS URL Handling

I'm currently implementing the Marketing Cloud SDK for Push Notification on iOS and I've run into a problem. I've implemented the URL Handling for OpenDirect as per the example provided in ...
user avatar
  • 119
0 votes
1 answer
170 views

Sales Force can't setDeviceToken on new SFMCSdk

I migrated to SPM with MarketingCloudSDK 8.0.3 and SFMCSDK 1.0.2. I got Missing or invalid Device Token with status Not Opted In. After debugging, I got a problem when doing setDeviceToken. Below is ...
user avatar
0 votes
2 answers
105 views

Registers error on iPad OS 15+

I'm facing a problem while using React Native. Can someone help me? Thx~. Env MarketingCloud React Native SDK version: 7.4.3 Device: IPad OS 15.2/15.0 Desc When the user registers on IPadOS 15+ device,...
user avatar
  • 1
0 votes
1 answer
196 views

Marketing Cloud SDK for iOS seems not to work properly

We are trying to integrate SFMC to an existing iOS app and we are struggling with the registration process for Mobile Push. We are following all the steps in the iOS SFMC Documentation on here even ...
user avatar
0 votes
1 answer
64 views

Could not find MarketingCloudSDK iOS (v8.0.1) on Cocoapods

We use Cocoapods as dependency for our app. Couldn´t find the new version for IOS v. 8.0.1 in there. https://cocoapods.org/pods/MarketingCloudSDK Could you help me with that?
user avatar
0 votes
0 answers
48 views

iOS MC SDK 8.0.0 tracking & logging screens

1. It looks like SDK doesn't handle logs level SFMCSdk.setLogger(logLevel: .error) // Could be .debug or .warn as well No matter what value I put in this method it just floods the console with all ...
user avatar
0 votes
0 answers
23 views

iOS ServiceSDK/Chat - Pre-chat button not fully clickable

We are displaying some pre-chat fields to the user, based on the documentation for iOS ServiceSDK and found the following issue: The button "Chat with an Agent" is only clickable in the text ...
user avatar
0 votes
0 answers
39 views

Mobile App Events as entry source

Is there currently an option to set a custom defined (via a .csv file) Mobile App Event as an entry source in the Journey Builder? The goal is to have an event trigger a journey for the user sending ...
user avatar
3 votes
2 answers
171 views

Force logout and database clearing in background mode after 9.1.1+ Salesforce MobileSDK update

We are facing a problem on IOS(iPad OS) devices when authorized users are logged out from applications when they hide applications in background mode. This problem appears after we had updated Mobile ...
user avatar
2 votes
1 answer
281 views

How to include 8.0.0 iOS SDK in project using either cocoapods or SPM?

I would like to understand how to add version 8.0.0 of the SalesForce Marketing Cloud iOS SDK to my iOS app using either cocoapods or SPM. I am unable to do so using either of these methods. The 8.0.0 ...
user avatar
0 votes
0 answers
14 views

How to move the einstein bot button after minimize from the middle of screen to bottom

In desktop view as we know the einstein bot button on the page is in the bottom right corner of the screen but in mobile view the einstein bot button after minimize remains in the middle of the page ...
user avatar
  • 31
0 votes
0 answers
23 views

Request for MarketingCloudSDK-iOS with static linkage

we're using SDK version 7.4.0 which has static linkage inside. We'd want to use the latest version that includes multiple performance improvements, but we cannot do that since it is linked dynamically....
user avatar
0 votes
0 answers
22 views

Some users in India using the mobile app had a error Could not refresh token

Some users in India using the mobile app had a error Could not refresh token, while the mobile developer use the same account in China didn't have this at all. is there anybody here encountered this ...
user avatar
0 votes
0 answers
31 views

How to get the correct app link to use to link a login button to an app page

I have my app configurations in place for SFMC Push:(AppID, App Endpoint, Team ID, Bundle ID) I have also enabled universal links for IOS in my SFMC account. I have received some deep links from the ...
user avatar
0 votes
1 answer
116 views

How to customize community user login page of salesforce mobile sdk-react native app

Steps to reproduce: Community user login with specific url (Login page is Experience Builder Page) login successfully and redirect to login page instead of home page Expected: Community user login ...
user avatar
  • 13
0 votes
1 answer
31 views

Community user login successfully and show a web page instead of Salesforce Mobile SDK home page

I am developing a react native app by using salesforce mobile sdk, and there is a problem for community user login. Steps to reproduce: Community user login through the specific url. Login ...
user avatar
  • 13

1
2 3 4 5
8