Closed byFadili closed 1 year ago
You can try adding this to ExpoMarketingCloudSdkNotificationsDelegate.swift
to see if it helps.
@objc
public func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
SFMCSdk.mp.setNotificationRequest(response.notification.request)
completionHandler()
}
You can try adding this to
ExpoMarketingCloudSdkNotificationsDelegate.swift
to see if it helps.@objc public func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) { SFMCSdk.mp.setNotificationRequest(response.notification.request) completionHandler() }
Hello @andrejpavlovic, tried to add the code but looks like it's not working 😞, another guess?
@FelipeGCastro So you:
After all this, the opened status is still not recorded?
@andrejpavlovic , it took a long time to show on the overview, but looks like it works, also I forgot to set analyticsEnabled: true
also I forgot to set analyticsEnabled: true
That would definitely help :)
@FelipeGCastro Did you have to add the code above that I suggested as well?
@FelipeGCastro I see you added it in https://github.com/allboatsrise/expo-marketingcloudsdk/pull/20 , works for me :)
Fix published in [49.0.1
](https://github.com/allboatsrise/expo-marketingcloudsdk/releases/tag/49.0.1
Hello !
I am using Marketing Cloud Mobile Push for push notification to send push notifications to registered devices and having some trouble tracking "Opened" and "Last activity date".
I tried the @allboatsrise/expo-marketingcloudsdk .track() method, but it doesn't seem to work.
On MC SDK documentation they provide some information about tracking and I wanted to know if that has been implemented in this package.
Does anyone have the same issue ? Any idea why did is happening ?
Thank you !