Questions tagged [mobilepush-ios]
The mobilepush-ios tag has no usage guidance.
145
questions
0
votes
0
answers
28
views
Mobilepush SDK iOS V7.6.0 InAppMessage url does not trigger the call back in Delegate (Xamarin iOS)
I have implemented MobilePush iOS SDK 7.6.0 in my xamarin forms app.
When I send an in-app message(with both App and Web urls), it is received in my iOS application, but the problem is that the ...
1
vote
1
answer
175
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
41
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
33
views
In Marketing cloud after sen a push I got a status as failure (iOS)
[![Error I am getting after send push][1]][1]
Steps I followed:
step 1:
check device id and connect id reflected in marketing cloud.(Details match with my sample data)
step 2:
I created new record in ...
0
votes
1
answer
98
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
58
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
132
views
iOS MarketingCloud / SFMC SDK producing random app crashes
I have upgraded to MarketingCloud / SFMC SDK (v8.0.8 / v1.0.6) for a few months, recently we are getting more random app crashes reported by our customers and also on our monitoring tool. Looking into ...
0
votes
1
answer
107
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 &...
0
votes
1
answer
128
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
70
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 ...
0
votes
1
answer
136
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
30
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
0
answers
64
views
Marketing Cloud MobilePush Delay Problem
We have started sending MobilePush Messages, with 2 types of messages: Outbound Messages & Inbox Messages.
When sending the Outbound Messages & Inbox Messages at the same time, the smartphone ...
0
votes
0
answers
35
views
Mobile App Event Tracking Payload
I'm implementing Mobile App Event Tracking to determine in which situation and screen my in-app messages should show, but when I received the payload from SDK the notification service with default ...
3
votes
1
answer
282
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....
0
votes
1
answer
315
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
2
answers
179
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 '...
0
votes
1
answer
24
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 ...
1
vote
1
answer
283
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
108
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
0
answers
108
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 ...
0
votes
0
answers
47
views
handleURL method does not fire in iOS with SDK Version 8.0.6
Platform: iOS
OS Version: 15.5, 14.4
MarketingCloudSDK Version: 8.0.6
Issue:
When we click on Push Notification when the App is completely closed, the method "sfmc_handleURL" that ...
1
vote
0
answers
187
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/...
3
votes
1
answer
643
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 ...
0
votes
0
answers
52
views
Get Salesforce message id from userInfo (Push Message json) in swift
With what key can I get the salesforce message ID from userInfo, to make something with that message in the future (for example on push click I open a specified screen in my app, and then I need to ...
0
votes
0
answers
201
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.
...
1
vote
0
answers
45
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 ...
1
vote
1
answer
307
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 ...
1
vote
1
answer
415
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....
1
vote
1
answer
176
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 ...
1
vote
0
answers
138
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
122
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
1
answer
97
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
107
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
77
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 ...
1
vote
1
answer
158
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 ...
1
vote
0
answers
61
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.
1
vote
1
answer
219
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 ...
0
votes
0
answers
237
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 ...
0
votes
1
answer
155
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 ...
0
votes
1
answer
342
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....
1
vote
1
answer
126
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 ...
1
vote
0
answers
124
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 ...
1
vote
1
answer
730
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 ...
0
votes
1
answer
507
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
497
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 ...
2
votes
0
answers
369
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 ...
1
vote
0
answers
41
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....
0
votes
1
answer
1k
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 ...
0
votes
1
answer
986
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 ...