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
410
questions
0
votes
0
answers
12
views
iOS crash when SFMCSdk.identity.setProfileId(_:) is called
We are using MarketingCloudSDK 8.0.10 and SFMCSDK 1.0.5.
We are getting some crashes when SFMCSdk.identity.setProfileId(_:) is executed.
The exception is:
-[(dynamic class) addOperations:...
0
votes
0
answers
19
views
Marketing Cloud iOS Push open count is always 0
We are on Markeitng cloud sdk 8.1.2 and SFMC 1.1.2
As per documenation have implemented when notification received:
func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: ...
1
vote
1
answer
39
views
SFMC Push SDK - Registration Confirmation
Has anyone found a mechanism for confirming the push registration is actually successful in SFMC via the SDK or via App?
As per the documentation - https://developer.salesforce.com/docs/marketing/...
0
votes
1
answer
27
views
Migration Issues from MarketingCloudSDK 7.6.0 to 8.1.2 version
We are using MarketingCloudSDK 7.6.0 as an embeded xcframework in our iOS project, but we're migrating to MarketingCloudSDK 8.1.2 with SPM following the migration guide.
When we execute the app with ...
0
votes
0
answers
19
views
MarketingCloudSDK | In App Messaging | Button URLs not handled
I'm using MarketingCloudSDK iOS 8.1.2 version.
I'm not able to handle the action from the app in message.
this is my code :
In appdelagte configure I set:
SFMCSdk.requestPushSdk { mp in
mp....
0
votes
0
answers
20
views
Inquiry on Consolidating Mobile Push SDK Notification Handling Functions
https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/get-started/get-started-configureforpush.html
The following SDK functions pass user information in the Mobile Push SDK guide from the ...
0
votes
1
answer
42
views
Marketing Cloud - iOS app Push notificiation badge value count always 1
We are using Marketing Cloud SDK 8.1.2 for sending push notifications for iOS app.
In the notification payload the badge value is always 1 and does not increase when there are more number of ...
0
votes
0
answers
32
views
AMPscript in Location Entry push keeps runs when opening the app
We created a location entry message that has an AMPscript code that basically updates a field in a Data Extension by adding 1 to the value of that field. We implemented this solution to count push ...
0
votes
0
answers
33
views
Integration of Salesforce Marketing Cloud with Ionic-Angular
Good afternoon, I'm integrating the mobilePushSdk into a hybrid application in Ionic-Angular. Is there any example of integration with the SDK?
0
votes
0
answers
52
views
MobilePushSDK Hangs
After updating the library from cocoapods to SPM (and from version 7.6 to 8.1.2) we observed our hang rate increasing from 9.2 seconds/hour to 74.5 seconds/hour.
Apparently these hangs are occuring on ...
0
votes
1
answer
64
views
MobilePush React Native Expo Plugin iOS implementation problem
I wonder if you could help me identifying some problems regarding implementation of MobilePush React Native Expo plugin (MobilePush React Native Expo Plugin). We are currently collaborating with ...
1
vote
0
answers
36
views
Server Error Can't connect to the server: Unexpected HTTP response code from the identity service: 404. only on iOS
I would like to share an issue regarding the login process using the Salesforce SDK on iOS (latest version of the operating system). Currently, without using a VPN, I am unable to proceed with the app ...
1
vote
3
answers
309
views
SFMCSDK for iOS - Framework Signature Validation Failed
We have been facing an issue recently with the SFMCSDK.xcframework signature on Xcode15. The builds are failing due to the signature check in XCode failing. https://github.com/salesforce-...
1
vote
0
answers
47
views
push_Enabled incorrect at first registration call
We've been noticing that for some reason at first app launch, the push_Enabled property is set to true at the registration call of the iOS SDK (currently 8.1.2), even though no push permissions are ...
0
votes
1
answer
141
views
Broken phone with "Keychain is Not Accessible. SFMCSDK will Not initialize!"
We updated our iOS SFMC SDK and did a partial update where we first updated the SDK to 8.1.2 and only in a second build we fixed the dependency to https://github.com/salesforce-marketingcloud/sfmc-sdk-...
0
votes
1
answer
152
views
[Xcode][SPM] Failed to resolve Dependencies version 8.0.13
today I found out that I can't resolve any other than the newest (8.1.2) version of MarketingCloudSDK-iOS.
SPM says this when I try to resolve 8.0.13 version:
Failed to resolve dependencies ...
0
votes
0
answers
18
views
Salesforce Mobile SDK - Error Installing frocehybrid
Getting below error while installing Forcehybrid for creating hybrid App using Salesforce Mobile SDK.
Missing tools.
Installed sfdx is less than the minimum required version (6.0.0).
Please upgrade ...
0
votes
0
answers
48
views
iOS [MarketingCloudSDKFoundation(ClientData) sfmc_setAttributeNamed:value:]_block_invoke crash
We're experiencing crash from com.salesforce.marketingcloud.marketingcloudsdk.foundation.registration thread. Seems like it happens, when main thread calls sfmc_setPushEnabled.
Did anyone experience ...
0
votes
1
answer
143
views
Using SFMCSdk.requestPushSdk can lead to hangs
since Mobile Push SDK (8.1.0) and SFMCSDK (1.1.0) according to the documentation, all access to the PushInterface instance should be done via
SFMCSdk.requestPushSdk { mp in
// using mp is now safe
}...
0
votes
1
answer
85
views
What's "Listen To Registration Events"in Marketing cloud iOS SDK guide?
I'm trying to configure the Contact Key Registration SDK in Mobile Push.
I understand the process that delays registration until a contact key is set by the application, so that we can avoid double ...
0
votes
0
answers
64
views
MarketingCloudSDK Core Data Crash
I am experiencing crashes on an app in production with the following error message:
Fatal Exception: NSInvalidArgumentException
+entityForName: nil is not a legal NSManagedObjectContext parameter ...
0
votes
0
answers
238
views
MarketingCloudSDK-iOS | A few devices are not receiving push notifications. Which scenarios can cause the cancelled status?
We noticed that a few devices are not receiving push notifications on iOS.
We are using MarketingCloudSDK 8.1.0. This is how we are configuring the SDK:
let configuration = PushConfigBuilder(appId: ....
0
votes
1
answer
89
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 '...
1
vote
1
answer
304
views
Salesforce Marketing Cloud - Not Opted in with error "Missing or invalid device token"
Good morning,
I am having issues in my iOS APP when trying to register for remote notifications using the SFMC Swift SDK:
sfmc-sdk-ios v1.1.0
MarketingCloudSDK-iOS v8.1.0
The steps I am following are:
...
1
vote
0
answers
91
views
Has someone created a Notification Centre for their Mobile App?
By notification center I am referring to a centralized location where users can view and manage all the notifications generated by the app.
For eg - The heart icon on Instagram leads to the activity ...
0
votes
0
answers
98
views
Mobile Push SDK creating iOS test users as OPTED OUT
As stated, the SFMC Mobile Push iOS SDK is creating test users in an OPTOUT status. Meaning the OPTOUT Date is same as the create date, and there is no OPTIN date.
I found this post on here (on how ...
0
votes
0
answers
41
views
Salesforce MobileSDK app login via SAML SSO still required to perform Salesforce MFA
My org has an SAML 2.0 Single Sign-On enabled with:
Azure AD:
SAML Identity Type: Federation ID
SAML Identity Location: Subject
Service Provider Initiated Request Binding: HTTP Redirect
Use ...
0
votes
1
answer
285
views
How to request iOS Push Notification permission from 3rd party library instead from native code, react-native?
I'm using official react-native marketing cloud sdk for push notification integration. However as I've seen in the example as well ( https://github.com/salesforce-marketingcloud/react-native-...
0
votes
1
answer
275
views
Enable/disable analytics for tracking push notifications after MarketingCloud SDK initialization? (iOS)
MarketingCloud analytics for tracking push notifcations can be enabled by calling setAnalyticsEnabled(true) on the PushConfigBuilder instance when initializing SFMCSdk, as explained here.
We would ...
0
votes
1
answer
90
views
How to get more usable screen area in the Salesforce mobile app on iPhones for Aura Components? Temporary full screen mode?
Some iPhones and iPhone SE do have very small screens. If you want to implement complex processes, every tiny bit of space on the screen is required and should not be wasted for non-functional or ...
5
votes
0
answers
182
views
How to debug the salesforce app on iphone?
I'm working on optimizing some custom lighning components for mobile use.
On an android phone those components are rendered fine by the saleforce app, but if I open up the same components in the ...
1
vote
1
answer
157
views
MarketingCloudSDK iOS 8.0.13 Security Flaws
We have integrated Salesforce Marking Cloud SDK for iOS v.8.0.13 as part of our connectivity implementation between our App and Salesforce Cloud.
While running Security Scans on our iOS Mobile App ...
1
vote
1
answer
265
views
MarketingCloudSDK Crashes SwiftUI App in Beta TestFlight: _dispatch_once
We've implemented Push Notifications through SalesForce Marketing Cloud and after some beta testing with internal testers it seems the SFMCSDK is causing our app to Crash intermittently due to "...
1
vote
2
answers
481
views
Mobile push using one Mobile App and Multi Org/multiple BUs
We have the following structure:
Parent BU
1.1 Child BU A - connected to SFCRM Org 1
1.2 Child BU B - connected to SFCRM Org 2
We want to develop a Mobile App and push notifications to the relevant ...
1
vote
0
answers
165
views
Mobile SDK authentication on iOS via native browser
We want to activate "Use the native browser for user authentication on iOS", but we are facing an error during the sign-in process. Our application uses mobile SDK, and without this option, ...
0
votes
1
answer
96
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
49
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": ...
1
vote
1
answer
98
views
Mobile Push QUESTION - Contact Key
My DEV app team is making a change to the app so that unknown contacts will not be included in MC's all contact. This is done via the function setDelayRegistrationUntilContactKeyIsSet(true).
How can ...
0
votes
2
answers
245
views
How to access the Mobile App Event Data Extension in Salesforce Marketing Cloud?
I am trying to find out the way to access the Data Extension created by Mobile App Entry Event through journey builder.
my goal is to use this DE to link in attribute group.
1
vote
1
answer
509
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
200
views
SFMC MobilePUSH SDK error setKeychainAccessibleAttribute
I implement mobile application which plug with SFMC SDK, according to SF guild from this link sf ref: https://github.com/salesforce-marketingcloud/MarketingCloudSDK-iOS/blob/v8.0.10/LearningApp/...
0
votes
0
answers
307
views
Marketing cloud Mobile Push app connection
I'm currently connecting my client's app into MobilePush to send push notifications.
I've added APNs.p8 Auth Key, Key ID, Team ID, Bundle ID. For both IOS & Android, it seems enabled as below.
...
-2
votes
1
answer
70
views
SAlesforce Mobile App
Salesforce Mobile App: LWC Navigation to Standard New Record Page Errors when State Includes defaultFieldValues. What's the workaround for this?
1
vote
1
answer
416
views
Marketing Cloud SDK iOS: SFMCSdk.mp.refreshMessages returns false & not triggering SFMCInboxMessagesRefreshCompleteNotification
Environment
MarketingCloudSDK 8.0.9
SFMCSDK 1.0.6
We implemented the MarketingCloudSDK and SFMCSDK with SPM according to the documentation.
Problem Description
We receive Push Notification and In ...
-1
votes
1
answer
161
views
MarketingCloud crashing with CoreData failures
We're seeing MarketingCloud crashing on our app while trying to perform few CoreData tasks. Here are the 2 stack traces with errors that we see on Crashlytics:
Fatal Exception: ...
0
votes
0
answers
189
views
Marketing Cloud Mobile SDK - issue with in-app messages
I am trying to implement the latest version of the Marketing Cloud Mobile SDK to start using In-app message and Inbox. I am facing some issues
MarketingCloudSDK Version(3.6) -> In This Build Push ...
1
vote
1
answer
296
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
393
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
0
answers
262
views
SFMC Inbox marking message as Read status clears all notifications from the notification tray on iOS
We are using mobile studio to send Inbox Push notification with Alert + Inbox, the push notification arrives fine and we can call MarketingCloudSDK.sharedInstance().sfmc_getUnreadMessages() to ...
1
vote
1
answer
151
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 ...