@allboatsrise/expo-marketingcloudsdk 47.0.0-android.25 → 47.0.0-android.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import ExpoModulesCore
|
|
2
|
+
import SFMCSDK
|
|
3
|
+
import MarketingCloudSDK
|
|
4
|
+
|
|
5
|
+
class ExpoMarketingCloudSdkNotificationsDelegate : EXNotificationsDelegate {
|
|
6
|
+
@objc
|
|
7
|
+
public func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any]) async -> UIBackgroundFetchResult {
|
|
8
|
+
SFMCSdk.mp.setNotificationUserInfo(userInfo)
|
|
9
|
+
return UIBackgroundFetchResult.newData
|
|
10
|
+
}
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allboatsrise/expo-marketingcloudsdk",
|
|
3
3
|
"author": "All Boats Rise Inc.",
|
|
4
|
-
"version": "47.0.0-android.
|
|
4
|
+
"version": "47.0.0-android.26",
|
|
5
5
|
"description": "Expo module for Salesforce Marketing Cloud SDK",
|
|
6
6
|
"homepage": "https://github.com/allboatsrise/expo-marketingcloudsdk",
|
|
7
7
|
"keywords": [
|