Questions tagged [mobilepush-ios]
The mobilepush-ios tag has no usage guidance.
152
questions
0
votes
0
answers
22
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 '...
1
vote
1
answer
74
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:
...
0
votes
0
answers
86
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
0
answers
36
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.
0
votes
1
answer
58
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 ...
-1
votes
2
answers
74
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 ...
-1
votes
1
answer
48
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 ...
-1
votes
1
answer
78
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
1
vote
1
answer
142
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
120
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
1
answer
98
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 ...
1
vote
1
answer
55
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 ...
0
votes
0
answers
139
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 ....
0
votes
0
answers
59
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
403
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
91
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 ...
1
vote
1
answer
306
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
119
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
323
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 ...
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
0
answers
141
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
275
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....
4
votes
1
answer
537
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
570
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 ...
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 '...
1
vote
1
answer
37
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 ...
2
votes
1
answer
492
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
247
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
140
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 ...
1
vote
0
answers
241
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
945
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
406
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
63
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
461
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
615
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
301
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
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 ...
1
vote
0
answers
78
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
354
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
379
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 ...
1
vote
1
answer
248
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 ...
1
vote
1
answer
539
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
197
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
153
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 ...