Questions tagged [ios]
iOS is a mobile operating system developed and distributed by Apple Inc.
265
questions
0
votes
0
answers
58
views
ServiceSDK ServiceCore crashes during iOS 15 prewarm
At our company we're using the embedded ServiceSDK (version 234.1.0) for iOS https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/servicesdk_ios_dev_guide.htm
After ...
0
votes
0
answers
18
views
Can't install iOS ServiceChat with swift package manager
I have followed the steps defined here to integrate ServiceChat in my existing iOS app: https://developer.salesforce.com/docs/atlas.en-us.noversion.service_sdk_ios.meta/service_sdk_ios/...
3
votes
1
answer
61
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 ...
0
votes
0
answers
26
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-...
1
vote
0
answers
93
views
iOS In-App Messaging integration Issue
We are implementing in-app messaging and we are facing into a very weird behaviour:
We developed and tested the arrive of the In-app on a phone (iPhone12 mini OS 15.2.1 used for the developing phase) ...
0
votes
0
answers
39
views
Custom In-App Message integration
Hi I'm integrating the mobile push SDK MarketingCloudSDK iOS (v8.0.4) through CocoaPods.
pod 'MarketingCloudSDK', '= 8.0.4'
I'm trying to use In-App Messaging through an helper instead of directly ...
0
votes
0
answers
19
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 ...
0
votes
1
answer
45
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 ...
0
votes
0
answers
32
views
SFMCSdk support for objective C
I have migrated marketingCloudSdk to version 8.0.6. But I need to configure sdk in Objective C. How to configure the following part in Objetive C
let completionHandler: (OperationResult) -> () = { ...
0
votes
0
answers
27
views
Updating analyticsEnabled after SDK initialization
I am trying to implement the MarketingCloudSDK for our iOS app and have a question about initialization of the SDK. We need to set the analyticsEnabled value in the ConfigBuilder during initialization ...
0
votes
0
answers
35
views
Mobile App Event Tracking not Triggering Journey [iOS SDK]
There is a similar question about this but it does not have helpful answer to solve my problem.
So I registered an event and set that event in the journey builder to send push notification once i have ...
0
votes
1
answer
94
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 ...
2
votes
0
answers
32
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 ...
0
votes
0
answers
93
views
How do I solve the Fatal Exception issue: com.salesforce.security.keychainException?
I'm trying last versions sfmc-sdk-ios (1.0.3) and MarketingCloudSDK-iOS (8.0.4) with Swift Package Manager. In crashlytics points this exception for some users, I couldn't identify a pattern.
Fatal ...
0
votes
0
answers
139
views
Marketing Cloud Push SDK iOS Keychain crash
We are trying to implement Mobile SDK on iOS and Android. We haven't encountered any issues on Android, but on iOS the app keeps crashing.
We have a Dev App and we deploy our builds using TestFlight (...
0
votes
0
answers
17
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 ...
0
votes
1
answer
50
views
iOS Salesforce Mobile SDK Native Swift - can we change Logout Behaviour?
I am using all the latest and greatest : XCode 13.2.1, Salesforce Mobile SDK 10.
I am writing a native iOS Swift app and I wish to DEFER the Salesforce login to a point in the application that makes ...
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).
...
0
votes
0
answers
48
views
Issues logging into Salesforce 1 app on iOS
We have enabled SSO on a profile in our org and the login to the Salesforce 1 app fails with the following message for the users with the aforementioned profile
Server Error : Can't connect to the ...
0
votes
1
answer
77
views
SFMC Inbox Messages
We are using MarketingCloudSDK V7.1.1 in our project. The app was working fine, suddenly from the past few days, our prod app started to break. On analysing we observed MarketingCloudSDK....
0
votes
0
answers
45
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 ...
0
votes
0
answers
69
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. ...
0
votes
1
answer
99
views
MarketingCloudSDK - MobilePush SDK for iOS v8.x - crash
After I managed to fix the original crash “Cannot create an NSPersistentStoreCoordinator with a nil model” and now I get the following:
*** Terminating app due to uncaught exception '...
1
vote
0
answers
25
views
Notification badge not clearing on iOS (using Cordova Marketing Cloud SDK plugin)
We're running into an odd issue with using the MarketingCloudSDK Cordova plugin on iOS. We're able to successfully receive a PUSH notification that appears in the notification shade, and we can see ...
0
votes
0
answers
109
views
iOS SDK: Compiler error, different definitions in different modules
I am using the MarketingCloudSDK and SFMCSDK. We are trying to upgrade from a 7.x version, but are running in to a blocker. I have added the new SDKs through SPM, removed the older SDK from my pods. I'...
1
vote
1
answer
317
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 ...
1
vote
1
answer
399
views
MarketingCloudSDK SPM Module not supported by newer compilers
It seems as though the way the MarketingCloudSDK Swift Package Module is built that it cannot be included in projects that use a different version of the Swift compiler. When trying to use the Swift ...
0
votes
1
answer
289
views
MarketingCloudSDK iOS 8.0.2 - Unable to upload to App Store Connect
I have an iOS app that uses the MarketingCloudSDK. I have updated to SDK to the latest version (8.0.2), removing the pod from Podfile and adding both SFMCSDK and MarketingCloudSDK through Swift ...
0
votes
1
answer
285
views
Why MarketingCloud and SFMC fail only in Release?
I'm trying last versions sfmc-sdk-ios (1.0.2) and MarketingCloudSDK-iOS (8.0.2). When compiling and uploading to testflight sdks doesn't work.
The configuration is like this:
SFMCSdk.initializeSdk(...
-1
votes
1
answer
153
views
Any Marketing Cloud SDK Resource for Objective - C (Not Swift) Code? [closed]
Currently, I am developing the Marketing Cloud function from React Native using MC SDK, and want to implement push handling Url - Open Direct.
However, documentation to Handling URL using Objective C ...
0
votes
0
answers
54
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 ...
0
votes
0
answers
75
views
iOS 15 version7.2 sfmc_configureWithDictionary: crash
we found many crashes of the sfmc_configureWithDictionary: almost iOS15+ device over 3000+, and our project used 7.2 version MarketingCloudSDK, i have not found any some information may be able to use....
0
votes
0
answers
109
views
How to make lightning radio group buttons line up horizontally on iPhone?
Radio group buttons line up horizontally on Desktop, but vertically on iPhone.
Desktop:
|1|2|3|4|5|
iPhone:
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
HTML
<template>
&...
2
votes
0
answers
314
views
Can't upload app with MarketingCloudSDK 8.0.1 to TestFlight
I'm having trouble uploading the app to TestFlight with the latest MarketingCloudSDK 8.0.1. I get the following errors:
ERROR ITMS-90685: CFBundleIdentifier Collision. There is more than one bundle ...
3
votes
2
answers
177
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 ...
0
votes
0
answers
24
views
Will Push notification throw exception
I'm using Apex trigger to send push notifications and found the following limit.
An org can send up to 20,000 iOS and 10,000 Android push notifications per hour (for example, 4:00 to 4:59 UTC).
https:...
0
votes
0
answers
146
views
Issue with select html element inside LWC with ios Chrome
I've noticed a weird issue with <select> elements inside of an LWC component specifically with ios Chrome (Safari seems unaffected). When you click the select, the native options selector comes ...
2
votes
1
answer
304
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 ...
0
votes
0
answers
61
views
Post-Chat URL Page (Visualforce 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.
...
0
votes
1
answer
66
views
Device ID on iOS
I have implemented marketingCloudSdk on Android, like this:
MarketingCloudSdk.requestSdk(new MarketingCloudSdk.WhenReadyListener() {
@Override
public void ready(MarketingCloudSdk sdk) ...
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....
0
votes
0
answers
39
views
MSAL ADAL with the mobilesdk
Hi I am looking through the mobilesdk and I see you have oauth support and you support IDPs. http://forcedotcom.github.io/SalesforceMobileSDK-iOS/Documentation/SalesforceSDKCore/html/Constants/...
1
vote
0
answers
47
views
User gets logged out in SalesforceMobileSDK for ios connected app
I have an app based on ReactNativeTemplate. Token is valid until revoked. However since IOS 15 release users are logged out after 15 minutes of inactivity (Regardless of session settings which ...
0
votes
1
answer
62
views
mobileSDK support Xcode13 and iOS15?
Target :
SDK Name : mobileSDK SDK
ver.: 8.1.0 (for iOS) ← This is the currently installed SDK version.
What I want to know :
(1) The public document (*1) says "Xcode version: 12 or later. ,Base ...
0
votes
0
answers
27
views
RestClient.shared.send throws timed out error
Is it possible to increase the time out for a request?
I have tried batch request in postman, this spends more than 80 seconds.
But on an iPad, I was faced with an error "time out" that ...
1
vote
0
answers
21
views
Automatically launch "call" dialog on iOS mobile devices when clicking an action button
A client of mine is attempting to use an Action Button on a Salesforce record page trigger a phone call to a relevant phone number. The button merely says "Call." I have gotten this ...
0
votes
0
answers
15
views
URL No Longer Exists in iOS App - Experience Cloud Site
I created a Salesforce community (Experience Cloud site) and then by using the Salesforce Mobile Publisher I converted my community into an app for iOS and Android.
The app works fine on Android but ...
0
votes
1
answer
98
views
Unable to open SalesForceSDK Login screen After Logging out
I'm using the new MobileSync in my app. Below you could see my podfile.
Uncomment the next line to define a global
platform for your project platform :ios, '13.0' target 'MyApp' do
# Comment the ...
0
votes
1
answer
64
views
How to use custom navigations between Visualforce page embedded with LWC and local UI components without LWC in Hybrid_lwc app
I have created on project using forcehybrid command for Salesforce hybrid mobile App.
It is using Lightening Web Components (LWC) for UI. I want to also use local UIs created via HTML/JS with LWC. How ...
0
votes
0
answers
46
views
iOS file download
I need to download a binary file on the iOS for given CombinedAttachments objects. How can I do this? I tried to generate some links, but I was only able to download the JavaScript script file that ...