Questions tagged [mobilepush-ios]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
48 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
77 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 vote
1 answer
28 views

Initialisation of SFMCSDK is not compatible with Objective-C

I am trying to initialise in Objective-C. In Swift the method is: [SFMCSdk initializeSdk: ConfigBuilder().setPush(config: mobilePushConfiguration, onCompletion: completionHandler).build()]; But it ...
user avatar
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) ...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 13
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) -> () = { ...
user avatar
  • 101
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 ...
user avatar
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 ...
user avatar
1 vote
0 answers
22 views

Is the marketing cloud sdk (React Native) supported for ios15? [closed]

When I run the app with new XCode (for ios 15), the devices are not registered in marketing cloud. But there are no errors as well on registration.
user avatar
1 vote
1 answer
35 views

How to track app version of device for MobilePush

For MobilePush is there a way (e.g. a standard field that I could discriminate) to see the version of the app the user logs in with? The reason is to be able to know on the marketing platform whether ...
user avatar
  • 71
0 votes
0 answers
42 views

Marketing Cloud MobilePush SDK IOS gives records with system token null

We have configured an app to connect a client app with Marketing Cloud through Marketing Cloud SDK. Android Platform records are being registered correctly but IOS Platform records are being ...
user avatar
0 votes
1 answer
58 views

Is it possible to track In-app messages on MobilePush SDK?

My team is implementing MobilePush, and we are facing some difficulties regarding analytics. We checked the official SFMC MobilePush documents (both Android and iOS) , Android Javadocs, and iOS ...
user avatar
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....
user avatar
  • 113
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 ...
user avatar
  • 23
1 vote
0 answers
70 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
1 vote
1 answer
318 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
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 ...
user avatar
0 votes
1 answer
229 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
0 answers
82 views

Adding additional field to '_PushAddress' in Marketing Cloud and passing the value through API call

Currently I cannot extract SubscriberKey/Contact Key when querying _PushAddress. Hence, I added a an additional field called SubscriberKey to the _PushAddress in Data Designer. I can query this field ...
user avatar
  • 29
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 ...
user avatar
1 vote
0 answers
29 views

Updating to the latest SDK: 0.9.3

I have an issue while updating the SDK to the latest version on iOS So i did the update from 0.9.3 and spm branch for MarketingCloudSDK. My question is how can i access the old MarketingCloudSDK....
user avatar
0 votes
1 answer
606 views

Universal links not working when attached in a push notification with app killed

Hello and thank you in advance for your help. I'm experiencing a problem in ios when the app is closed (killed) and a notification with a deep link is received: the url of the deep link is not passed ...
user avatar
0 votes
1 answer
532 views

iOS Push Notification - sfmc_handle() not called when app was closed

If the app is already open or in the background, and a push notification is sent to the device then sfmc_handle(_ url: URL, type: String) is fired properly. Everything works as expected as the link ...
user avatar
  • 1
1 vote
1 answer
346 views

Can the Contact Key for mobile push contacts be updated?

Currently we were using a unique number as Contact Key for Mobile Push contacts. (Not using email/phone number). In SFMC, when I go to Contact Builder > All Contacts I can see all the information ...
user avatar
1 vote
1 answer
174 views

Mobile Push SDK Learning App (iOS 14.x) crashing when a specific type of In-App Messages is delivered

This might be a lot and might be an edge case, but any info how to combat this error will be valuable for us. We have integrated the latest version of the iOS Learning App with Marketing Cloud and it ...
user avatar
0 votes
1 answer
85 views

Marketing Cloud SDK iOS - Inbox Messages not cleared/deleted when user logout

All messages received while authenticated remain on the Inbox after the user signs out and the unread messages icon is still displayed on the app icon when the user is signed out. Is there a way to ...
user avatar
  • 101
1 vote
2 answers
306 views

How can I import salesforce marketing cloud in ios

https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk How can I import salesforce marketing cloud in ios After npm install and pod install, when I put the below code in ...
user avatar
  • 11
1 vote
0 answers
50 views

Push Notifications sent to iOS always fail

I am integrating the MarketingCloudSDK v7.5.0 in a iOS app. I configured the SDK for receiving push notifications and I also configured the APNs key p8 in Salesforce page. When I send a push from ...
user avatar
0 votes
1 answer
25 views

'IDFA' is used as a contact key for some contacts and 'unique keys' for other contacts

When I go to 'All Contacts'> 'Mobile Push' I noticed that some contacts have IDFA(advertiser ID) as Contact Keys. While other contacts have unique numbers as Contact Keys. Do you know why this is ...
user avatar
  • 1
2 votes
1 answer
99 views

MarketingCloudSDK - iOS SDK XCFramework support

As Apple has officially noted that fat binaries are an incorrect distribution means for Universal framework support and have released XCFrameworks as a proper solution to this issue, they have also ...
user avatar
0 votes
1 answer
156 views

SFMC In-App Messaging badge count for iOS

We have integrated SFMC Inbox messaging in our iOS application. Whenever we trigger an alert + push inbox message from SFMC portal, badge count on the app icon is incremented by 1. We mark a message ...
user avatar
  • 113
1 vote
1 answer
324 views

SFMC: App Inbox (Alert + Inbox) Message not opening the cloudpage and marking message as "Read"

Our requirement is to send alert (push) + Inbox message to the end users by creating a mobile optimized cloudpage in SFMC. However, when the message is being sent from SFMC, there is no way for our ...
user avatar
  • 11
1 vote
1 answer
338 views

Switching Business Unit iOS

I have a use case where I need to send a push notification to the same mobile app from two different business units. Can multiple business units be active at one time? Or can I switch to a different ...
user avatar
0 votes
1 answer
89 views

Is it possible to change the text font in Marketing Cloud?

Is it possible to move the Media image from bottom-right to the left of the Push notification. and is it possible to change the text font in Marketing Cloud?
user avatar
2 votes
1 answer
247 views

iOS Swift Package Manager Support [closed]

Is there any plan regarding support MarketingCloudSDK iOS through Swift Package Manager? Best Regards, Inácio.
user avatar
0 votes
1 answer
113 views

Unable to receive iOS Push Notification from MobilePush

Scenario: The iOS notifications in SFMC was setup in Jun-Jul when .p12 certificate was in use. During that period we were able to send out notifications. on 14-sep, .p8 was made mandatory for sending ...
user avatar
1 vote
1 answer
494 views

Mobile Push notification not working debug mode iOS

I've created two mobile push apps in MC, one for production and the other for development. For both of them i've uploaded the same .p8 file and configuration, except for the APNs Environment. The ...
user avatar
0 votes
0 answers
152 views

Why status is Not Opted In and .sfmc_pushEnabled() is true?

I have a problem with opt out, when I print the MarketingCloudSDK.sharedInstance().sfmc_pushEnabled() this returns true, but when I go in portal the same DeviceID is showing this informations: Status: ...
user avatar
1 vote
1 answer
54 views

iOS - Error when executing sfmc_setEventDelegate

I'm getting this error log in some situations which I haven't identified yet. <MarketingCloudSDK+Base.m:(409)> iOS file protection is enabled and data is not available even after 5 seconds of ...
user avatar
3 votes
1 answer
198 views

Extracting In-App Message Analytics data in journey builder for individual contacts

We would like to track for individual contacts the following data: Was the message displayed or not? What buttons were clicked within the message. We can see this info when clicking on a in-app ...
user avatar
  • 213
1 vote
0 answers
81 views

MarketingCloudSDK iOS (v7.2.1) Crashes in SFMCNetworkRequest

Getting a fair amount of crashes from v7.2.1 of the MarketingCloudSDK via our third party crash reporter Crashlytics. Probably had about 20 crashes since we upgraded to v7.X.X. Most of the effected ...
user avatar
1 vote
1 answer
181 views

Displaying in-app mobile push messages while app is in active use

Hi everyone I would like to know if there's a way to send mobile push in-app messages that will appear instantly in the app screen without the need for the user to close the app and reopen it again. ...
user avatar
  • 213
0 votes
0 answers
406 views

Marketing Cloud MobilePush SDK IOS React Native not showing the Device ID in the Marketing Cloud All Contact

MobilePush SDK IOS React Native not showing the Device ID in the Marketing Cloud All Contacts Base on the links here: https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk We ...
user avatar
1 vote
1 answer
200 views

Xamarin support for MobilePush SDK

I want to re-ask this question that is 3 years old. In the year 2020, does SalesForce provide Xamarin library for MobilePush SDK, or still only platform-specific libraries for iOS and Android? We ...
user avatar
  • 11
2 votes
1 answer
98 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 ...
user avatar
  • 123
0 votes
1 answer
96 views

iOS - Crash in SFMCNetworkRequest with sdk v6.4.2

Stacktrace for the issue related to SFMCNetworkRequest using sdk v6.4.2 Terminating app due to uncaught exception 'NSGenericException', reason: 'Task created in a session that has been invalidated' [...
user avatar
  • 101
0 votes
1 answer
159 views

Marketing Cloud Cordova Plugin - Inapp notification

We are using Marketing Cloud Cordova Plugin for sending push messages from Marketing Cloud. When we send the push message, it appears in the notification bar of the phone. I want to check if we can ...
user avatar
  • 643
0 votes
1 answer
72 views

InBox not working after re-install the app

InBox not working after re-install the app on the same device. So, in that case Contact will have 2 devices. Steps: List item Install app. Set Contact Key. Verify that InBox messages delivered. ...
user avatar
  • 3
0 votes
1 answer
143 views

MobilePush Push Notification and InBox relationships

We want to use InBox feature only on iOS and Android applications (without push notifications). Based on the LearningApp sample there is no option to disable push notifications during initialization ...
user avatar
  • 3