customerio-expo-plugin 2.10.0 → 2.10.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "customerio-expo-plugin",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "description": "Expo config plugin for the Customer IO React Native SDK",
5
5
  "main": "plugin/lib/commonjs/index",
6
6
  "module": "plugin/lib/module/index",
@@ -55,7 +55,7 @@
55
55
  "registry": "https://registry.npmjs.org/"
56
56
  },
57
57
  "peerDependencies": {
58
- "customerio-reactnative": "5.1.0"
58
+ "customerio-reactnative": "5.1.1"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@eslint/js": "^9.33.0",
@@ -6,7 +6,7 @@ import io.customer.messaginginapp.MessagingInAppModuleConfig
6
6
  import io.customer.messaginginapp.ModuleMessagingInApp
7
7
  import io.customer.messagingpush.MessagingPushModuleConfig
8
8
  import io.customer.messagingpush.ModuleMessagingPushFCM
9
- import io.customer.reactnative.sdk.messaginginapp.ReactInAppEventListener
9
+ import io.customer.reactnative.sdk.messaginginapp.NativeMessagingInAppModuleImpl
10
10
  import io.customer.sdk.CustomerIOBuilder
11
11
  import io.customer.sdk.core.util.CioLogLevel
12
12
  import io.customer.sdk.data.model.Region
@@ -31,7 +31,7 @@ object CustomerIOSDKInitializer {
31
31
  addCustomerIOModule(
32
32
  ModuleMessagingInApp(
33
33
  MessagingInAppModuleConfig.Builder(siteId, region)
34
- .setEventListener(ReactInAppEventListener())
34
+ .setEventListener(NativeMessagingInAppModuleImpl.inAppEventListener)
35
35
  .build()
36
36
  )
37
37
  )
@@ -6,7 +6,7 @@ import io.customer.messaginginapp.MessagingInAppModuleConfig
6
6
  import io.customer.messaginginapp.ModuleMessagingInApp
7
7
  import io.customer.messagingpush.MessagingPushModuleConfig
8
8
  import io.customer.messagingpush.ModuleMessagingPushFCM
9
- import io.customer.reactnative.sdk.messaginginapp.ReactInAppEventListener
9
+ import io.customer.reactnative.sdk.messaginginapp.NativeMessagingInAppModuleImpl
10
10
  import io.customer.sdk.CustomerIOBuilder
11
11
  import io.customer.sdk.core.util.CioLogLevel
12
12
  import io.customer.sdk.data.model.Region
@@ -31,7 +31,7 @@ object CustomerIOSDKInitializer {
31
31
  addCustomerIOModule(
32
32
  ModuleMessagingInApp(
33
33
  MessagingInAppModuleConfig.Builder(siteId, region)
34
- .setEventListener(ReactInAppEventListener())
34
+ .setEventListener(NativeMessagingInAppModuleImpl.inAppEventListener)
35
35
  .build()
36
36
  )
37
37
  )
@@ -6,7 +6,7 @@ import io.customer.messaginginapp.MessagingInAppModuleConfig
6
6
  import io.customer.messaginginapp.ModuleMessagingInApp
7
7
  import io.customer.messagingpush.MessagingPushModuleConfig
8
8
  import io.customer.messagingpush.ModuleMessagingPushFCM
9
- import io.customer.reactnative.sdk.messaginginapp.ReactInAppEventListener
9
+ import io.customer.reactnative.sdk.messaginginapp.NativeMessagingInAppModuleImpl
10
10
  import io.customer.sdk.CustomerIOBuilder
11
11
  import io.customer.sdk.core.util.CioLogLevel
12
12
  import io.customer.sdk.data.model.Region
@@ -31,7 +31,7 @@ object CustomerIOSDKInitializer {
31
31
  addCustomerIOModule(
32
32
  ModuleMessagingInApp(
33
33
  MessagingInAppModuleConfig.Builder(siteId, region)
34
- .setEventListener(ReactInAppEventListener())
34
+ .setEventListener(NativeMessagingInAppModuleImpl.inAppEventListener)
35
35
  .build()
36
36
  )
37
37
  )