zixflow-reactnative 1.1.2 → 1.1.4

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.
Files changed (249) hide show
  1. package/README.md +2224 -322
  2. package/android/build.gradle +18 -1
  3. package/android/consumer-rules.pro +3 -2
  4. package/android/gradle.properties +1 -1
  5. package/android/src/main/java/com/zixflow/reactnative/sdk/NativeZixflowModule.kt +69 -24
  6. package/android/src/main/java/com/zixflow/reactnative/sdk/ZixflowReactNativePackage.kt +25 -1
  7. package/android/src/main/java/com/zixflow/reactnative/sdk/constant/Keys.kt +19 -3
  8. package/android/src/main/java/com/zixflow/reactnative/sdk/geofence/NativeGeofenceModule.kt +65 -0
  9. package/android/src/main/java/com/zixflow/reactnative/sdk/liveactivities/NativeLiveActivitiesModule.kt +310 -0
  10. package/android/src/main/java/com/zixflow/reactnative/sdk/logging/NativeZixflowLoggingModule.kt +2 -2
  11. package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginapp/NativeMessagingInAppModule.kt +149 -10
  12. package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginapp/ReactInboxEventListener.kt +99 -0
  13. package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginbox/NotificationInboxBellViewManager.kt +38 -0
  14. package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginbox/NotificationInboxViewManager.kt +30 -0
  15. package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginbox/ReactComposeHostView.kt +96 -0
  16. package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginbox/ReactNotificationInboxBellView.kt +48 -0
  17. package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginbox/ReactNotificationInboxView.kt +17 -0
  18. package/android/src/main/java/com/zixflow/reactnative/sdk/messagingpush/NativeMessagingPushModule.kt +11 -1
  19. package/android/src/main/res/values/zixflow_config.xml +1 -1
  20. package/android/zixflow-core.gradle +17 -7
  21. package/docs/cocoapods-deployment-target-normalization.md +139 -0
  22. package/ios/cocoapods_deployment_target.rb +432 -0
  23. package/ios/wrappers/NativeZixflow.mm +37 -0
  24. package/ios/wrappers/NativeZixflow.swift +135 -1
  25. package/ios/wrappers/ZixflowReactNativeDeepLinkRequestStore.swift +123 -0
  26. package/ios/wrappers/ZixflowReactNativeDeepLinkRouter.swift +312 -0
  27. package/ios/wrappers/geofence/NativeGeofence.mm +46 -0
  28. package/ios/wrappers/geofence/NativeGeofence.swift +27 -0
  29. package/ios/wrappers/inapp/NativeMessagingInApp.mm +22 -0
  30. package/ios/wrappers/inapp/NativeMessagingInApp.swift +90 -0
  31. package/ios/wrappers/inbox/InboxHostContainment.swift +40 -0
  32. package/ios/wrappers/inbox/RCTNotificationInboxBellNative.h +12 -0
  33. package/ios/wrappers/inbox/RCTNotificationInboxBellNative.mm +98 -0
  34. package/ios/wrappers/inbox/RCTNotificationInboxViewNative.h +12 -0
  35. package/ios/wrappers/inbox/RCTNotificationInboxViewNative.mm +78 -0
  36. package/ios/wrappers/inbox/ReactInboxEventListener.swift +76 -0
  37. package/ios/wrappers/inbox/ReactNotificationInboxBellView.h +22 -0
  38. package/ios/wrappers/inbox/ReactNotificationInboxBellView.swift +109 -0
  39. package/ios/wrappers/inbox/ReactNotificationInboxView.h +22 -0
  40. package/ios/wrappers/inbox/ReactNotificationInboxView.swift +69 -0
  41. package/ios/wrappers/liveactivities/NativeLiveActivities.mm +83 -0
  42. package/ios/wrappers/liveactivities/NativeLiveActivities.swift +390 -0
  43. package/ios/wrappers/location/NativeLocation.swift +7 -5
  44. package/ios/wrappers/utils/ZixflowConfigUtils.swift +5 -9
  45. package/ios/wrappers/utils/ZixflowConstants.swift +4 -0
  46. package/ios/wrappers/zixflow_reactnative.h +6 -0
  47. package/lib/commonjs/components/NotificationInboxBellView.js +49 -0
  48. package/lib/commonjs/components/NotificationInboxBellView.js.map +1 -0
  49. package/lib/commonjs/components/NotificationInboxView.js +36 -0
  50. package/lib/commonjs/components/NotificationInboxView.js.map +1 -0
  51. package/lib/commonjs/components/index.js +14 -0
  52. package/lib/commonjs/components/index.js.map +1 -1
  53. package/lib/commonjs/index.js +81 -4
  54. package/lib/commonjs/index.js.map +1 -1
  55. package/lib/commonjs/notification-inbox.js +1 -0
  56. package/lib/commonjs/notification-inbox.js.map +1 -1
  57. package/lib/commonjs/specs/components/NotificationInboxBellNativeComponent.ts +24 -0
  58. package/lib/commonjs/specs/components/NotificationInboxViewNativeComponent.ts +22 -0
  59. package/lib/commonjs/specs/modules/NativeZixflow.js.map +1 -1
  60. package/lib/commonjs/specs/modules/NativeZixflowGeofence.js +15 -0
  61. package/lib/commonjs/specs/modules/NativeZixflowGeofence.js.map +1 -0
  62. package/lib/commonjs/specs/modules/NativeZixflowLiveActivities.js +23 -0
  63. package/lib/commonjs/specs/modules/NativeZixflowLiveActivities.js.map +1 -0
  64. package/lib/commonjs/specs/modules/NativeZixflowMessagingInApp.js +3 -1
  65. package/lib/commonjs/specs/modules/NativeZixflowMessagingInApp.js.map +1 -1
  66. package/lib/commonjs/specs/modules/NativeZixflowMessagingPush.js +3 -1
  67. package/lib/commonjs/specs/modules/NativeZixflowMessagingPush.js.map +1 -1
  68. package/lib/commonjs/types/data-pipelines.js +15 -15
  69. package/lib/commonjs/types/data-pipelines.js.map +1 -1
  70. package/lib/commonjs/types/in-app.js +24 -1
  71. package/lib/commonjs/types/in-app.js.map +1 -1
  72. package/lib/commonjs/types/inbox.js +79 -0
  73. package/lib/commonjs/types/inbox.js.map +1 -0
  74. package/lib/commonjs/types/index.js +22 -0
  75. package/lib/commonjs/types/index.js.map +1 -1
  76. package/lib/commonjs/types/live-activities.js +85 -0
  77. package/lib/commonjs/types/live-activities.js.map +1 -0
  78. package/lib/commonjs/utils/param-validation.js +77 -2
  79. package/lib/commonjs/utils/param-validation.js.map +1 -1
  80. package/lib/commonjs/zixflow-cdp.js +101 -11
  81. package/lib/commonjs/zixflow-cdp.js.map +1 -1
  82. package/lib/commonjs/zixflow-geofence.js +55 -0
  83. package/lib/commonjs/zixflow-geofence.js.map +1 -0
  84. package/lib/commonjs/zixflow-inapp.js +120 -0
  85. package/lib/commonjs/zixflow-inapp.js.map +1 -1
  86. package/lib/commonjs/zixflow-liveactivities.js +85 -0
  87. package/lib/commonjs/zixflow-liveactivities.js.map +1 -0
  88. package/lib/commonjs/zixflow.js.map +1 -1
  89. package/lib/module/components/NotificationInboxBellView.js +44 -0
  90. package/lib/module/components/NotificationInboxBellView.js.map +1 -0
  91. package/lib/module/components/NotificationInboxView.js +31 -0
  92. package/lib/module/components/NotificationInboxView.js.map +1 -0
  93. package/lib/module/components/index.js +5 -0
  94. package/lib/module/components/index.js.map +1 -1
  95. package/lib/module/index.js +8 -3
  96. package/lib/module/index.js.map +1 -1
  97. package/lib/module/notification-inbox.js +1 -1
  98. package/lib/module/notification-inbox.js.map +1 -1
  99. package/lib/module/specs/components/NotificationInboxBellNativeComponent.ts +24 -0
  100. package/lib/module/specs/components/NotificationInboxViewNativeComponent.ts +22 -0
  101. package/lib/module/specs/modules/NativeZixflow.js.map +1 -1
  102. package/lib/module/specs/modules/NativeZixflowGeofence.js +13 -0
  103. package/lib/module/specs/modules/NativeZixflowGeofence.js.map +1 -0
  104. package/lib/module/specs/modules/NativeZixflowLiveActivities.js +21 -0
  105. package/lib/module/specs/modules/NativeZixflowLiveActivities.js.map +1 -0
  106. package/lib/module/specs/modules/NativeZixflowMessagingInApp.js +3 -1
  107. package/lib/module/specs/modules/NativeZixflowMessagingInApp.js.map +1 -1
  108. package/lib/module/specs/modules/NativeZixflowMessagingPush.js +3 -1
  109. package/lib/module/specs/modules/NativeZixflowMessagingPush.js.map +1 -1
  110. package/lib/module/types/data-pipelines.js +15 -15
  111. package/lib/module/types/data-pipelines.js.map +1 -1
  112. package/lib/module/types/in-app.js +24 -0
  113. package/lib/module/types/in-app.js.map +1 -1
  114. package/lib/module/types/inbox.js +75 -0
  115. package/lib/module/types/inbox.js.map +1 -0
  116. package/lib/module/types/index.js +2 -0
  117. package/lib/module/types/index.js.map +1 -1
  118. package/lib/module/types/live-activities.js +88 -0
  119. package/lib/module/types/live-activities.js.map +1 -0
  120. package/lib/module/utils/param-validation.js +77 -2
  121. package/lib/module/utils/param-validation.js.map +1 -1
  122. package/lib/module/zixflow-cdp.js +101 -11
  123. package/lib/module/zixflow-cdp.js.map +1 -1
  124. package/lib/module/zixflow-geofence.js +50 -0
  125. package/lib/module/zixflow-geofence.js.map +1 -0
  126. package/lib/module/zixflow-inapp.js +99 -1
  127. package/lib/module/zixflow-inapp.js.map +1 -1
  128. package/lib/module/zixflow-liveactivities.js +80 -0
  129. package/lib/module/zixflow-liveactivities.js.map +1 -0
  130. package/lib/module/zixflow.js +0 -6
  131. package/lib/module/zixflow.js.map +1 -1
  132. package/lib/typescript/commonjs/components/NotificationInboxBellView.d.ts +39 -0
  133. package/lib/typescript/commonjs/components/NotificationInboxBellView.d.ts.map +1 -0
  134. package/lib/typescript/commonjs/components/NotificationInboxView.d.ts +25 -0
  135. package/lib/typescript/commonjs/components/NotificationInboxView.d.ts.map +1 -0
  136. package/lib/typescript/commonjs/components/index.d.ts +4 -0
  137. package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
  138. package/lib/typescript/commonjs/index.d.ts +8 -1
  139. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  140. package/lib/typescript/commonjs/notification-inbox.d.ts +5 -0
  141. package/lib/typescript/commonjs/notification-inbox.d.ts.map +1 -1
  142. package/lib/typescript/commonjs/specs/components/NotificationInboxBellNativeComponent.d.ts +13 -0
  143. package/lib/typescript/commonjs/specs/components/NotificationInboxBellNativeComponent.d.ts.map +1 -0
  144. package/lib/typescript/commonjs/specs/components/NotificationInboxViewNativeComponent.d.ts +12 -0
  145. package/lib/typescript/commonjs/specs/components/NotificationInboxViewNativeComponent.d.ts.map +1 -0
  146. package/lib/typescript/commonjs/specs/modules/NativeZixflow.d.ts +6 -1
  147. package/lib/typescript/commonjs/specs/modules/NativeZixflow.d.ts.map +1 -1
  148. package/lib/typescript/commonjs/specs/modules/NativeZixflowGeofence.d.ts +13 -0
  149. package/lib/typescript/commonjs/specs/modules/NativeZixflowGeofence.d.ts.map +1 -0
  150. package/lib/typescript/commonjs/specs/modules/NativeZixflowLiveActivities.d.ts +31 -0
  151. package/lib/typescript/commonjs/specs/modules/NativeZixflowLiveActivities.d.ts.map +1 -0
  152. package/lib/typescript/commonjs/specs/modules/NativeZixflowMessagingInApp.d.ts +5 -1
  153. package/lib/typescript/commonjs/specs/modules/NativeZixflowMessagingInApp.d.ts.map +1 -1
  154. package/lib/typescript/commonjs/specs/modules/NativeZixflowMessagingPush.d.ts +1 -1
  155. package/lib/typescript/commonjs/specs/modules/NativeZixflowMessagingPush.d.ts.map +1 -1
  156. package/lib/typescript/commonjs/types/data-pipelines.d.ts +54 -18
  157. package/lib/typescript/commonjs/types/data-pipelines.d.ts.map +1 -1
  158. package/lib/typescript/commonjs/types/in-app.d.ts +22 -0
  159. package/lib/typescript/commonjs/types/in-app.d.ts.map +1 -1
  160. package/lib/typescript/commonjs/types/inbox.d.ts +97 -0
  161. package/lib/typescript/commonjs/types/inbox.d.ts.map +1 -0
  162. package/lib/typescript/commonjs/types/index.d.ts +2 -0
  163. package/lib/typescript/commonjs/types/index.d.ts.map +1 -1
  164. package/lib/typescript/commonjs/types/live-activities.d.ts +161 -0
  165. package/lib/typescript/commonjs/types/live-activities.d.ts.map +1 -0
  166. package/lib/typescript/commonjs/utils/param-validation.d.ts +7 -0
  167. package/lib/typescript/commonjs/utils/param-validation.d.ts.map +1 -1
  168. package/lib/typescript/commonjs/zixflow-cdp.d.ts +38 -0
  169. package/lib/typescript/commonjs/zixflow-cdp.d.ts.map +1 -1
  170. package/lib/typescript/commonjs/zixflow-geofence.d.ts +36 -0
  171. package/lib/typescript/commonjs/zixflow-geofence.d.ts.map +1 -0
  172. package/lib/typescript/commonjs/zixflow-inapp.d.ts +36 -2
  173. package/lib/typescript/commonjs/zixflow-inapp.d.ts.map +1 -1
  174. package/lib/typescript/commonjs/zixflow-liveactivities.d.ts +66 -0
  175. package/lib/typescript/commonjs/zixflow-liveactivities.d.ts.map +1 -0
  176. package/lib/typescript/commonjs/zixflow.d.ts +0 -5
  177. package/lib/typescript/commonjs/zixflow.d.ts.map +1 -1
  178. package/lib/typescript/module/components/NotificationInboxBellView.d.ts +39 -0
  179. package/lib/typescript/module/components/NotificationInboxBellView.d.ts.map +1 -0
  180. package/lib/typescript/module/components/NotificationInboxView.d.ts +25 -0
  181. package/lib/typescript/module/components/NotificationInboxView.d.ts.map +1 -0
  182. package/lib/typescript/module/components/index.d.ts +4 -0
  183. package/lib/typescript/module/components/index.d.ts.map +1 -1
  184. package/lib/typescript/module/index.d.ts +8 -1
  185. package/lib/typescript/module/index.d.ts.map +1 -1
  186. package/lib/typescript/module/notification-inbox.d.ts +5 -0
  187. package/lib/typescript/module/notification-inbox.d.ts.map +1 -1
  188. package/lib/typescript/module/specs/components/NotificationInboxBellNativeComponent.d.ts +13 -0
  189. package/lib/typescript/module/specs/components/NotificationInboxBellNativeComponent.d.ts.map +1 -0
  190. package/lib/typescript/module/specs/components/NotificationInboxViewNativeComponent.d.ts +12 -0
  191. package/lib/typescript/module/specs/components/NotificationInboxViewNativeComponent.d.ts.map +1 -0
  192. package/lib/typescript/module/specs/modules/NativeZixflow.d.ts +6 -1
  193. package/lib/typescript/module/specs/modules/NativeZixflow.d.ts.map +1 -1
  194. package/lib/typescript/module/specs/modules/NativeZixflowGeofence.d.ts +13 -0
  195. package/lib/typescript/module/specs/modules/NativeZixflowGeofence.d.ts.map +1 -0
  196. package/lib/typescript/module/specs/modules/NativeZixflowLiveActivities.d.ts +31 -0
  197. package/lib/typescript/module/specs/modules/NativeZixflowLiveActivities.d.ts.map +1 -0
  198. package/lib/typescript/module/specs/modules/NativeZixflowMessagingInApp.d.ts +5 -1
  199. package/lib/typescript/module/specs/modules/NativeZixflowMessagingInApp.d.ts.map +1 -1
  200. package/lib/typescript/module/specs/modules/NativeZixflowMessagingPush.d.ts +1 -1
  201. package/lib/typescript/module/specs/modules/NativeZixflowMessagingPush.d.ts.map +1 -1
  202. package/lib/typescript/module/types/data-pipelines.d.ts +54 -18
  203. package/lib/typescript/module/types/data-pipelines.d.ts.map +1 -1
  204. package/lib/typescript/module/types/in-app.d.ts +22 -0
  205. package/lib/typescript/module/types/in-app.d.ts.map +1 -1
  206. package/lib/typescript/module/types/inbox.d.ts +97 -0
  207. package/lib/typescript/module/types/inbox.d.ts.map +1 -0
  208. package/lib/typescript/module/types/index.d.ts +2 -0
  209. package/lib/typescript/module/types/index.d.ts.map +1 -1
  210. package/lib/typescript/module/types/live-activities.d.ts +161 -0
  211. package/lib/typescript/module/types/live-activities.d.ts.map +1 -0
  212. package/lib/typescript/module/utils/param-validation.d.ts +7 -0
  213. package/lib/typescript/module/utils/param-validation.d.ts.map +1 -1
  214. package/lib/typescript/module/zixflow-cdp.d.ts +38 -0
  215. package/lib/typescript/module/zixflow-cdp.d.ts.map +1 -1
  216. package/lib/typescript/module/zixflow-geofence.d.ts +36 -0
  217. package/lib/typescript/module/zixflow-geofence.d.ts.map +1 -0
  218. package/lib/typescript/module/zixflow-inapp.d.ts +36 -2
  219. package/lib/typescript/module/zixflow-inapp.d.ts.map +1 -1
  220. package/lib/typescript/module/zixflow-liveactivities.d.ts +66 -0
  221. package/lib/typescript/module/zixflow-liveactivities.d.ts.map +1 -0
  222. package/lib/typescript/module/zixflow.d.ts +0 -5
  223. package/lib/typescript/module/zixflow.d.ts.map +1 -1
  224. package/package.json +14 -5
  225. package/src/components/NotificationInboxBellView.tsx +55 -0
  226. package/src/components/NotificationInboxView.tsx +30 -0
  227. package/src/components/index.ts +6 -0
  228. package/src/index.ts +8 -3
  229. package/src/notification-inbox.ts +1 -1
  230. package/src/specs/components/NotificationInboxBellNativeComponent.ts +24 -0
  231. package/src/specs/components/NotificationInboxViewNativeComponent.ts +22 -0
  232. package/src/specs/modules/NativeZixflow.ts +9 -1
  233. package/src/specs/modules/NativeZixflowGeofence.ts +14 -0
  234. package/src/specs/modules/NativeZixflowLiveActivities.ts +39 -0
  235. package/src/specs/modules/NativeZixflowMessagingInApp.ts +12 -1
  236. package/src/specs/modules/NativeZixflowMessagingPush.ts +3 -1
  237. package/src/types/data-pipelines.ts +55 -19
  238. package/src/types/in-app.ts +23 -0
  239. package/src/types/inbox.ts +110 -0
  240. package/src/types/index.ts +2 -0
  241. package/src/types/live-activities.ts +170 -0
  242. package/src/utils/param-validation.ts +104 -1
  243. package/src/zixflow-cdp.ts +119 -13
  244. package/src/zixflow-geofence.ts +56 -0
  245. package/src/zixflow-inapp.ts +125 -2
  246. package/src/zixflow-liveactivities.ts +86 -0
  247. package/src/zixflow.ts +0 -6
  248. package/zixflow-reactnative-richpush.podspec +6 -3
  249. package/zixflow-reactnative.podspec +28 -2
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+
3
+ import { default as NativeModule } from "./specs/modules/NativeZixflowLiveActivities.js";
4
+
5
+ /**
6
+ * Ensures all methods defined in codegen spec are implemented by the public module
7
+ *
8
+ * @internal
9
+ */
10
+
11
+ /**
12
+ * Live Activities (iOS) / Live Notifications (Android).
13
+ *
14
+ * Start, update, and end live, updating notifications from built-in templates
15
+ * (Segments, Countdown Timer). Enable the activity types via the `liveNotifications`
16
+ * key of the SDK config passed to {@link Zixflow.initialize}.
17
+ *
18
+ * @public
19
+ */
20
+ export class ZixflowLiveActivities {
21
+ /**
22
+ * Report an opened Live Activity and return the URL the app should route.
23
+ *
24
+ * Zixflow tracking URLs are unwrapped to their destination after attribution is recorded.
25
+ * A tracking URL without a destination returns `null`; any other URL is returned unchanged.
26
+ * This method never rejects, so it can safely compose with Expo Router's
27
+ * `redirectSystemPath` hook. On Android it is a pass-through.
28
+ *
29
+ * Use this in exactly one URL-routing layer. Calling it more than once for the same Zixflow
30
+ * tracking URL reports more than one opened event.
31
+ *
32
+ * @param url - The incoming URL from the host's linking lifecycle.
33
+ * @returns The URL to route, or `null` when the Zixflow URL has no destination.
34
+ */
35
+ async handleWidgetUrl(url) {
36
+ try {
37
+ return await NativeModule.handleWidgetUrl(url);
38
+ } catch {
39
+ return url;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Start a built-in-template activity.
45
+ *
46
+ * @param payload - Template payload; `payload.type` selects the template.
47
+ * @returns The SDK-minted activity id, used for later `update`/`end`.
48
+ */
49
+ start(payload) {
50
+ return NativeModule.start(payload);
51
+ }
52
+
53
+ /**
54
+ * Replace the whole content-state of a running activity.
55
+ *
56
+ * ActivityKit (iOS) replaces content-state wholesale, so pass the **full** desired
57
+ * state — not just the changed fields. Static attributes (e.g. `header`) cannot
58
+ * change after start and are ignored on iOS.
59
+ *
60
+ * @param activityId - Id returned by {@link ZixflowLiveActivities.start}.
61
+ * @param payload - The complete desired state.
62
+ */
63
+ update(activityId, payload) {
64
+ return NativeModule.update(activityId, payload);
65
+ }
66
+
67
+ /**
68
+ * End a running activity, optionally rendering a final content-state.
69
+ *
70
+ * @param activityId - Id returned by {@link ZixflowLiveActivities.start}.
71
+ * @param payload - **iOS only.** The final content-state to render as the activity ends.
72
+ * ActivityKit keeps the last content-state on screen when none is given, so pass one to show
73
+ * a terminal state (e.g. all segments complete). Android renders its own terminal state and
74
+ * ignores this.
75
+ */
76
+ end(activityId, payload) {
77
+ return NativeModule.end(activityId, payload);
78
+ }
79
+ }
80
+ //# sourceMappingURL=zixflow-liveactivities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["default","NativeModule","ZixflowLiveActivities","handleWidgetUrl","url","start","payload","update","activityId","end"],"sourceRoot":"../../src","sources":["zixflow-liveactivities.ts"],"mappings":";;AACA,SACEA,OAAO,IAAIC,YAAY,QAElB,gDAA6C;;AAGpD;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,qBAAqB,CAAqC;EACrE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE,MAAMC,eAAeA,CAACC,GAAW,EAA0B;IACzD,IAAI;MACF,OAAO,MAAMH,YAAY,CAACE,eAAe,CAACC,GAAG,CAAC;IAChD,CAAC,CAAC,MAAM;MACN,OAAOA,GAAG;IACZ;EACF;;EAEA;AACF;AACA;AACA;AACA;AACA;EACEC,KAAKA,CAACC,OAA4B,EAAmB;IACnD,OAAOL,YAAY,CAACI,KAAK,CAACC,OAAO,CAAC;EACpC;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACEC,MAAMA,CAACC,UAAkB,EAAEF,OAA4B,EAAiB;IACtE,OAAOL,YAAY,CAACM,MAAM,CAACC,UAAU,EAAEF,OAAO,CAAC;EACjD;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACEG,GAAGA,CAACD,UAAkB,EAAEF,OAA6B,EAAiB;IACpE,OAAOL,YAAY,CAACQ,GAAG,CAACD,UAAU,EAAEF,OAAO,CAAC;EAC9C;AACF","ignoreList":[]}
@@ -1,11 +1,5 @@
1
1
  "use strict";
2
2
 
3
- /**
4
- * Zixflow SDK - Main entry point
5
- *
6
- * This provides the Zixflow-branded API.
7
- */
8
-
9
3
  export { Zixflow } from "./zixflow-cdp.js";
10
4
  export { ZixflowInAppMessaging } from "./zixflow-inapp.js";
11
5
  export { ZixflowLocation } from "./zixflow-location.js";
@@ -1 +1 @@
1
- {"version":3,"names":["Zixflow","ZixflowInAppMessaging","ZixflowLocation","ZixflowPushMessaging"],"sourceRoot":"../../src","sources":["zixflow.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;;AAEA,SAASA,OAAO,QAAQ,kBAAe;AACvC,SAASC,qBAAqB,QAAQ,oBAAiB;AACvD,SAASC,eAAe,QAAQ,uBAAoB;AACpD,SAASC,oBAAoB,QAAQ,mBAAgB;;AAErD;AACA,cAAc,kBAAS;AACvB,cAAc,yBAAsB","ignoreList":[]}
1
+ {"version":3,"names":["Zixflow","ZixflowInAppMessaging","ZixflowLocation","ZixflowPushMessaging"],"sourceRoot":"../../src","sources":["zixflow.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,kBAAe;AACvC,SAASC,qBAAqB,QAAQ,oBAAiB;AACvD,SAASC,eAAe,QAAQ,uBAAoB;AACpD,SAASC,oBAAoB,QAAQ,mBAAgB;;AAErD;AACA,cAAc,kBAAS;AACvB,cAAc,yBAAsB","ignoreList":[]}
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import { type NativeProps } from '../specs/components/NotificationInboxBellNativeComponent';
3
+ /**
4
+ * Props for the {@link NotificationInboxBellView} component.
5
+ */
6
+ /** @public */
7
+ export interface NotificationInboxBellViewProps extends Omit<NativeProps, 'onTap'> {
8
+ /**
9
+ * Called when the user taps the bell.
10
+ *
11
+ * Observational only — the SDK opens the inbox itself, so there is nothing the
12
+ * host has to do in response. Reports any tap inside this view's frame, which
13
+ * is the bell when the view is sized to it as recommended.
14
+ */
15
+ onTap?: () => void;
16
+ }
17
+ /**
18
+ * The Visual Notification Inbox bell (with unread badge). Tapping it opens the
19
+ * SDK's own inbox panel — the host presents nothing.
20
+ *
21
+ * Place it wherever the app's layout calls for it. Remote branding still styles
22
+ * the bell itself (colors, icon), but branding's *position* is not applied: the
23
+ * host owns placement via `style`. The bell renders nothing when the inbox has
24
+ * nothing to show, so give it a fixed size for predictable layout — at least 88
25
+ * points/dp square, since the native composition insets the 56pt bell by 16 on
26
+ * each side and a smaller box squeezes the circle onto the glyph.
27
+ *
28
+ * @example
29
+ * ```tsx
30
+ * <NotificationInboxBellView
31
+ * style={{ width: 88, height: 88 }}
32
+ * onTap={() => analytics.track('inbox_bell_tapped')}
33
+ * />
34
+ * ```
35
+ */
36
+ /** @public */
37
+ declare const NotificationInboxBellView: React.FC<NotificationInboxBellViewProps>;
38
+ export default NotificationInboxBellView;
39
+ //# sourceMappingURL=NotificationInboxBellView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationInboxBellView.d.ts","sourceRoot":"","sources":["../../../../src/components/NotificationInboxBellView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAA6C,EAC3C,KAAK,WAAW,EACjB,MAAM,0DAA0D,CAAC;AAElE;;GAEG;AACH,cAAc;AACd,MAAM,WAAW,8BAA+B,SAAQ,IAAI,CAC1D,WAAW,EACX,OAAO,CACR;IACC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,cAAc;AACd,QAAA,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CASvE,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import { type NativeProps } from '../specs/components/NotificationInboxViewNativeComponent';
3
+ /**
4
+ * Props for the {@link NotificationInboxView} component.
5
+ */
6
+ /** @public */
7
+ export interface NotificationInboxViewProps extends NativeProps {
8
+ }
9
+ /**
10
+ * The Visual Notification Inbox message list — the Jist-rendered messages —
11
+ * embeddable directly in your own screen. It fills the area you give it via
12
+ * `style` and brings no surrounding chrome (no bell, no scrim).
13
+ *
14
+ * Message actions are handled by the existing global InboxEventListener, so this
15
+ * component takes no per-message action callback.
16
+ *
17
+ * @example
18
+ * ```tsx
19
+ * <NotificationInboxView style={{ flex: 1 }} />
20
+ * ```
21
+ */
22
+ /** @public */
23
+ declare const NotificationInboxView: React.FC<NotificationInboxViewProps>;
24
+ export default NotificationInboxView;
25
+ //# sourceMappingURL=NotificationInboxView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationInboxView.d.ts","sourceRoot":"","sources":["../../../../src/components/NotificationInboxView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAA6C,EAC3C,KAAK,WAAW,EACjB,MAAM,0DAA0D,CAAC;AAElE;;GAEG;AACH,cAAc;AACd,MAAM,WAAW,0BAA2B,SAAQ,WAAW;CAAG;AAElE;;;;;;;;;;;;GAYG;AACH,cAAc;AACd,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAE/D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,3 +1,7 @@
1
1
  export type { InlineInAppMessageViewProps } from './InlineInAppMessageView';
2
2
  export { default as InlineInAppMessageView } from './InlineInAppMessageView';
3
+ export type { NotificationInboxBellViewProps } from './NotificationInboxBellView';
4
+ export { default as NotificationInboxBellView } from './NotificationInboxBellView';
5
+ export type { NotificationInboxViewProps } from './NotificationInboxView';
6
+ export { default as NotificationInboxView } from './NotificationInboxView';
3
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAG7E,YAAY,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACnF,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -4,5 +4,12 @@
4
4
  * Zixflow React Native SDK - A powerful SDK for building
5
5
  * customer engagement features in React Native applications.
6
6
  */
7
- export * from './zixflow';
7
+ export * from './zixflow-cdp';
8
+ export * from './zixflow-geofence';
9
+ export * from './zixflow-inapp';
10
+ export * from './zixflow-liveactivities';
11
+ export * from './zixflow-location';
12
+ export * from './zixflow-push';
13
+ export * from './components';
14
+ export * from './types';
8
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
@@ -21,6 +21,11 @@ interface NotificationInboxPublicSpec {
21
21
  * @internal
22
22
  */
23
23
  export type NotificationInboxSpec = keyof NotificationInboxPublicSpec | 'subscribeToMessagesChanged' | 'setupInboxListener';
24
+ /**
25
+ * Helper function to parse raw inbox message from native layer
26
+ * @internal
27
+ */
28
+ export declare function parseInboxMessage(raw: any): InboxMessage;
24
29
  /**
25
30
  * Manages inbox messages for the current user.
26
31
  *
@@ -1 +1 @@
1
- {"version":3,"file":"notification-inbox.d.ts","sourceRoot":"","sources":["../../../src/notification-inbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAItD,OAAO,KAAK,EAAE,YAAY,EAAE,+BAA+B,EAAE,MAAM,SAAS,CAAC;AAW7E;;;;;GAKG;AACH,UAAU,2BAA2B;IACnC,WAAW,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;IACrD,mBAAmB,CACjB,QAAQ,EAAE,+BAA+B,EACzC,KAAK,CAAC,EAAE,MAAM,GACb,iBAAiB,CAAC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K,CAAC,EAAE,MAAM,GACb,iBAAiB,CAAC;IACrB,iBAAiB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAC/C,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IACjD,kBAAkB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAChD,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvE;AAED;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAC7B,MAAM,2BAA2B,GACjC,4BAA4B,GAC5B,oBAAoB,CAAC;AAEzB;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,GAAG,YAAY,CAYxD;AAED;;;;GAIG;AACH,qBAAa,iBAAkB,YAAW,2BAA2B;IACnE;;OAEG;IACG,WAAW,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IAO1D;;;OAGG;IACH,mBAAmB,CACjB,QAAQ,EAAE,+BAA+B,EACzC,KAAK,CAAC,EAAE,MAAM,GACb,iBAAiB;IAuCpB;;OAEG;IACH,iBAAiB,CAAC,OAAO,EAAE,YAAY;IAIvC;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,YAAY;IAIzC;;OAEG;IACH,kBAAkB,CAAC,OAAO,EAAE,YAAY;IAIxC;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,MAAM;CAK/D"}
@@ -0,0 +1,13 @@
1
+ import type { HostComponent, ViewProps } from 'react-native';
2
+ import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
3
+ /** Event data for inbox bell taps. Carries no payload; presence indicates a tap. */
4
+ export interface BellTapEvent {
5
+ }
6
+ /** Props for the native NotificationInboxBell component. */
7
+ export interface NativeProps extends ViewProps {
8
+ /** Fired when the user taps the bell. Host should present its own inbox UI. */
9
+ onTap?: DirectEventHandler<BellTapEvent>;
10
+ }
11
+ declare const _default: HostComponent<NativeProps>;
12
+ export default _default;
13
+ //# sourceMappingURL=NotificationInboxBellNativeComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationInboxBellNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../src/specs/components/NotificationInboxBellNativeComponent.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAGpF,oFAAoF;AACpF,MAAM,WAAW,YAAY;CAAG;AAEhC,4DAA4D;AAC5D,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,+EAA+E;IAC/E,KAAK,CAAC,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAC;CAC1C;wBAMI,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
@@ -0,0 +1,12 @@
1
+ import type { HostComponent, ViewProps } from 'react-native';
2
+ /**
3
+ * Props for the native NotificationInboxView component (the Jist-rendered message list).
4
+ * No required props; the host controls sizing via standard ViewProps style.
5
+ * Message actions are handled by the existing global InboxEventListener, so this
6
+ * component needs no per-component action callback.
7
+ */
8
+ export interface NativeProps extends ViewProps {
9
+ }
10
+ declare const _default: HostComponent<NativeProps>;
11
+ export default _default;
12
+ //# sourceMappingURL=NotificationInboxViewNativeComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationInboxViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../src/specs/components/NotificationInboxViewNativeComponent.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI7D;;;;;GAKG;AACH,MAAM,WAAW,WAAY,SAAQ,SAAS;CAAG;wBAM5C,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
@@ -1,5 +1,5 @@
1
1
  import { type TurboModule } from 'react-native';
2
- import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
2
+ import type { EventEmitter, UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
3
3
  /**
4
4
  * Native module specification for Zixflow React Native SDK
5
5
  *
@@ -31,6 +31,11 @@ type NativeBridgeObject = UnsafeObject;
31
31
  */
32
32
  export interface Spec extends TurboModule {
33
33
  initialize(config: NativeBridgeObject, args: NativeBridgeObject): Promise<void>;
34
+ setDeepLinkRoutingReady(): void;
35
+ readonly onDeepLinkReceived: EventEmitter<UnsafeObject>;
36
+ registerDeepLinkHandler(): void;
37
+ unregisterDeepLinkHandler(): void;
38
+ acknowledgeDeepLink(id: string, handled: boolean): void;
34
39
  identify(params?: NativeBridgeObject): void;
35
40
  clearIdentify(): void;
36
41
  track(name: string, properties?: NativeBridgeObject): void;
@@ -1 +1 @@
1
- {"version":3,"file":"NativeZixflow.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAE9E;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;GASG;AACH,KAAK,kBAAkB,GAAG,YAAY,CAAC;AAMvC;;;GAGG;AACH,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,UAAU,CACR,MAAM,EAAE,kBAAkB,EAC1B,IAAI,EAAE,kBAAkB,GACvB,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB,QAAQ,CAAC,MAAM,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC5C,aAAa,IAAI,IAAI,CAAC;IACtB,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC3D,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,UAA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kB,GAAG,IAAI,CAAC;IAC3D,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC7D,oBAAoB,CAAC,UAAU,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC3D,mBAAmB,CAAC,UAAU,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC1D,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1E,iBAAiB,IAAI,IAAI,CAAC;CAC3B;;AAED,wBAAuE"}
@@ -0,0 +1,13 @@
1
+ import { type TurboModule } from 'react-native';
2
+ /**
3
+ * Native module specification for Zixflow Geofence React Native SDK
4
+ *
5
+ * @see NativeZixflow.ts for detailed documentation on TurboModule patterns,
6
+ * Codegen compatibility, and type safety approach.
7
+ */
8
+ export interface Spec extends TurboModule {
9
+ refreshFromCurrentLocation(): void;
10
+ }
11
+ declare const _default: Spec | null;
12
+ export default _default;
13
+ //# sourceMappingURL=NativeZixflowGeofence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeZixflowGeofence.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflowGeofence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAErE;;;;;GAKG;AAEH,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,0BAA0B,IAAI,IAAI,CAAC;CACpC;;AAED,wBAAsE"}
@@ -0,0 +1,31 @@
1
+ import { type TurboModule } from 'react-native';
2
+ import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
3
+ /**
4
+ * Native module specification for Zixflow Live Activities React Native SDK
5
+ *
6
+ * Live Activities (iOS) / Live Notifications (Android) let you show a live,
7
+ * updating notification driven by a built-in template (Segments, Countdown Timer)
8
+ * or by a custom type you render yourself.
9
+ *
10
+ * @see NativeZixflow.ts for detailed documentation on TurboModule patterns,
11
+ * Codegen compatibility, and type safety approach.
12
+ */
13
+ type NativeBridgeObject = UnsafeObject;
14
+ export interface Spec extends TurboModule {
15
+ /** Report a Live Activity open and return the destination URL to route. */
16
+ handleWidgetUrl(url: string): Promise<string | null>;
17
+ /** Start an activity. Resolves with the SDK-minted activity id. */
18
+ start(payload: NativeBridgeObject): Promise<string>;
19
+ /** Replace the whole content-state of a running activity. Pass the full desired state. */
20
+ update(activityId: string, payload: NativeBridgeObject): Promise<void>;
21
+ /**
22
+ * End a running activity, optionally rendering a final content-state.
23
+ *
24
+ * `payload` is iOS-only: ActivityKit keeps the last content-state on screen unless a final one
25
+ * is supplied. Android renders its own terminal state, so it ignores the payload.
26
+ */
27
+ end(activityId: string, payload?: NativeBridgeObject): Promise<void>;
28
+ }
29
+ declare const _default: Spec;
30
+ export default _default;
31
+ //# sourceMappingURL=NativeZixflowLiveActivities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeZixflowLiveActivities.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflowLiveActivities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAE9E;;;;;;;;;GASG;AAEH,KAAK,kBAAkB,GAAG,YAAY,CAAC;AAEvC,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,2EAA2E;IAC3E,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACrD,mEAAmE;IACnE,KAAK,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACpD,0FAA0F;IAC1F,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvE;;;;;OAKG;IACH,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtE;;AAMD,wBAEE"}
@@ -9,7 +9,11 @@ import type { EventEmitter, UnsafeObject } from 'react-native/Libraries/Types/Co
9
9
  /** TurboModule interface for Zixflow In-App Messaging native operations */
10
10
  export interface Spec extends TurboModule {
11
11
  dismissMessage(): void;
12
+ setColorScheme(colorScheme: string): void;
12
13
  readonly onInAppEventReceived: EventEmitter<UnsafeObject>;
14
+ registerInboxEventListener(): void;
15
+ unregisterInboxEventListener(): void;
16
+ readonly onInboxEventReceived: EventEmitter<UnsafeObject>;
13
17
  setupInboxListener(): void;
14
18
  readonly subscribeToMessagesChanged: EventEmitter<UnsafeObject>;
15
19
  getMessages(topic?: string): Promise<UnsafeObject[]>;
@@ -18,6 +22,6 @@ export interface Spec extends TurboModule {
18
22
  markMessageDeleted(message: UnsafeObject): void;
19
23
  trackMessageClicked(message: UnsafeObject, actionName?: string): void;
20
24
  }
21
- declare const _default: Spec | null;
25
+ declare const _default: Spec;
22
26
  export default _default;
23
27
  //# sourceMappingURL=NativeZixflowMessagingInApp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NativeZixflowMessagingInApp.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflowMessagingInApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACb,MAAM,2CAA2C,CAAC;AAEnD;;;;;GAKG;AAEH,2EAA2E;AAC3E,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,cAAc,IAAI,IAAI,CAAC;IACvB,QAAQ,CAAC,oBAAoB,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;IAE1D,kBAAkB,I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AO,EAAE,YAAY,GAAG,IAAI,CAAC;IAC/C,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IACjD,kBAAkB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAChD,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvE;;AAID,wBAEE"}
@@ -15,6 +15,6 @@ export interface Spec extends TurboModule {
15
15
  showPromptForPushNotifications(options: NativeBridgeObject): Promise<string>;
16
16
  getPushPermissionStatus(): Promise<string>;
17
17
  }
18
- declare const _default: Spec | null;
18
+ declare const _default: Spec;
19
19
  export default _default;
20
20
  //# sourceMappingURL=NativeZixflowMessagingPush.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NativeZixflowMessagingPush.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflowMessagingPush.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAE9E;;;;;GAKG;AAEH,KAAK,kBAAkB,GAAG,YAAY,CAAC;AAEvC,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,iBAAiB,CACf,OAAO,EAAE,kBAAkB,EAC3B,yBAAyB,EAAE,OAAO,GACjC,OAAO,CAAC,OAAO,CAAC,CAAC;IACpB,iCAAiC,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACrE,yBAAyB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC7D,wBAAwB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAC5C,8BAA8B,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7E,uBAAuB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC5C;;AAED,wBAEE"}
1
+ {"version":3,"file":"NativeZixflowMessagingPush.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflowMessagingPush.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAE9E;;;;;GAKG;AAEH,KAAK,kBAAkB,GAAG,YAAY,CAAC;AAEvC,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,iBAAiB,CACf,OAAO,EAAE,kBAAkB,EAC3B,yBAAyB,EAAE,OAAO,GACjC,OAAO,CAAC,OAAO,CAAC,CAAC;IACpB,iCAAiC,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACrE,yBAAyB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC7D,wBAAwB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAC5C,8BAA8B,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7E,uBAAuB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC5C;;AAID,wBAEE"}
@@ -1,3 +1,6 @@
1
+ import type { ZixflowColorScheme } from './in-app';
2
+ import type { NotificationInboxAccessibilityLabels } from './inbox';
3
+ import type { LiveActivitiesConfig } from './live-activities';
1
4
  import type { PushClickBehaviorAndroid } from './push';
2
5
  /**
3
6
  * Key-value pairs for custom user attributes and event properties.
@@ -33,11 +36,9 @@ export interface IdentifyParams {
33
36
  /**
34
37
  * Configuration options for initializing the Zixflow SDK.
35
38
  *
36
- * @param cdpApiKey - Customer Data Platform API key from Zixflow dashboard
37
- * @param migrationSiteId - Legacy site ID for migrating from tracking API
38
- * @param region - Data center region (US or EU)
39
+ * @param apiKey - API key from Zixflow dashboard
39
40
  * @param logLevel - SDK logging verbosity level
40
- * @param apiHost - Override the CDP API host. Use to route SDK traffic through a first-party proxy.
41
+ * @param apiHost - Override the API host. Use to route SDK traffic through a first-party proxy.
41
42
  * @param cdnHost - Override the CDN host. Use to route SDK traffic through a first-party proxy.
42
43
  * @param flushAt - Number of events to batch before sending
43
44
  * @param flushInterval - Time interval (seconds) to flush events
@@ -50,9 +51,7 @@ export interface IdentifyParams {
50
51
  * @public
51
52
  */
52
53
  export type ZixflowConfig = {
53
- cdpApiKey: string;
54
- migrationSiteId?: string;
55
- region?: ZixflowRegion;
54
+ apiKey: string;
56
55
  logLevel?: ZixflowLogLevel;
57
56
  apiHost?: string;
58
57
  cdnHost?: string;
@@ -62,7 +61,19 @@ export type ZixflowConfig = {
62
61
  trackApplicationLifecycleEvents?: boolean;
63
62
  autoTrackDeviceAttributes?: boolean;
64
63
  inApp?: {
65
- siteId?: string;
64
+ /**
65
+ * Color scheme used to render in-app messages. Defaults to `ZixflowColorScheme.Auto`, which
66
+ * follows the device appearance. Set it when the app has its own appearance setting that
67
+ * can disagree with the operating system.
68
+ *
69
+ * Can be changed after initialization with `Zixflow.inAppMessaging.setColorScheme`.
70
+ */
71
+ colorScheme?: ZixflowColorScheme;
72
+ /**
73
+ * Accessibility labels for the Visual Notification Inbox. Optional; an omitted label leaves
74
+ * that element unlabeled rather than falling back to English.
75
+ */
76
+ notificationInboxAccessibilityLabels?: NotificationInboxAccessibilityLabels;
66
77
  };
67
78
  push?: {
68
79
  android?: {
@@ -70,9 +81,32 @@ export type ZixflowConfig = {
70
81
  };
71
82
  };
72
83
  location?: {
73
- /** Location tracking mode. Defaults to 'manual' if location config is provided. */
74
84
  trackingMode?: ZixflowLocationTrackingMode;
75
85
  };
86
+ /**
87
+ * Geofence configuration. Providing this opts the app into geofence monitoring,
88
+ * which runs automatically once enabled. Enabling geofence also enables the
89
+ * Location module, which geofence depends on.
90
+ */
91
+ geofence?: {
92
+ /**
93
+ * How the SDK acquires location fixes for geofence monitoring. Defaults to
94
+ * `AUTOMATIC` (the SDK acquires location itself on identify and app launch). Use
95
+ * `MANUAL` to drive refreshes yourself via
96
+ * `Zixflow.geofence.refreshFromCurrentLocation()`.
97
+ */
98
+ locationMode?: ZixflowGeofenceLocationMode;
99
+ };
100
+ /** iOS-only SDK configuration. Has no effect on Android. */
101
+ ios?: {
102
+ /**
103
+ * Whether geofence transitions are delivered in real time on a background cold-wake.
104
+ * When unset, defaults to on if the geofence module is enabled, off otherwise.
105
+ */
106
+ allowBackgroundDelivery?: boolean;
107
+ };
108
+ /** Live Activities (iOS) / Live Notifications (Android) configuration. */
109
+ liveNotifications?: LiveActivitiesConfig;
76
110
  };
77
111
  /**
78
112
  * Log levels for Zixflow SDK debugging and monitoring.
@@ -91,15 +125,6 @@ export declare enum ZixflowLogLevel {
91
125
  /** All messages including debug information */
92
126
  Debug = "debug"
93
127
  }
94
- /**
95
- * Data center regions for Zixflow API endpoints.
96
- *
97
- * @public
98
- */
99
- export declare enum ZixflowRegion {
100
- US = "US",
101
- EU = "EU"
102
- }
103
128
  /**
104
129
  * Screen view tracking behavior configuration.
105
130
  *
@@ -127,6 +152,17 @@ export declare enum ZixflowLocationTrackingMode {
127
152
  /** SDK auto-captures location once per app launch when the app becomes active. */
128
153
  OnAppStart = "ON_APP_START"
129
154
  }
155
+ /**
156
+ * How the Geofence module acquires location fixes.
157
+ *
158
+ * @public
159
+ */
160
+ export declare enum ZixflowGeofenceLocationMode {
161
+ /** SDK acquires location itself (on identify and app launch). Default. */
162
+ Automatic = "AUTOMATIC",
163
+ /** Host drives refreshes via `Zixflow.geofence.refreshFromCurrentLocation()`. */
164
+ Manual = "MANUAL"
165
+ }
130
166
  /**
131
167
  * Enum to specify the type of metric for tracking
132
168
  *
@@ -1 +1 @@
1
- {"version":3,"file":"data-pipelines.d.ts","sourceRoot":"","sources":["../../../../src/types/data-pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAEvD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAA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W;IACjB,iDAAiD;IACjD,SAAS,cAAc;CACxB"}
@@ -25,6 +25,28 @@ export declare enum InAppMessageEventType {
25
25
  messageDismissed = "messageDismissed",
26
26
  messageShown = "messageShown"
27
27
  }
28
+ /**
29
+ * Color scheme used to render in-app messages.
30
+ *
31
+ * Selects which of the light/dark variants authored in the Zixflow editor is
32
+ * rendered. Use it when the app has its own appearance setting that can disagree with
33
+ * the operating system: `Auto` follows the device, while `Light` and `Dark` pin the
34
+ * variant regardless of it.
35
+ *
36
+ * The string values are the wire contract shared with both native SDKs, which match
37
+ * them lowercase and resolve anything unrecognized to `auto` — so they must stay
38
+ * exactly as written here even if the members are renamed.
39
+ *
40
+ * @public
41
+ */
42
+ export declare enum ZixflowColorScheme {
43
+ /** Follow the device's current appearance. The default when unset. */
44
+ Auto = "auto",
45
+ /** Always render the light variant, whatever the device is set to. */
46
+ Light = "light",
47
+ /** Always render the dark variant, whatever the device is set to. */
48
+ Dark = "dark"
49
+ }
28
50
  /**
29
51
  * Represents an inbox message for a user.
30
52
  *
@@ -1 +1 @@
1
- {"version":3,"file":"in-app.d.ts","sourceRoot":"","sources":["../../../../src/types/in-app.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,iDAAiD;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,oBAAY,qBAAqB;IAC/B,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;CAC9B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,MAAM,CA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