Skip to main content

Questions tagged [mobilepush-ios]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 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 ...
Rohan Mehta's user avatar
0 votes
0 answers
44 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 ...
fegoulart's user avatar
  • 101
0 votes
1 answer
47 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 ...
sfPerson's user avatar
1 vote
3 answers
230 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-...
Georges's user avatar
  • 13
1 vote
0 answers
40 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 ...
Skip's user avatar
  • 11
3 votes
0 answers
97 views

MarketingCloudSDK-iOS repository has been Archived

The repository for the iOS MarketingCloudSDK has been archived: https://github.com/salesforce-marketingcloud/MarketingCloudSDK-iOS Is there a replacement available? All the documentation I've found ...
tww0003's user avatar
  • 131
0 votes
1 answer
104 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 ...
Michael Pohl's user avatar
0 votes
1 answer
121 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 }...
Stephan Wolff's user avatar
0 votes
0 answers
61 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 ...
Denis's user avatar
  • 1
0 votes
0 answers
203 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: ....
Emerson Mendes Filho's user avatar
0 votes
1 answer
85 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 '...
katik S's user avatar
  • 11
1 vote
1 answer
217 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: ...
Alberto Rodríguez's user avatar
0 votes
1 answer
223 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-...
Thidasa Pankaja's user avatar
0 votes
0 answers
39 views

MarketingCloud SDK - Xamarin Android- Couldn't access subtitle field

I'm currently working with the Salesforce Marketing Cloud SDK in my Xamarin project. In the SDK response, I notice that the subtitle field is missing, even though I've set it in the SFMC dashboard.
Georgin Jose's user avatar
0 votes
1 answer
230 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 ...
SvenMajeric's user avatar
-1 votes
2 answers
250 views

How to Send mobilepush for specific contactkey or an email

I've integrated Salesforce Marketing Cloud Mobile Push in my react-native app. When user logged in I'm setting a contact key. When I looked in the platform, the specific deviceId is being shown with ...
Thidasa Pankaja's user avatar
-1 votes
1 answer
66 views

How to send push notification to logged in users only in Salesforce Marketing Cloud?

I'm using a integrating MobilePush in Salesforce MarketingCloud into a react-native app. And I'm using this library https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk I tested ...
Thidasa Pankaja's user avatar
-1 votes
1 answer
201 views

Mobile Push SDK log - Marketing cloud

how to get the below details as our developer team is unable to fetch these for investigation. Require these for IOS SdkStatelogs, SDK Console log and Config.xml
Umang Dwivedi's user avatar
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 ...
JK062023's user avatar
1 vote
1 answer
235 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 "...
Michael Reinders's user avatar
2 votes
1 answer
272 views

How to configure right contact key for MobilePush - Marketing cloud

I am facing issue in getting the right Contact Key in Marketing cloud for mobile push So here is the scenario - Recently we noticed that MC was populating with the correct SF contact key for some push ...
Umang Dwivedi's user avatar
1 vote
1 answer
86 views

MobilePush iOS Certificate Not Set Up and Push Notification Opt Ins not Showing Up in Marketing Cloud

We set up MobilePush in our Marketing Cloud Instance but didn't fully set up Sending Services. Our App was released and MobilePush Opt-ins started to flow in for Android but not for iOS (despite ...
Mike C's user avatar
  • 11
0 votes
0 answers
235 views

Open Rate for App Push Notification is showing as 0% for iOS and Android

Currently, we are facing the challenge that the open/open rate is coming as 0 in Salesforce. We have also set SFMCSdk.mp.setNotificationRequest(response.notification.request) But we had not enabled ....
Ankit Thakur's user avatar
1 vote
1 answer
493 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....
Rohan Mehta's user avatar
0 votes
1 answer
221 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 ...
Alberto Gómez's user avatar
1 vote
1 answer
404 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 ...
Sebastian Baar's user avatar
-1 votes
1 answer
158 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: ...
Gui Freitas's user avatar
1 vote
1 answer
283 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 &...
Joey's user avatar
  • 37
1 vote
1 answer
369 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 ...
rkaartikeyan's user avatar
1 vote
0 answers
247 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 ...
Kai Chen's user avatar
1 vote
1 answer
377 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/...
rkaartikeyan's user avatar
-2 votes
1 answer
41 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....
Ronald Silva's user avatar
4 votes
1 answer
660 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....
Rohan Mehta's user avatar
1 vote
1 answer
702 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 ...
Ajay Singh Mehra's user avatar
1 vote
2 answers
296 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 '...
Ajay Singh Mehra's user avatar
1 vote
1 answer
87 views

Cannot retrieve inbox messages when re-installing app or installing on second device

When implementing Inbox Messaging using MarketingCloudSDK iOS (v8.0.7), I have observed that when a Contact installs the app on a second device, previous sent messages are not available on the new ...
Eliot Harper's user avatar
  • 16.6k
2 votes
1 answer
682 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 ...
Ashkan Oliaie's user avatar
1 vote
0 answers
362 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() == ...
Yanny's user avatar
  • 111
1 vote
0 answers
205 views

Mobile push notifications issues with listener (plugin MC-Cordova-Plugin)

Problem: We are trying to implement Marketing cloud mobile push notifications with our hybrid ionic/cordova app, in which the listener does not trigger in both android and iOS. Android: With android ...
fmls1989's user avatar
1 vote
0 answers
262 views

Getting error while building in xcode error: non-portable path to file

After migrating to SFMCSDK to v8 everything seem to work fine. But now I get the following error when building the project: <module-includes>:2:9: error: non-portable path to file '"Headers/...
mschropp's user avatar
3 votes
1 answer
1k 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 ...
Yoshihisa Masaki's user avatar
0 votes
0 answers
593 views

MobilePush IOS lots of devices are incorrectly registered as opted out

We are experiencing weird opt-out behavior while implementing the Mobilepush SDK into Production on the iOS platform. Roughly 70% of the registered iOS devices are incorrectly registered as opted-out. ...
Stuart's user avatar
  • 47
1 vote
0 answers
66 views

Best practice to store credentials for Marketing Cloud Mobile SDK

What would be the best practice to store the credentials such as appId and access token for Marketing Cloud Mobile SDK? If we hard code it directly inside the app, do you think there is a security ...
shinyB's user avatar
  • 111
1 vote
1 answer
583 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 ...
user114747's user avatar
1 vote
1 answer
782 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....
user114747's user avatar
1 vote
1 answer
393 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 ...
harsh rajput's user avatar
1 vote
0 answers
186 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) ...
Lorenzo Barranco's user avatar
1 vote
1 answer
159 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 ...
Joey's user avatar
  • 37
3 votes
1 answer
362 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 ...
Mart Ryan Civil's user avatar
1 vote
0 answers
89 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.
Nav Dessai's user avatar