Questions tagged [ios]
iOS is a mobile operating system developed and distributed by Apple Inc.
284
questions
0
votes
0
answers
20
views
Background Task 172 ("MarketingCloudSDKIntelligence"), was created over 30 seconds ago - Remember to call UIApplication.endBackgroundTask(_:)
Can you advice how to solve this issue that is appearing in console when iOS app is put in the background?
Background Task 172 ("MarketingCloudSDKIntelligence"), was created over 30 seconds ...
0
votes
1
answer
34
views
SFMCSdk ios crash react native
Trying to integrate react-native 0.68 with "react-native-marketingcloudsdk": "^8.0.0"
The app crashed with the below error.
Terminating app due to uncaught exception '...
0
votes
1
answer
106
views
iOS MarketingCloudSDK -v 8.0.13 and SFMCSDK -v1.08 - App Crash
We are currently using iOS MarketingCloudSDK -v8.1.3 and SFMCSDK -v1.08 and SFMCKeychainItemWrapper has caused quite a few crashes. I have attached a Bugsnag code snippet for your review.
Hardware ...
1
vote
0
answers
69
views
What is the fastes way to completely reload an Aura Component during debugging for iPhones after code changes? How to avoid any caching?
After doing some debugging of an Aura Component on a real iPhone, I went almost crazy because I needed to kill/restart the Salesforce mobile app at minimum 2 times and sometimes even more often to ...
2
votes
2
answers
456
views
How to Run and Debug Salesforce Mobile App on the desktop? (reloaded 3rd time and many years later...)
I was struggling with mobile development from day one of Lightning Experience and the Saleforce Mobile app. Always I felt a huge pain and gave up mobile development and put my focus on desktop, ...
0
votes
0
answers
107
views
Unable to login with iOS app that incorporates MobileSDK
I have a question about the Mobile SDK for iOS.
We are implementing IP restriction settings in a sandbox environment,
I have set up IP restrictions in the sandbox environment so that test devices can ...
0
votes
1
answer
66
views
SFMCURLTypeAction constant in sfmc_handleURL
I am implementing the sfmc_handleURL function (doc reference), and I found there are 3 possible constants for the type argument:
SFMCURLTypeCloudPage
SFMCURLTypeOpenDirect
SFMCURLTypeAction
What ...
0
votes
1
answer
89
views
Missing file from sfmc-sdk-ios - Hardcoded path to all-product-headers.yaml
When trying to debug our application via LLDB, when I try and print out a variable using po object, it reports an error saying that it can't find all-product-headers.yaml. Here's the specific error:
...
0
votes
0
answers
46
views
How to modify and run SOQL query dynamically in swift/Objective-C SalesforceSDK 10.2.0?
How Update with dynamic value in the Where clause from Swift/Objective-c coding in the below
'usersyncs.json' configuration.
'''
{
"syncName": "syncDownUser",
"syncType": ...
0
votes
1
answer
405
views
Could not build module 'SFMCSDK' & module 'MarketingCloudSDK'
it's Ian, an iOS dev.
My client wants to migrate the push notifications campaigns management of their iOS and Android apps to Salesforce.
I'm facing compile issues after adding the marketing libraries ...
0
votes
0
answers
159
views
MarketingCloudSDK 8.0.9: Crash - missing UUID
Marketing Cloud SDK crash 8.0.8 and then On upgrade to 8.0.11 - Please add correct version of MarketingCloudSDK.bundle, Added version: 8.0.8/8.0.11
Has this issue been fixed? This prior question's ...
0
votes
1
answer
149
views
How to access IOS cache in Mobile publisher app?
I've created several different pages in a lightning Aura-type community. I want to implement the "Back" button functionality. Whenever a user navigates to a different page they should be ...
1
vote
1
answer
198
views
Marketing Cloud SDK crash 8.0.8 and then On upgrade to 8.0.11 - Please add correct version of MarketingCloudSDK.bundle, Added version: 8.0.8/8.0.11
We have been using 8.0.8 build and it was working fine till yesterday but all of the sudden, our Nightly builds releasing to TestFlight start crashing. So we have tried to update our SDK to 8.0.11 ...
1
vote
1
answer
402
views
Marketing Cloud SDK crash 8.0.11 Crash with error: Please add correct version of MarketingCloudSDK.bundle
I was previously using Marketing Cloud sdk 8.0.9 with MarketingCloud.bundle 8.0.8 which worked fine but my testflight build started crashing with error:
Please add correct version of MarketingCloudSDK....
0
votes
1
answer
140
views
(iOS) Issue concerning system token using Cordova plugin
I am developing a mobile application using Ionic and I've tried to include the MC-Cordova plugin (https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin).
The point is that I have everything ...
0
votes
0
answers
76
views
Salesforce SDK issues with Capacitor/Ionic
Asking because I can't seem to find a recent answer to this. Trying to incorporate the sdk with a new ionic/capacitor project. I was getting the "CocoaPods could not find compatible versions for ...
0
votes
0
answers
9
views
PreChatFieldTypes are not configurable inAppMessaging
PreChatFieldTypes TextField name
FirstName --> _firstName
LastName --> _lastName
Subject --> _Subject
Email --> _email
not able to configure the title names
I have searched for the ...
0
votes
1
answer
382
views
User is getting auto logged into an app on iOS even after logout
We have a custom application build on SF mobile SDK. We have a connected app on the CRM side where we use REST APIs for the communication with the mobile application. We noticed a peculiar issue on ...
1
vote
1
answer
222
views
iOS MarketingCloudSDK 8.0.9 crash
We currently use MarketingCloudSDK 8.0.6 and SFMCSDK 1.0.4 in our production app with no issue. One of our marketing folks received the email about a bug fix in 8.0.9 that fixes a bug that affects &...
1
vote
1
answer
266
views
Badge count is not increment/decrement in iOS App
We are migrating from Urban Airship to Salesforce MobilePush.
I am using react-native-marketingcloudsdk, when I am sending push notification, the AppIcon Badge counts are not getting increment, also ...
1
vote
1
answer
127
views
Crash on App start iOS version 8.0.8
We updated SDK version to 8.0.8 for using InApp messaging by method "trackEvent". Testing didn't catch crashes on app start. But we have a lot of it on production after release. We don't ...
0
votes
0
answers
350
views
Visualforce Page not loading on iPad
I'm trying to load a visualforce page on an iPad, but when I click on the button the page is blank and nothing is showing. The VF page is loading fine when I'm using SF on a computer. I tried to turn ...
1
vote
1
answer
273
views
sfmc_handleURL is not working for iOS with react-native-marketingcloudsdk
When I click notification which having OpenDirect URL, it's not triggering sfmc_handleURL method in AppDelegate.m. Kindly find out below code for the implementation.
AppDelegate.h
#import <React/...
-2
votes
1
answer
37
views
The "InboxMessages Methods" documentation is down
The "InboxMessages Methods" documentation. is down, is there any other place that has official documentation?
https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/inbox/inbox....
0
votes
1
answer
100
views
CoreData: -[NSManagedObjectContext setParentContext:] + 340
I'm having a crash for a few months that's affecting alot our user base. We are using MarketingCloudSDK with Cocoapods configuration:
- MarketingCloud-SFMCSdk (1.0.6)
- MarketingCloudSDK (8.0.8):
...
4
votes
1
answer
536
views
SFMCSDK Mobile push SDK iOS crashes with the exception: com.salesforce.security.keychainException
We are seeing a crash on Crashlytics after upgrading marketing cloud SDK to 8.0.8 and SFMCSDK version 1.0.0 in the live version of app. Many users are affected.
com.salesforce.security....
1
vote
1
answer
569
views
Crashing +entityForName: nil is not a legal NSManagedObjectContext parameter searching for entity name 'SFMCEndpointConfigurationEntity'
After Migrating the current mobile push SDK (iOS ) to the latest version, App started crashing on the launch with fatal exception NSInvalidArgumentException
+entityForName: nil is not a legal ...
0
votes
1
answer
165
views
SFMCSDK breaking Xcode previews in Xcode 14
We are using the marketing cloud SDK (through SPM) configured as mentioned in https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/get-started/get-started-migration.html
When using Xcode ...
1
vote
2
answers
274
views
Crashing after migrating to 8.0.0 with uncaught exception 'NSInternalInconsistencyException'
After Migrating the current mobile push SDK (iOS ) to the latest version, App started crashing on the launch with uncaught exception
Terminating app due to uncaught exception '...
2
votes
1
answer
489
views
On IOS when the app is closed, when clicking on a received notification it won't go through the sfmc_handle method and it always open the app instead
We tried to implement the sfmc_notification system in our flutter app, we setup sfmc and set URLHandlingDelegate, we are receiving the notifications which contains a url to open (deep linking), but ...
1
vote
0
answers
246
views
SFMCSDK setPushEnabled is ignored
I'm trying to implement app settings for the SFMCSDK.
I'm interested in softly disabling push notifications.
I'm trying to call SFMCSdk.mp.setPushEnabled(false) and receive SFMCSdk.mp.pushEnabled() == ...
1
vote
1
answer
167
views
ContactKey does not appear in Contact Builder -> All Contacts -> Mobile Push - React Native (IOS)
I followed all the steps in the react-native-marketingcloudsdk documentation, including activating the push, but the set contactKey does not appear in the Contact Builder.
SDK log is returning, push ...
0
votes
0
answers
440
views
Marketing Cloud not registering all the devices for push notifications [iOS]
We have a problem with the push notifications on iOS devices.
Firstly, we developed a new mobile app with the problem that it did not send the System Token, so users entered in MobilePush without ...
0
votes
0
answers
200
views
Please Help - Salesforce crashing on iOS 15
Recently we started to seeing many crash logs in our iOS app and the crash-free rate significantly dropped. If someone has similar problem or able to help will be greatly appreciated.
I will attach ...
0
votes
1
answer
206
views
Will Salesforce release an ios16 beta compatible update?
Salesforce currently does not support ios16. Will it be updated soon to be compatible or not until the fall when it’s officially released?
3
votes
1
answer
944
views
Cannot handle OpenDirect push notification when iOS app is not launched
Thank you for creating versatile push notification solution and recent update of SDK v8 was much Swifty API😄
I have a problem handling OpenDirect push notifications when the app is not launched.
I ...
3
votes
1
answer
660
views
Mobile App crashes for iOS 16
Salesforce mobile app fails to launch after installing iOS 16 on the iPhone 12 and above.
2
votes
0
answers
181
views
IOS Crashing with MarketingCloudSDK 8.0.6 and SFMCSDK1.0.4
I'm working with the latest version of marketingcloudsdk 8.0.6. I followed the documentation correctly, after some issues the push notification is arriving on the devices.
There is sometimes a crash ...
0
votes
1
answer
413
views
Disable push notification when user logged out when using MC SDK 8.x
I found the answer for 7.x versions of sdk how to disable push notifications. Its a simple call sfmc_setPushEnabled(Bool). But I have migrated to 8.x spms, i couldnt find a equivalent to ...
3
votes
1
answer
1k
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
1
answer
275
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
169
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) ...
1
vote
1
answer
144
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 ...
2
votes
1
answer
289
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
326
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
73
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 ...
1
vote
1
answer
652
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
1
answer
285
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
54
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).
...
1
vote
1
answer
536
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....