zixflow-reactnative 1.0.0 → 1.1.0
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/README.md +2 -2
- package/android/build.gradle +4 -13
- package/android/gradle.properties +1 -1
- package/android/src/main/AndroidManifest.xml +5 -5
- package/android/src/main/java/{io/customer/reactnative/sdk/NativeCustomerIOModule.kt → com/zixflow/reactnative/sdk/NativeZixflowModule.kt} +35 -35
- package/android/src/main/java/{io/customer/reactnative/sdk/CustomerIOReactNativePackage.kt → com/zixflow/reactnative/sdk/ZixflowReactNativePackage.kt} +15 -15
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/constant/Keys.kt +1 -1
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/extension/MapExtensions.kt +1 -1
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/extension/ReactExtensions.kt +1 -1
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/extension/StringExtensions.kt +1 -1
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/extension/ViewExtensions.kt +1 -1
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/location/NativeLocationModule.kt +15 -15
- package/android/src/main/java/{io/customer/reactnative/sdk/logging/NativeCustomerIOLoggingModule.kt → com/zixflow/reactnative/sdk/logging/NativeZixflowLoggingModule.kt} +10 -10
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/messaginginapp/InlineInAppMessageViewManager.kt +2 -2
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/messaginginapp/NativeMessagingInAppModule.kt +26 -26
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/messaginginapp/NotificationInboxExtensions.kt +5 -5
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/messaginginapp/ReactInAppEventListener.kt +4 -4
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/messaginginapp/ReactInAppPlatformDelegate.kt +3 -3
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/messaginginapp/ReactInlineInAppMessageView.kt +5 -5
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/messaginginapp/ReactNotificationInboxChangeListener.kt +3 -3
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/messagingpush/NativeMessagingPushModule.kt +25 -25
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/messagingpush/PermissionStatus.kt +1 -1
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/messagingpush/PushMessagingExtensions.kt +2 -2
- package/android/src/main/java/{io/customer → com/zixflow}/reactnative/sdk/util/Preconditions.kt +3 -3
- package/android/src/main/res/values/{customer_io_config.xml → zixflow_config.xml} +2 -2
- package/ios/wrappers/{NativeCustomerIO.mm → NativeZixflow.mm} +9 -9
- package/ios/wrappers/{NativeCustomerIO.swift → NativeZixflow.swift} +31 -31
- package/ios/wrappers/inapp/InboxMessage+Conversion.swift +1 -1
- package/ios/wrappers/inapp/NativeMessagingInApp.mm +8 -8
- package/ios/wrappers/inapp/NativeMessagingInApp.swift +7 -7
- package/ios/wrappers/inapp/ReactInAppEventListener.swift +12 -12
- package/ios/wrappers/inapp/inline/ReactInlineMessageView.swift +1 -1
- package/ios/wrappers/location/NativeLocation.mm +8 -8
- package/ios/wrappers/location/NativeLocation.swift +6 -6
- package/ios/wrappers/logging/{NativeCustomerIOLogging.mm → NativeZixflowLogging.mm} +14 -14
- package/ios/wrappers/logging/{NativeCustomerIOLogging.swift → NativeZixflowLogging.swift} +6 -6
- package/ios/wrappers/push/NativeMessagingPush.mm +8 -8
- package/ios/wrappers/push/NativeMessagingPush.swift +12 -12
- package/ios/wrappers/utils/Preconditions.swift +1 -1
- package/ios/wrappers/utils/{RCTCustomerIOUtils.h → RCTZixflowUtils.h} +3 -3
- package/ios/wrappers/utils/{CioConfigUtils.swift → ZixflowConfigUtils.swift} +4 -4
- package/ios/wrappers/utils/{CioConstants.swift → ZixflowConstants.swift} +4 -4
- package/lib/commonjs/native-logger-listener.js +10 -10
- package/lib/commonjs/native-logger-listener.js.map +1 -1
- package/lib/commonjs/notification-inbox.js +4 -4
- package/lib/commonjs/notification-inbox.js.map +1 -1
- package/lib/commonjs/postInstall.js +1 -1
- package/lib/commonjs/postInstall.js.map +1 -1
- package/lib/commonjs/specs/modules/{NativeCustomerIO.js → NativeZixflow.js} +6 -6
- package/lib/commonjs/specs/modules/NativeZixflow.js.map +1 -0
- package/lib/commonjs/specs/modules/{NativeCustomerIOLocation.js → NativeZixflowLocation.js} +4 -4
- package/lib/commonjs/specs/modules/NativeZixflowLocation.js.map +1 -0
- package/lib/commonjs/specs/modules/NativeZixflowLogging.js +19 -0
- package/lib/commonjs/specs/modules/NativeZixflowLogging.js.map +1 -0
- package/lib/commonjs/specs/modules/NativeZixflowMessagingInApp.js +16 -0
- package/lib/commonjs/specs/modules/NativeZixflowMessagingInApp.js.map +1 -0
- package/lib/commonjs/specs/modules/{NativeCustomerIOMessagingPush.js → NativeZixflowMessagingPush.js} +4 -4
- package/lib/commonjs/specs/modules/NativeZixflowMessagingPush.js.map +1 -0
- package/lib/commonjs/types/data-pipelines.js +23 -23
- package/lib/commonjs/types/data-pipelines.js.map +1 -1
- package/lib/commonjs/types/push.js +6 -6
- package/lib/commonjs/types/push.js.map +1 -1
- package/lib/commonjs/utils/native-bridge.js +1 -1
- package/lib/commonjs/utils/native-bridge.js.map +1 -1
- package/lib/commonjs/utils/param-validation.js +4 -4
- package/lib/commonjs/utils/param-validation.js.map +1 -1
- package/lib/commonjs/{customerio-cdp.js → zixflow-cdp.js} +19 -19
- package/lib/commonjs/zixflow-cdp.js.map +1 -0
- package/lib/commonjs/{customerio-inapp.js → zixflow-inapp.js} +8 -7
- package/lib/commonjs/zixflow-inapp.js.map +1 -0
- package/lib/commonjs/{customerio-location.js → zixflow-location.js} +10 -10
- package/lib/commonjs/zixflow-location.js.map +1 -0
- package/lib/commonjs/zixflow-params.js +2 -0
- package/lib/commonjs/zixflow-params.js.map +1 -0
- package/lib/commonjs/{customerio-push.js → zixflow-push.js} +11 -11
- package/lib/commonjs/zixflow-push.js.map +1 -0
- package/lib/commonjs/zixflow.js +19 -26
- package/lib/commonjs/zixflow.js.map +1 -1
- package/lib/module/index.js +3 -3
- package/lib/module/native-logger-listener.js +11 -11
- package/lib/module/native-logger-listener.js.map +1 -1
- package/lib/module/notification-inbox.js +4 -4
- package/lib/module/notification-inbox.js.map +1 -1
- package/lib/module/postInstall.js +1 -1
- package/lib/module/postInstall.js.map +1 -1
- package/lib/module/specs/modules/{NativeCustomerIO.js → NativeZixflow.js} +6 -6
- package/lib/module/specs/modules/NativeZixflow.js.map +1 -0
- package/lib/module/specs/modules/NativeZixflowLocation.js +13 -0
- package/lib/module/specs/modules/NativeZixflowLocation.js.map +1 -0
- package/lib/module/specs/modules/NativeZixflowLogging.js +18 -0
- package/lib/module/specs/modules/NativeZixflowLogging.js.map +1 -0
- package/lib/module/specs/modules/NativeZixflowMessagingInApp.js +15 -0
- package/lib/module/specs/modules/NativeZixflowMessagingInApp.js.map +1 -0
- package/lib/module/specs/modules/NativeZixflowMessagingPush.js +13 -0
- package/lib/module/specs/modules/NativeZixflowMessagingPush.js.map +1 -0
- package/lib/module/types/data-pipelines.js +22 -22
- package/lib/module/types/data-pipelines.js.map +1 -1
- package/lib/module/types/push.js +5 -5
- package/lib/module/types/push.js.map +1 -1
- package/lib/module/utils/native-bridge.js +1 -1
- package/lib/module/utils/native-bridge.js.map +1 -1
- package/lib/module/utils/param-validation.js +4 -4
- package/lib/module/utils/param-validation.js.map +1 -1
- package/lib/module/{customerio-cdp.js → zixflow-cdp.js} +16 -16
- package/lib/module/zixflow-cdp.js.map +1 -0
- package/lib/module/{customerio-inapp.js → zixflow-inapp.js} +6 -6
- package/lib/module/zixflow-inapp.js.map +1 -0
- package/lib/module/{customerio-location.js → zixflow-location.js} +6 -6
- package/lib/module/zixflow-location.js.map +1 -0
- package/lib/module/zixflow-params.js +2 -0
- package/lib/module/zixflow-params.js.map +1 -0
- package/lib/module/{customerio-push.js → zixflow-push.js} +10 -10
- package/lib/module/zixflow-push.js.map +1 -0
- package/lib/module/zixflow.js +5 -11
- package/lib/module/zixflow.js.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +2 -2
- package/lib/typescript/commonjs/native-logger-listener.d.ts.map +1 -1
- package/lib/typescript/commonjs/notification-inbox.d.ts +1 -1
- package/lib/typescript/commonjs/specs/modules/{NativeCustomerIO.d.ts → NativeZixflow.d.ts} +5 -5
- package/lib/typescript/commonjs/specs/modules/NativeZixflow.d.ts.map +1 -0
- package/lib/typescript/commonjs/specs/modules/{NativeCustomerIOLocation.d.ts → NativeZixflowLocation.d.ts} +3 -3
- package/lib/typescript/commonjs/specs/modules/NativeZixflowLocation.d.ts.map +1 -0
- package/lib/typescript/commonjs/specs/modules/NativeZixflowLogging.d.ts +18 -0
- package/lib/typescript/commonjs/specs/modules/NativeZixflowLogging.d.ts.map +1 -0
- package/lib/typescript/commonjs/specs/modules/{NativeCustomerIOMessagingInApp.d.ts → NativeZixflowMessagingInApp.d.ts} +4 -4
- package/lib/typescript/commonjs/specs/modules/NativeZixflowMessagingInApp.d.ts.map +1 -0
- package/lib/typescript/{module/specs/modules/NativeCustomerIOMessagingPush.d.ts → commonjs/specs/modules/NativeZixflowMessagingPush.d.ts} +3 -3
- package/lib/typescript/commonjs/specs/modules/NativeZixflowMessagingPush.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/data-pipelines.d.ts +14 -14
- package/lib/typescript/commonjs/types/data-pipelines.d.ts.map +1 -1
- package/lib/typescript/commonjs/types/internal.d.ts +2 -2
- package/lib/typescript/commonjs/types/push.d.ts +2 -2
- package/lib/typescript/commonjs/types/push.d.ts.map +1 -1
- package/lib/typescript/commonjs/utils/param-validation.d.ts +2 -2
- package/lib/typescript/commonjs/utils/param-validation.d.ts.map +1 -1
- package/lib/typescript/commonjs/{customerio-cdp.d.ts → zixflow-cdp.d.ts} +12 -12
- package/lib/typescript/commonjs/zixflow-cdp.d.ts.map +1 -0
- package/lib/typescript/{module/customerio-inapp.d.ts → commonjs/zixflow-inapp.d.ts} +4 -4
- package/lib/typescript/commonjs/zixflow-inapp.d.ts.map +1 -0
- package/lib/typescript/commonjs/{customerio-location.d.ts → zixflow-location.d.ts} +5 -5
- package/lib/typescript/commonjs/zixflow-location.d.ts.map +1 -0
- package/lib/typescript/commonjs/{cio-params.d.ts → zixflow-params.d.ts} +1 -1
- package/lib/typescript/commonjs/zixflow-params.d.ts.map +1 -0
- package/lib/typescript/{module/customerio-push.d.ts → commonjs/zixflow-push.d.ts} +11 -11
- package/lib/typescript/commonjs/zixflow-push.d.ts.map +1 -0
- package/lib/typescript/commonjs/zixflow.d.ts +5 -7
- package/lib/typescript/commonjs/zixflow.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +2 -2
- package/lib/typescript/module/native-logger-listener.d.ts.map +1 -1
- package/lib/typescript/module/notification-inbox.d.ts +1 -1
- package/lib/typescript/module/specs/modules/{NativeCustomerIO.d.ts → NativeZixflow.d.ts} +5 -5
- package/lib/typescript/module/specs/modules/NativeZixflow.d.ts.map +1 -0
- package/lib/typescript/module/specs/modules/{NativeCustomerIOLocation.d.ts → NativeZixflowLocation.d.ts} +3 -3
- package/lib/typescript/module/specs/modules/NativeZixflowLocation.d.ts.map +1 -0
- package/lib/typescript/module/specs/modules/NativeZixflowLogging.d.ts +18 -0
- package/lib/typescript/module/specs/modules/NativeZixflowLogging.d.ts.map +1 -0
- package/lib/typescript/module/specs/modules/{NativeCustomerIOMessagingInApp.d.ts → NativeZixflowMessagingInApp.d.ts} +4 -4
- package/lib/typescript/module/specs/modules/NativeZixflowMessagingInApp.d.ts.map +1 -0
- package/lib/typescript/{commonjs/specs/modules/NativeCustomerIOMessagingPush.d.ts → module/specs/modules/NativeZixflowMessagingPush.d.ts} +3 -3
- package/lib/typescript/module/specs/modules/NativeZixflowMessagingPush.d.ts.map +1 -0
- package/lib/typescript/module/types/data-pipelines.d.ts +14 -14
- package/lib/typescript/module/types/data-pipelines.d.ts.map +1 -1
- package/lib/typescript/module/types/internal.d.ts +2 -2
- package/lib/typescript/module/types/push.d.ts +2 -2
- package/lib/typescript/module/types/push.d.ts.map +1 -1
- package/lib/typescript/module/utils/param-validation.d.ts +2 -2
- package/lib/typescript/module/utils/param-validation.d.ts.map +1 -1
- package/lib/typescript/module/{customerio-cdp.d.ts → zixflow-cdp.d.ts} +12 -12
- package/lib/typescript/module/zixflow-cdp.d.ts.map +1 -0
- package/lib/typescript/{commonjs/customerio-inapp.d.ts → module/zixflow-inapp.d.ts} +4 -4
- package/lib/typescript/module/zixflow-inapp.d.ts.map +1 -0
- package/lib/typescript/module/{customerio-location.d.ts → zixflow-location.d.ts} +5 -5
- package/lib/typescript/module/zixflow-location.d.ts.map +1 -0
- package/lib/typescript/module/{cio-params.d.ts → zixflow-params.d.ts} +1 -1
- package/lib/typescript/module/zixflow-params.d.ts.map +1 -0
- package/lib/typescript/{commonjs/customerio-push.d.ts → module/zixflow-push.d.ts} +11 -11
- package/lib/typescript/module/zixflow-push.d.ts.map +1 -0
- package/lib/typescript/module/zixflow.d.ts +5 -7
- package/lib/typescript/module/zixflow.d.ts.map +1 -1
- package/package.json +11 -12
- package/src/index.ts +3 -3
- package/src/native-logger-listener.ts +14 -14
- package/src/notification-inbox.ts +5 -5
- package/src/postInstall.js +1 -1
- package/src/specs/modules/{NativeCustomerIO.ts → NativeZixflow.ts} +5 -5
- package/src/specs/modules/{NativeCustomerIOLocation.ts → NativeZixflowLocation.ts} +3 -3
- package/src/specs/modules/NativeZixflowLogging.ts +22 -0
- package/src/specs/modules/{NativeCustomerIOMessagingInApp.ts → NativeZixflowMessagingInApp.ts} +4 -4
- package/src/specs/modules/{NativeCustomerIOMessagingPush.ts → NativeZixflowMessagingPush.ts} +3 -3
- package/src/types/data-pipelines.ts +14 -14
- package/src/types/internal.ts +2 -2
- package/src/types/push.ts +2 -2
- package/src/utils/native-bridge.ts +1 -1
- package/src/utils/param-validation.ts +8 -8
- package/src/{customerio-cdp.ts → zixflow-cdp.ts} +17 -17
- package/src/{customerio-inapp.ts → zixflow-inapp.ts} +6 -6
- package/src/{customerio-location.ts → zixflow-location.ts} +6 -6
- package/src/{customerio-push.ts → zixflow-push.ts} +19 -17
- package/src/zixflow.ts +5 -15
- package/zixflow-reactnative.podspec +16 -22
- package/customerio-reactnative.podspec +0 -60
- package/lib/commonjs/cio-params.js +0 -2
- package/lib/commonjs/cio-params.js.map +0 -1
- package/lib/commonjs/customerio-cdp.js.map +0 -1
- package/lib/commonjs/customerio-inapp.js.map +0 -1
- package/lib/commonjs/customerio-location.js.map +0 -1
- package/lib/commonjs/customerio-push.js.map +0 -1
- package/lib/commonjs/specs/modules/NativeCustomerIO.js.map +0 -1
- package/lib/commonjs/specs/modules/NativeCustomerIOLocation.js.map +0 -1
- package/lib/commonjs/specs/modules/NativeCustomerIOLogging.js +0 -19
- package/lib/commonjs/specs/modules/NativeCustomerIOLogging.js.map +0 -1
- package/lib/commonjs/specs/modules/NativeCustomerIOMessagingInApp.js +0 -16
- package/lib/commonjs/specs/modules/NativeCustomerIOMessagingInApp.js.map +0 -1
- package/lib/commonjs/specs/modules/NativeCustomerIOMessagingPush.js.map +0 -1
- package/lib/module/cio-params.js +0 -2
- package/lib/module/cio-params.js.map +0 -1
- package/lib/module/customerio-cdp.js.map +0 -1
- package/lib/module/customerio-inapp.js.map +0 -1
- package/lib/module/customerio-location.js.map +0 -1
- package/lib/module/customerio-push.js.map +0 -1
- package/lib/module/specs/modules/NativeCustomerIO.js.map +0 -1
- package/lib/module/specs/modules/NativeCustomerIOLocation.js +0 -13
- package/lib/module/specs/modules/NativeCustomerIOLocation.js.map +0 -1
- package/lib/module/specs/modules/NativeCustomerIOLogging.js +0 -18
- package/lib/module/specs/modules/NativeCustomerIOLogging.js.map +0 -1
- package/lib/module/specs/modules/NativeCustomerIOMessagingInApp.js +0 -15
- package/lib/module/specs/modules/NativeCustomerIOMessagingInApp.js.map +0 -1
- package/lib/module/specs/modules/NativeCustomerIOMessagingPush.js +0 -13
- package/lib/module/specs/modules/NativeCustomerIOMessagingPush.js.map +0 -1
- package/lib/typescript/commonjs/cio-params.d.ts.map +0 -1
- package/lib/typescript/commonjs/customerio-cdp.d.ts.map +0 -1
- package/lib/typescript/commonjs/customerio-inapp.d.ts.map +0 -1
- package/lib/typescript/commonjs/customerio-location.d.ts.map +0 -1
- package/lib/typescript/commonjs/customerio-push.d.ts.map +0 -1
- package/lib/typescript/commonjs/specs/modules/NativeCustomerIO.d.ts.map +0 -1
- package/lib/typescript/commonjs/specs/modules/NativeCustomerIOLocation.d.ts.map +0 -1
- package/lib/typescript/commonjs/specs/modules/NativeCustomerIOLogging.d.ts +0 -18
- package/lib/typescript/commonjs/specs/modules/NativeCustomerIOLogging.d.ts.map +0 -1
- package/lib/typescript/commonjs/specs/modules/NativeCustomerIOMessagingInApp.d.ts.map +0 -1
- package/lib/typescript/commonjs/specs/modules/NativeCustomerIOMessagingPush.d.ts.map +0 -1
- package/lib/typescript/module/cio-params.d.ts.map +0 -1
- package/lib/typescript/module/customerio-cdp.d.ts.map +0 -1
- package/lib/typescript/module/customerio-inapp.d.ts.map +0 -1
- package/lib/typescript/module/customerio-location.d.ts.map +0 -1
- package/lib/typescript/module/customerio-push.d.ts.map +0 -1
- package/lib/typescript/module/specs/modules/NativeCustomerIO.d.ts.map +0 -1
- package/lib/typescript/module/specs/modules/NativeCustomerIOLocation.d.ts.map +0 -1
- package/lib/typescript/module/specs/modules/NativeCustomerIOLogging.d.ts +0 -18
- package/lib/typescript/module/specs/modules/NativeCustomerIOLogging.d.ts.map +0 -1
- package/lib/typescript/module/specs/modules/NativeCustomerIOMessagingInApp.d.ts.map +0 -1
- package/lib/typescript/module/specs/modules/NativeCustomerIOMessagingPush.d.ts.map +0 -1
- package/src/specs/modules/NativeCustomerIOLogging.ts +0 -24
- /package/android/{cio-core.gradle → zixflow-core.gradle} +0 -0
- /package/src/{cio-params.ts → zixflow-params.ts} +0 -0
|
@@ -2,7 +2,7 @@ import { type TurboModule } from 'react-native';
|
|
|
2
2
|
import {
|
|
3
3
|
default as NativeModule,
|
|
4
4
|
type Spec as CodegenSpec,
|
|
5
|
-
} from './specs/modules/
|
|
5
|
+
} from './specs/modules/NativeZixflowLocation';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Ensures all methods defined in codegen spec are implemented by the public module
|
|
@@ -20,19 +20,19 @@ const withNativeModule = (fn: (native: CodegenSpec) => void): void => {
|
|
|
20
20
|
} else if (__DEV__ && !hasWarnedNotEnabled) {
|
|
21
21
|
hasWarnedNotEnabled = true;
|
|
22
22
|
console.warn(
|
|
23
|
-
'
|
|
24
|
-
'To use location features, set
|
|
23
|
+
'Zixflow: Location module is not enabled. ' +
|
|
24
|
+
'To use location features, set zixflow_location_enabled=true in ' +
|
|
25
25
|
'gradle.properties (Android) or add the location subspec to your Podfile (iOS).'
|
|
26
26
|
);
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
/** @public */
|
|
31
|
-
export class
|
|
31
|
+
export class ZixflowLocation implements NativeLocationSpec {
|
|
32
32
|
/**
|
|
33
33
|
* Sets the last known location from the host app's existing location system.
|
|
34
34
|
* Use this when your app already manages location and you want to send that data
|
|
35
|
-
* to
|
|
35
|
+
* to Zixflow without the SDK managing location permissions directly.
|
|
36
36
|
*
|
|
37
37
|
* @param latitude - Latitude in degrees, must be between -90 and 90
|
|
38
38
|
* @param longitude - Longitude in degrees, must be between -180 and 180
|
|
@@ -44,7 +44,7 @@ export class CustomerIOLocation implements NativeLocationSpec {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* Requests a single location update and sends the result to
|
|
47
|
+
* Requests a single location update and sends the result to Zixflow.
|
|
48
48
|
* No-ops if location tracking is disabled or permission is not granted.
|
|
49
49
|
*
|
|
50
50
|
* The SDK does not request location permission. The host app must request
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Platform, type TurboModule } from 'react-native';
|
|
2
|
-
import
|
|
2
|
+
import NativeZixflowMessagingPush, {
|
|
3
3
|
type Spec as CodegenSpec,
|
|
4
|
-
} from './specs/modules/
|
|
4
|
+
} from './specs/modules/NativeZixflowMessagingPush';
|
|
5
5
|
import {
|
|
6
|
-
type
|
|
7
|
-
|
|
6
|
+
type ZixflowPushPermissionOptions,
|
|
7
|
+
ZixflowPushPermissionStatus,
|
|
8
8
|
} from './types';
|
|
9
9
|
import { callNativeModule, ensureNativeModule } from './utils/native-bridge';
|
|
10
10
|
|
|
@@ -15,8 +15,8 @@ import { callNativeModule, ensureNativeModule } from './utils/native-bridge';
|
|
|
15
15
|
*/
|
|
16
16
|
interface NativePushSpec extends Omit<CodegenSpec, keyof TurboModule> {}
|
|
17
17
|
|
|
18
|
-
// Reference to the native
|
|
19
|
-
const nativeModule = ensureNativeModule(
|
|
18
|
+
// Reference to the native Zixflow Data Pipelines module for SDK operations
|
|
19
|
+
const nativeModule = ensureNativeModule(NativeZixflowMessagingPush);
|
|
20
20
|
|
|
21
21
|
// Wrapper function that ensures SDK is initialized before calling native methods
|
|
22
22
|
const withNativeModule = <R>(fn: (native: CodegenSpec) => R): R => {
|
|
@@ -24,10 +24,10 @@ const withNativeModule = <R>(fn: (native: CodegenSpec) => R): R => {
|
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
/** @public */
|
|
27
|
-
class
|
|
27
|
+
class ZixflowPushMessaging implements NativePushSpec {
|
|
28
28
|
/**
|
|
29
|
-
* Processes push notification received outside the
|
|
30
|
-
* device and tracks
|
|
29
|
+
* Processes push notification received outside the Zixflow SDK. The method displays notification on
|
|
30
|
+
* device and tracks metrics for push notification.
|
|
31
31
|
*
|
|
32
32
|
* @param message - push payload received from FCM. The payload must contain data payload received in push
|
|
33
33
|
* notification.
|
|
@@ -67,7 +67,7 @@ class CustomerIOPushMessaging implements NativePushSpec {
|
|
|
67
67
|
/**
|
|
68
68
|
* Track push notifications metrics using this method.
|
|
69
69
|
* Call this method when a user interacts and taps open the push notification.
|
|
70
|
-
* @param payload -
|
|
70
|
+
* @param payload - Zixflow payload as received from the push notification
|
|
71
71
|
*/
|
|
72
72
|
trackNotificationResponseReceived(payload: Object) {
|
|
73
73
|
// Tracking push notification metrics on Android is handled automatically
|
|
@@ -84,7 +84,7 @@ class CustomerIOPushMessaging implements NativePushSpec {
|
|
|
84
84
|
/**
|
|
85
85
|
* Track push notifications metrics using this method.
|
|
86
86
|
* Call this method when a push notification is received.
|
|
87
|
-
* @param payload -
|
|
87
|
+
* @param payload - Zixflow payload as received from the push notification
|
|
88
88
|
*/
|
|
89
89
|
trackNotificationReceived(payload: Object) {
|
|
90
90
|
// Tracking push notification metrics on Android is handled automatically
|
|
@@ -106,16 +106,18 @@ class CustomerIOPushMessaging implements NativePushSpec {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
showPromptForPushNotifications(
|
|
109
|
-
options:
|
|
110
|
-
|
|
109
|
+
options: ZixflowPushPermissionOptions = {
|
|
110
|
+
ios: { badge: true, sound: true },
|
|
111
|
+
}
|
|
112
|
+
): Promise<ZixflowPushPermissionStatus> {
|
|
111
113
|
return withNativeModule((native) =>
|
|
112
114
|
native.showPromptForPushNotifications(options)
|
|
113
|
-
).then((status) => status as
|
|
115
|
+
).then((status) => status as ZixflowPushPermissionStatus);
|
|
114
116
|
}
|
|
115
117
|
|
|
116
|
-
getPushPermissionStatus(): Promise<
|
|
118
|
+
getPushPermissionStatus(): Promise<ZixflowPushPermissionStatus> {
|
|
117
119
|
return withNativeModule((native) => native.getPushPermissionStatus()).then(
|
|
118
|
-
(status) => status as
|
|
120
|
+
(status) => status as ZixflowPushPermissionStatus
|
|
119
121
|
);
|
|
120
122
|
}
|
|
121
123
|
|
|
@@ -124,4 +126,4 @@ class CustomerIOPushMessaging implements NativePushSpec {
|
|
|
124
126
|
}
|
|
125
127
|
}
|
|
126
128
|
|
|
127
|
-
export {
|
|
129
|
+
export { ZixflowPushMessaging };
|
package/src/zixflow.ts
CHANGED
|
@@ -1,24 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Zixflow SDK - Main entry point
|
|
3
3
|
*
|
|
4
|
-
* This provides the Zixflow-branded API
|
|
4
|
+
* This provides the Zixflow-branded API.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
// Re-export the CustomerIO class as Zixflow for branding
|
|
13
|
-
export const Zixflow = CustomerIO;
|
|
7
|
+
export { Zixflow } from './zixflow-cdp';
|
|
8
|
+
export { ZixflowInAppMessaging } from './zixflow-inapp';
|
|
9
|
+
export { ZixflowLocation } from './zixflow-location';
|
|
10
|
+
export { ZixflowPushMessaging } from './zixflow-push';
|
|
14
11
|
|
|
15
12
|
// Re-export all types and utilities
|
|
16
13
|
export * from './types';
|
|
17
14
|
export * from './notification-inbox';
|
|
18
|
-
|
|
19
|
-
// Export sub-modules with their original names (they work with the main Zixflow class)
|
|
20
|
-
export {
|
|
21
|
-
CustomerIOInAppMessaging,
|
|
22
|
-
CustomerIOLocation,
|
|
23
|
-
CustomerIOPushMessaging,
|
|
24
|
-
};
|
|
@@ -2,8 +2,7 @@ require "json"
|
|
|
2
2
|
|
|
3
3
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
4
4
|
|
|
5
|
-
#
|
|
6
|
-
# Uses Zixflow iOS SDK via CocoaPods
|
|
5
|
+
# Used by customers to install native iOS dependencies inside their host iOS app.
|
|
7
6
|
Pod::Spec.new do |s|
|
|
8
7
|
s.name = "zixflow-reactnative"
|
|
9
8
|
s.version = package["version"]
|
|
@@ -18,49 +17,44 @@ Pod::Spec.new do |s|
|
|
|
18
17
|
s.source_files = "ios/wrappers/**/*.{h,m,mm,swift}"
|
|
19
18
|
|
|
20
19
|
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
|
|
20
|
+
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
|
|
21
21
|
if respond_to?(:install_modules_dependencies, true)
|
|
22
22
|
install_modules_dependencies(s)
|
|
23
23
|
else
|
|
24
24
|
s.dependency "React-Core"
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
s.dependency "
|
|
30
|
-
s.dependency "
|
|
31
|
-
s.dependency "ZixflowCommon", package["zixflowNativeiOSSdkVersion"]
|
|
32
|
-
s.dependency "ZixflowTrackingMigration", package["zixflowNativeiOSSdkVersion"]
|
|
33
|
-
|
|
34
|
-
# Transitive dependencies (required for explicit module builds)
|
|
35
|
-
s.dependency "AnalyticsSwiftZixflow", "1.7.3+zixflow.1"
|
|
36
|
-
s.dependency "JSONSafeEncoding", "~> 2.0"
|
|
37
|
-
s.dependency "Sovran", "~> 1.1"
|
|
38
|
-
s.dependency "LDSwiftEventSource", "~> 3.3"
|
|
27
|
+
# Syntax of native iOS pods allows for automatically upgrading to the latest major version of the iOS SDK.
|
|
28
|
+
# Reference: https://guides.cocoapods.org/syntax/podfile.html#pod
|
|
29
|
+
s.dependency "Zixflow/DataPipelines", package["zixflowNativeiOSSdkVersion"]
|
|
30
|
+
s.dependency "Zixflow/MessagingInApp", package["zixflowNativeiOSSdkVersion"]
|
|
39
31
|
|
|
40
32
|
# If we do not specify a default_subspec, then *all* dependencies inside of *all* the subspecs will be downloaded by cocoapods.
|
|
41
|
-
# We want customers to opt into push dependencies especially because the FCM
|
|
33
|
+
# We want customers to opt into push dependencies especially because the FCM subpsec downloads Firebase dependencies. APN customers should not install Firebase dependencies at all.
|
|
42
34
|
s.default_subspec = "nopush"
|
|
43
35
|
|
|
44
36
|
s.subspec "nopush" do |ss|
|
|
45
|
-
# This is the default subspec designed to not install any push dependencies.
|
|
37
|
+
# This is the default subspec designed to not install any push dependencies. User should choose APN or FCM.
|
|
46
38
|
# The SDK at runtime currently requires the MessagingPush module so we do include it here.
|
|
47
|
-
ss.dependency "
|
|
39
|
+
ss.dependency "Zixflow/MessagingPush", package["zixflowNativeiOSSdkVersion"]
|
|
48
40
|
end
|
|
49
41
|
|
|
50
42
|
# Note: Subspecs inherit all dependencies specified the parent spec (this file).
|
|
51
43
|
s.subspec "apn" do |ss|
|
|
52
|
-
ss.dependency "
|
|
44
|
+
ss.dependency "Zixflow/MessagingPushAPN", package["zixflowNativeiOSSdkVersion"]
|
|
53
45
|
end
|
|
54
46
|
|
|
55
47
|
s.subspec "fcm" do |ss|
|
|
56
|
-
ss.dependency "
|
|
48
|
+
ss.dependency "Zixflow/MessagingPushFCM", package["zixflowNativeiOSSdkVersion"]
|
|
49
|
+
# Zixflow Firebase Wrapper - provides Firebase integration
|
|
50
|
+
ss.dependency "ZixflowFirebaseWrapper", package["zixflowNativeiOSSdkVersion"]
|
|
57
51
|
end
|
|
58
52
|
|
|
59
|
-
# Location module is optional -
|
|
53
|
+
# Location module is optional - users must opt in by adding this subspec.
|
|
60
54
|
s.subspec "location" do |ss|
|
|
61
|
-
ss.dependency "
|
|
55
|
+
ss.dependency "Zixflow/Location", package["zixflowNativeiOSSdkVersion"]
|
|
62
56
|
ss.pod_target_xcconfig = {
|
|
63
|
-
'OTHER_SWIFT_FLAGS' => '$(inherited) -
|
|
57
|
+
'OTHER_SWIFT_FLAGS' => '$(inherited) -DZIXFLOW_LOCATION_ENABLED'
|
|
64
58
|
}
|
|
65
59
|
end
|
|
66
60
|
end
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
require "json"
|
|
2
|
-
|
|
3
|
-
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
4
|
-
|
|
5
|
-
# Used by customers to install native iOS dependencies inside their host iOS app.
|
|
6
|
-
Pod::Spec.new do |s|
|
|
7
|
-
s.name = "customerio-reactnative"
|
|
8
|
-
s.version = package["version"]
|
|
9
|
-
s.summary = package["description"]
|
|
10
|
-
s.homepage = package["homepage"]
|
|
11
|
-
s.license = package["license"]
|
|
12
|
-
s.authors = package["author"]
|
|
13
|
-
|
|
14
|
-
s.platforms = { :ios => min_ios_version_supported }
|
|
15
|
-
s.source = { :git => "https://github.com/customerio/customerio-ios.git", :tag => "#{s.version}" }
|
|
16
|
-
|
|
17
|
-
s.source_files = "ios/wrappers/**/*.{h,m,mm,swift}"
|
|
18
|
-
|
|
19
|
-
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
|
|
20
|
-
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
|
|
21
|
-
if respond_to?(:install_modules_dependencies, true)
|
|
22
|
-
install_modules_dependencies(s)
|
|
23
|
-
else
|
|
24
|
-
s.dependency "React-Core"
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
# Syntax of native iOS pods allows for automatically upgrading to the latest major version of the iOS SDK.
|
|
28
|
-
# Reference: https://guides.cocoapods.org/syntax/podfile.html#pod
|
|
29
|
-
s.dependency "CustomerIO/DataPipelines", package["cioNativeiOSSdkVersion"]
|
|
30
|
-
s.dependency "CustomerIO/MessagingInApp", package["cioNativeiOSSdkVersion"]
|
|
31
|
-
|
|
32
|
-
# If we do not specify a default_subspec, then *all* dependencies inside of *all* the subspecs will be downloaded by cocoapods.
|
|
33
|
-
# We want customers to opt into push dependencies especially because the FCM subpsec downloads Firebase dependencies. APN customers should not install Firebase dependencies at all.
|
|
34
|
-
s.default_subspec = "nopush"
|
|
35
|
-
|
|
36
|
-
s.subspec "nopush" do |ss|
|
|
37
|
-
# This is the default subspec designed to not install any push dependencies. Customer should choose APN or FCM.
|
|
38
|
-
# The SDK at runtime currently requires the MessagingPush module so we do include it here.
|
|
39
|
-
ss.dependency "CustomerIO/MessagingPush", package["cioNativeiOSSdkVersion"]
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
# Note: Subspecs inherit all dependencies specified the parent spec (this file).
|
|
43
|
-
s.subspec "apn" do |ss|
|
|
44
|
-
ss.dependency "CustomerIO/MessagingPushAPN", package["cioNativeiOSSdkVersion"]
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
s.subspec "fcm" do |ss|
|
|
48
|
-
ss.dependency "CustomerIO/MessagingPushFCM", package["cioNativeiOSSdkVersion"]
|
|
49
|
-
# Customer.io Firebase Wrapper - provides Firebase integration
|
|
50
|
-
ss.dependency "CioFirebaseWrapper", package["cioiOSFirebaseWrapperSdkVersion"]
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
# Location module is optional - customers must opt in by adding this subspec.
|
|
54
|
-
s.subspec "location" do |ss|
|
|
55
|
-
ss.dependency "CustomerIO/Location", package["cioNativeiOSSdkVersion"]
|
|
56
|
-
ss.pod_target_xcconfig = {
|
|
57
|
-
'OTHER_SWIFT_FLAGS' => '$(inherited) -DCIO_LOCATION_ENABLED'
|
|
58
|
-
}
|
|
59
|
-
end
|
|
60
|
-
end
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../src","sources":["cio-params.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_customerioInapp","require","_customerioLocation","_customerioPush","_nativeLoggerListener","_NativeCustomerIO","_interopRequireDefault","_index","_nativeBridge","_paramValidation","e","__esModule","default","packageJson","_initialized","nativeModule","ensureNativeModule","NativeModule","withNativeModule","fn","callNativeModule","CustomerIO","initialize","config","assert","logLevel","CioLogLevel","None","NativeLoggerListener","expoVersion","args","packageSource","packageVersion","version","promise","native","then","identify","userId","traits","validate","isUndefined","Error","string","allowEmpty","usage","optional","normalizedTraits","attributes","clearIdentify","track","name","properties","normalizedProps","screen","title","setProfileAttributes","normalizedAttrs","setDeviceAttributes","registerDeviceToken","token","deleteDeviceToken","trackMetric","deliveryID","deviceToken","event","isInitialized","inAppMessaging","CustomerIOInAppMessaging","location","CustomerIOLocation","pushMessaging","Cust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CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","_nativeLoggerListener","_notificationInbox","_NativeCustomerIOMessagingInApp","_interopRequireDefault","_nativeBridge","e","__esModule","default","nativeModule","ensureNativeModule","NativeCustomerIOMessagingInApp","withNativeModule","fn","callNativeModule","CustomerIOInAppMessaging","registerEventsListener","listener","emitter","data","event","InAppMessageEvent","eventType","messageId","deliveryId","actionValue","actionName","native","onInAppEventReceived","error","NativeLoggerListener","warn","remove","key","subscriber","dismissMessage","inbox","NotificationInbox","exports","constructor"],"sourceRoot":"../../src","sources":["customerio-inapp.ts"],"mappings":";;;;;;;;;;;;;;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,qBAAA,GAAAD,OAAA;AACA,IAAAE,kBAAA,GAAAF,OAAA;AAIA,IAAAG,+BAAA,GAAAC,sBAAA,CAAAJ,OAAA;AAIA,IAAAK,aAAA,GAAAL,OAAA;AAA6E,SAAAI,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE7E;AACA;AACA;AACA;AACA;;AAMA;AACA,MAAMG,YAAY,GAAG,IAAAC,gCAAkB,EAACC,uCAA8B,CAAC;;AAEvE;AACA,MAAMC,gBAAgB,GAAOC,EAA8B,IAAQ;EACjE,OAAO,IAAAC,8BAAgB,EAACL,YAAY,EAAEI,EAAE,CAAC;AAC3C,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,MAAME,wBAAwB,CAA4B;EAGxDC,sBAAsBA,CACpBC,QAA4C,EACzB;IACnB,MAAMC,OAAO,GAAIC,IAAS,IAAK;MAC7B;MACA,MAAMC,KAAK,GAAG,IAAIC,iBAAiB,CACjCF,IAAI,CAACG,SAAS,EACdH,IAAI,CAACI,SAAS,EACdJ,IAAI,CAACK,UAAU,EACfL,IAAI,CAACM,WAAW,EAChBN,IAAI,CAACO,UACP,CAA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
|
|
1
|
-
{"version":3,"names":["_NativeCustomerIOLocation","_interopRequireDefault","require","e","__esModule","default","hasWarnedNotEnabled","withNativeModule","fn","NativeModule","__DEV__","console","warn","CustomerIOLocation","setLastKnownLocation","latitude","longitude","native","requestLocationUpdate","exports"],"sourceRoot":"../../src","sources":["customerio-location.ts"],"mappings":";;;;;;AACA,IAAAA,yBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGkD,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElD;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA,IAAIG,mBAAmB,GAAG,KAAK;AAC/B,MAAMC,gBAAgB,GAAIC,EAAiC,IAAW;EACpE,IAAIC,iCAAY,EAAE;IAChBD,EAAE,CAACC,iCAAY,CAAC;EAClB,CAAC,MAAM,IAAIC,OAAO,IAAI,CAACJ,mBAAmB,EAAE;IAC1CA,mBAAmB,GAAG,IAAI;IAC1BK,OAAO,CAACC,IAAI,CACV,+CAA+C,GAC7C,oEAAoE,GACpE,gFACJ,CAAC;EACH;AACF,CAAC;;AAED;AACO,MAAMC,kBAAkB,CAA+B;EAC5D;AACF;AACA;AACA;AACA;AACA;AACA;AACA;EACEC,oBAAoBA,CAACC,QAAgB,EAAEC,SAAiB,EAAQ;IAC9D,OAAOT,gBAAgB,CAAEU,MAAM,IAC7BA,MAAM,CAACH,oBAAoB,CAACC,QAAQ,EAAEC,SAAS,CACjD,CAAC;EACH;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEE,qBAAqBA,CAAA,EAAS;IAC5B,OAAOX,gBAAgB,CAAEU,MAAM,IAAKA,MAAM,CAACC,qBAAqB,CAAC,CAAC,CAAC;EACrE;AACF;AAACC,OAAA,CAAAN,kBAAA,GAAAA,kBAAA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_NativeCustomerIOMessagingPush","_interopRequireDefault","_nativeBridge","e","__esModule","default","nativeModule","ensureNativeModule","NativeCustomerIOMessagingPush","withNativeModule","fn","callNativeModule","CustomerIOPushMessaging","onMessageReceived","message","handleNotificationTrigger","Platform","OS","Promise","resolve","native","onBackgroundMessageReceived","notification","trackNotificationResponseReceived","payload","isAndroid","trackNotificationReceived","getRegisteredDeviceToken","showPromptForPushNotifications","options","ios","badge","sound","then","status","getPushPermissionStatus","exports"],"sourceRoot":"../../src","sources":["customerio-push.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,8BAAA,GAAAC,sBAAA,CAAAF,OAAA;AAOA,IAAAG,aAAA,GAAAH,OAAA;AAA6E,SAAAE,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE7E;AACA;AACA;AACA;AACA;;AAGA;AACA,MAAMG,YAAY,GAAG,IAAAC,gCAAkB,EAACC,sCAA6B,CAAC;;AAEtE;AACA,MAAMC,gBAAgB,GAAOC,EAA8B,IAAQ;EACjE,OAAO,IAAAC,8BAAgB,EAACL,YAAY,EAAEI,EAAE,CAAC;AAC3C,CAAC;;AAED;AACA,MAAME,uBAAuB,CAA2B;EACtD;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACEC,iBAAiBA,CACfC,OAAY,EACZC,yBAAkC,GAAG,IAAI,EACvB;IAClB,IAAIC,qBAAQ,CAACC,EAAE,KAAK,KAAK,EAAE;MACzB;MACA;MACA;MACA;MACA,OAAOC,OAAO,CAACC,OAAO,CAAC,IAAI,CAAC;IAC9B,CAAC,MAAM;MACL,OAAOV,gBAAgB,CAAEW,MAAM,IAC7BA,MAAM,CAACP,iBAAiB,CAACC,OAAO,EAAEC,yBAAyB,CAC7D,CAAC;IACH;EACF;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEM,2BAA2BA,CAACP,OAAY,EA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AClC;AACF;AAACmB,OAAA,CAAAxB,uBAAA,GAAAA,uBAAA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeCustomerIO.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AAEA;AACA;AACA;AACA;AAHA,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAoBeC,gCAAmB,CAACC,YAAY,CAAO,kBAAkB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","get"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeCustomerIOLocation.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AALA,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAYeC,gCAAmB,CAACC,GAAG,CAAO,0BAA0B,CAAC","ignoreList":[]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _reactNative = require("react-native");
|
|
8
|
-
/**
|
|
9
|
-
* Native module specification for CustomerIO Logging React Native SDK
|
|
10
|
-
*
|
|
11
|
-
* This module defines the TurboModule interface for CustomerIO logging bridge.
|
|
12
|
-
* Used internally for printing logs to React Native environment instead of native.
|
|
13
|
-
*
|
|
14
|
-
* @see NativeCustomerIO.ts for detailed documentation on TurboModule patterns,
|
|
15
|
-
* Codegen compatibility, and type safety approach.
|
|
16
|
-
*/
|
|
17
|
-
/** TurboModule interface for CustomerIO logging native operations */
|
|
18
|
-
var _default = exports.default = _reactNative.TurboModuleRegistry.getEnforcing('NativeCustomerIOLogging');
|
|
19
|
-
//# sourceMappingURL=NativeCustomerIOLogging.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeCustomerIOLogging.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAKeC,gCAAmB,CAACC,YAAY,CAC7C,yBACF,CAAC","ignoreList":[]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _reactNative = require("react-native");
|
|
8
|
-
/**
|
|
9
|
-
* Native module specification for CustomerIO In-App Messaging React Native SDK
|
|
10
|
-
*
|
|
11
|
-
* @see NativeCustomerIO.ts for detailed documentation on TurboModule patterns,
|
|
12
|
-
* Codegen compatibility, and type safety approach.
|
|
13
|
-
*/
|
|
14
|
-
/** TurboModule interface for CustomerIO In-App Messaging native operations */
|
|
15
|
-
var _default = exports.default = _reactNative.TurboModuleRegistry.getEnforcing('NativeCustomerIOMessagingInApp');
|
|
16
|
-
//# sourceMappingURL=NativeCustomerIOMessagingInApp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeCustomerIOMessagingInApp.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAceC,gCAAmB,CAACC,YAAY,CAC7C,gCACF,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeCustomerIOMessagingPush.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAGA;AACA;AACA;AACA;AACA;AACA;AALA,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAqBeC,gCAAmB,CAACC,YAAY,CAC7C,+BACF,CAAC","ignoreList":[]}
|
package/lib/module/cio-params.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../src","sources":["cio-params.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["CustomerIOInAppMessaging","CustomerIOLocation","CustomerIOPushMessaging","NativeLoggerListener","default","NativeModule","CioLogLevel","callNativeModule","ensureNativeModule","assert","validate","packageJson","require","_initialized","nativeModule","withNativeModule","fn","CustomerIO","initialize","config","logLevel","None","expoVersion","args","packageSource","packageVersion","version","promise","native","then","identify","userId","traits","isUndefined","Error","string","allowEmpty","usage","optional","normalizedTraits","attributes","clearIdentify","track","name","properties","normalizedProps","screen","title","setProfileAttributes","normalizedAttrs","setDeviceAttributes","registerDeviceToken","token","deleteDeviceToken","trackMetric","deliveryID","deviceToken","event","isInitialized","inAppMessaging","location","pushMessaging","initNativeLogger"],"sourceRoot":"../../src","sources":["customerio-cdp.ts"],"mappings":";;AAAA,SAASA,wBAAwB,QAAQ,uBAAoB;AAC7D,SAASC,kBAAkB,QAAQ,0BAAuB;AAC1D,SAASC,uBAAuB,QAAQ,sBAAmB;AAC3D,SAASC,oBAAoB,QA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tC,gBAAgB,CAAEa,MAAM,IAAKA,MAAM,CAACyB,iBAAiB,CAAC,CAAC,CAAC;EACjE,CAAC;;EAED;EACA,OAAgBC,WAAW,GAAG,MAAAA,CAAO;IACnCC,UAAU;IACVC,WAAW;IACXC;EAKF,CAAC,KAAK;IACJhD,MAAM,CAAC0B,MAAM,CAACoB,UAAU,EAAE,YAAY,EAAE;MAAElB,KAAK,EAAE;IAAe,CAAC,CAAC;IAClE5B,MAAM,CAAC0B,MAAM,CAACqB,WAAW,EAAE,aAAa,EAAE;MAAEnB,KAAK,EAAE;IAAe,CAAC,CAAC;IACpE5B,MAAM,CAAC0B,MAAM,CAACsB,KAAK,EAAE,OAAO,EAAE;MAAEpB,KAAK,EAAE;IAAe,CAAC,CAAC;IAExD,OAAOtB,gBAAgB,CAAEa,MAAM,IAC7BA,MAAM,CAAC0B,WAAW,CAACC,UAAU,EAAEC,WAAW,EAAEC,KAAK,CACnD,CAAC;EACH,CAAC;;EAED;AACF;AACA;AACA;EACE,OAAgBC,aAAa,GAAGA,CAAA,KAAM7C,YAAY;EAElD,OAAgB8C,cAAc,GAAG,IAAI3D,wBAAwB,CAAC,CAAC;EAC/D,OAAgB4D,QAAQ,GAAG,IAAI3D,kBAAkB,CAAC,CAAC;EACnD,OAAgB4D,aAAa,GAAG,IAAI3D,uBAAuB,CAAC,CAAC;AAC/D;;AAEA;AACA;AACA;AACA;AACAC,oBAAoB,CAAC2D,gBAAgB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["InlineInAppMessageView","NativeLoggerListener","NotificationInbox","NativeCustomerIOMessagingInApp","callNativeModule","ensureNativeModule","nativeModule","withNativeModule","fn","CustomerIOInAppMessaging","registerEventsListener","listener","emitter","data","event","InAppMessageEvent","eventType","messageId","deliveryId","actionValue","actionName","native","onInAppEventReceived","error","warn","remove","key","subscriber","dismissMessage","inbox","_notificationInbox","constructor"],"sourceRoot":"../../src","sources":["customerio-inap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AM,CAACO,cAAc,CAAC,CAAC,CAAC;EACvD;;EAEA;AACF;AACA;AACA;AACA;EACEC,KAAKA,CAAA,EAAsB;IACzB,IAAI,CAAC,IAAI,CAACC,kBAAkB,EAAE;MAC5B,IAAI,CAACA,kBAAkB,GAAG,IAAI5B,iBAAiB,CAAC,CAAC;IACnD;IACA,OAAO,IAAI,CAAC4B,kBAAkB;EAChC;AACF;;AAEA;AACA;AACA;AACA;AACA,MAAMf,iBAAiB,CAAC;EAOtBgB,WAAWA,CACTf,SAAgC,EAChCC,SAAiB,EACjBC,UAAmB,EACnBC,WAAoB,EACpBC,UAAmB,EACnB;IACA,IAAI,CAACJ,SAAS,GAAGA,SAAS;IAC1B,IAAI,CAACE,UAAU,GAAGA,UAAU;IAC5B,IAAI,CAACD,SAAS,GAAGA,SAAS;IAC1B,IAAI,CAACE,WAAW,GAAGA,WAAW;IAC9B,IAAI,CAACC,UAAU,GAAGA,UAAU;EAC9B;AACF;;AAEA;;AAEA,SAASlB,iBAAiB,QAAQ,yBAAsB;AAExD,SAASO,wBAAwB,EAAEM,iBAAiB,EAAEf,sBAAsB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["default","NativeModule","hasWarnedNotEnabled","withNativeModule","fn","__DEV__","console","warn","CustomerIOLocation","setLastKnownLocation","latitude","longitude","native","requestLocationUpdate"],"sourceRoot":"../../src","sources":["customerio-location.ts"],"mappings":";;AACA,SACEA,OAAO,IAAIC,YAAY,QAElB,6CAA0C;;AAEjD;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA,IAAIC,mBAAmB,GAAG,KAAK;AAC/B,MAAMC,gBAAgB,GAAIC,EAAiC,IAAW;EACpE,IAAIH,YAAY,EAAE;IAChBG,EAAE,CAACH,YAAY,CAAC;EAClB,CAAC,MAAM,IAAII,OAAO,IAAI,CAACH,mBAAmB,EAAE;IAC1CA,mBAAmB,GAAG,IAAI;IAC1BI,OAAO,CAACC,IAAI,CACV,+CAA+C,GAC7C,oEAAoE,GACpE,gFACJ,CAAC;EACH;AACF,CAAC;;AAED;AACA,OAAO,MAAMC,kBAAkB,CAA+B;EAC5D;AACF;AACA;AACA;AACA;AACA;AACA;AACA;EACEC,oBAAoBA,CAACC,QAAgB,EAAEC,SAAiB,EAAQ;IAC9D,OAAOR,gBAAgB,CAAES,MAAM,IAC7BA,MAAM,CAACH,oBAAoB,CAACC,QAAQ,EAAEC,SAAS,CACjD,CAAC;EACH;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEE,qBAAqBA,CAAA,EAAS;IAC5B,OAAOV,gBAAgB,CAAES,MAAM,IAAKA,MAAM,CAACC,qBAAqB,CAAC,CAAC,CAAC;EACrE;AACF","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Platform","NativeCustomerIOMessagingPush","callNativeModule","ensureNativeModule","nativeModule","withNativeModule","fn","CustomerIOPushMessaging","onMessageReceived","message","handleNotificationTrigger","OS","Promise","resolve","native","onBackgroundMessageReceived","notification","trackNotificationResponseReceived","payload","isAndroid","trackNotificationReceived","getRegisteredDeviceToken","showPromptForPushNotifications","options","ios","badge","sound","then","status","getPushPermissionStatus"],"sourceRoot":"../../src","sources":["customerio-push.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAA0B,cAAc;AACzD,OAAOC,6BAA6B,MAE7B,kDAA+C;AAKtD,SAASC,gBAAgB,EAAEC,kBAAkB,QAAQ,0BAAuB;;AAE5E;AACA;AACA;AACA;AACA;;AAGA;AACA,MAAMC,YAAY,GAAGD,kBAAkB,CAACF,6BAA6B,CAAC;;AAEtE;AACA,MAAMI,gBAAgB,GAAOC,EAA8B,IAAQ;EACjE,OAAOJ,gBAAgB,CAACE,YAAY,EAAEE,EAAE,CAAC;AAC3C,CAAC;;AAED;AACA,MAAMC,uBAAuB,CAA2B;EACtD;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACEC,iBAAiBA,CACfC,OAAY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,IAC7BA,MAAM,CAACQ,8BAA8B,CAACC,OAAO,CAC/C,CAAC,CAACI,IAAI,CAAEC,MAAM,IAAKA,MAAiC,CAAC;EACvD;EAEAC,uBAAuBA,CAAA,EAAqC;IAC1D,OAAOxB,gBAAgB,CAAES,MAAM,IAAKA,MAAM,CAACe,uBAAuB,CAAC,CAAC,CAAC,CAACF,IAAI,CACvEC,MAAM,IAAKA,MACd,CAAC;EACH;EAEAT,SAASA,CAAA,EAAY;IACnB,OAAOnB,QAAQ,CAACW,EAAE,KAAK,SAAS;EAClC;AACF;AAEA,SAASJ,uBAAuB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeCustomerIO.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAA0B,cAAc;;AAGpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAiBA,eAAeA,mBAAmB,CAACC,YAAY,CAAO,kBAAkB,CAAC","ignoreList":[]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { TurboModuleRegistry } from 'react-native';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Native module specification for CustomerIO Location React Native SDK
|
|
7
|
-
*
|
|
8
|
-
* @see NativeCustomerIO.ts for detailed documentation on TurboModule patterns,
|
|
9
|
-
* Codegen compatibility, and type safety approach.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
export default TurboModuleRegistry.get('NativeCustomerIOLocation');
|
|
13
|
-
//# sourceMappingURL=NativeCustomerIOLocation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","get"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeCustomerIOLocation.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAA0B,cAAc;;AAEpE;AACA;AACA;AACA;AACA;AACA;;AAOA,eAAeA,mBAAmB,CAACC,GAAG,CAAO,0BAA0B,CAAC","ignoreList":[]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { TurboModuleRegistry } from 'react-native';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Native module specification for CustomerIO Logging React Native SDK
|
|
7
|
-
*
|
|
8
|
-
* This module defines the TurboModule interface for CustomerIO logging bridge.
|
|
9
|
-
* Used internally for printing logs to React Native environment instead of native.
|
|
10
|
-
*
|
|
11
|
-
* @see NativeCustomerIO.ts for detailed documentation on TurboModule patterns,
|
|
12
|
-
* Codegen compatibility, and type safety approach.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
/** TurboModule interface for CustomerIO logging native operations */
|
|
16
|
-
|
|
17
|
-
export default TurboModuleRegistry.getEnforcing('NativeCustomerIOLogging');
|
|
18
|
-
//# sourceMappingURL=NativeCustomerIOLogging.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeCustomerIOLogging.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAA0B,cAAc;;AAMpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAKA,eAAeA,mBAAmB,CAACC,YAAY,CAC7C,yBACF,CAAC","ignoreList":[]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { TurboModuleRegistry } from 'react-native';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Native module specification for CustomerIO In-App Messaging React Native SDK
|
|
7
|
-
*
|
|
8
|
-
* @see NativeCustomerIO.ts for detailed documentation on TurboModule patterns,
|
|
9
|
-
* Codegen compatibility, and type safety approach.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
/** TurboModule interface for CustomerIO In-App Messaging native operations */
|
|
13
|
-
|
|
14
|
-
export default TurboModuleRegistry.getEnforcing('NativeCustomerIOMessagingInApp');
|
|
15
|
-
//# sourceMappingURL=NativeCustomerIOMessagingInApp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeCustomerIOMessagingInApp.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAA0B,cAAc;;AAMpE;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAcA,eAAeA,mBAAmB,CAACC,YAAY,CAC7C,gCACF,CAAC","ignoreList":[]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { TurboModuleRegistry } from 'react-native';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Native module specification for CustomerIO Push Messaging React Native SDK
|
|
7
|
-
*
|
|
8
|
-
* @see NativeCustomerIO.ts for detailed documentation on TurboModule patterns,
|
|
9
|
-
* Codegen compatibility, and type safety approach.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
export default TurboModuleRegistry.getEnforcing('NativeCustomerIOMessagingPush');
|
|
13
|
-
//# sourceMappingURL=NativeCustomerIOMessagingPush.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeCustomerIOMessagingPush.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAA0B,cAAc;;AAGpE;AACA;AACA;AACA;AACA;AACA;;AAgBA,eAAeA,mBAAmB,CAACC,YAAY,CAC7C,+BACF,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cio-params.d.ts","sourceRoot":"","sources":["../../../src/cio-params.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"customerio-cdp.d.ts","sourceRoot":"","sources":["../../../src/customerio-cdp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAM5D,OAAO,EAEL,WAAW,EACX,KAAK,SAAS,EAEd,KAAK,cAAc,EACpB,MAAM,SAAS,CAAC;AAkBjB,cAAc;AACd,qBAAa,UAAU;IACrB,8DAA8D;IAC9D,MAAM,CAAC,QAAQ,CAAC,UAAU,GAAU,QAAQ,SAAS,mBAmBnD;IAEF,0FAA0F;IAC1F,MAAM,CAAC,QAAQ,CAAC,QAAQ,GAAU,sBAG/B,cAAmB,kBAkBpB;IAEF,2DAA2D;IAC3D,MAAM,CAAC,QAAQ,CAAC,aAAa,qBAE3B;IAEF,+CAA+C;IAC/C,MAAM,CAAC,QAAQ,CAAC,KAAK,GACnB,MAAM,MAAM,EACZ,aAAa,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,kBAWhC;IAEF,0DAA0D;IAC1D,MAAM,CAAC,QAAQ,CAAC,MAAM,GACpB,OAAO,MAAM,EACb,aAAa,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,kBAWhC;IAEF,0EAA0E;IAC1E,MAAM,CAAC,QAAQ,CAAC,oBAAoB,GAClC,YAAY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,kBAS/B;IAEF,6CAA6C;IAC7C,MAAM,CAAC,QAAQ,CAAC,mBAAmB,GACjC,YAA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H,qBAAqB,IAAI,IAAI;CAG9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"customerio-push.d.ts","sourceRoot":"","sources":["../../../src/customerio-push.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAsC,EACpC,KAAK,IAAI,IAAI,WAAW,EACzB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,KAAK,wBAAwB,EAC7B,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAGjB;;;;GAIG;AACH,UAAU,cAAe,SAAQ,IAAI,CAAC,WAAW,EAAE,MAAM,WAAW,CAAC;CAAG;AAUxE,cAAc;AACd,cAAM,uBAAwB,YAAW,cAAc;IACrD;;;;;;;;;;OAUG;IACH,iBAAiB,CACf,OAAO,EAAE,GAAG,EACZ,yBAAyB,GAAE,OAAc,GACxC,OAAO,CAAC,OAAO,CAAC;IAcnB;;;;;;OAMG;IACH,2BAA2B,CAAC,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC;IAI3D;;;;OAIG;IACH,iCAAiC,CAAC,OAAO,EAAE,MAAM;IAYjD;;;;OAIG;IACH,yBAAyB,CAAC,OAAO,EAAE,MAAM;IAUzC;;;;OAIG;IACH,wBAAwB,IAAI,OAAO,CAAC,MAAM,CAAC;IAI3C,8BAA8B,CAC5B,OAAO,GAAE,wBAAgE,GACxE,OAAO,CAAC,uBAAuB,CAAC;IAMnC,uBAAuB,IAAI,OAAO,CAAC,uBAAuB,CAAC;IAM3D,SAAS,IAAI,OAAO;CAGrB;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NativeCustomerIO.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeCustomerIO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,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AAI,IAAI,CAAC;CAC/B;;AAED,wBAAyE"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type TurboModule } from 'react-native';
|
|
2
|
-
import type { EventEmitter, UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
-
/**
|
|
4
|
-
* Native module specification for CustomerIO Logging React Native SDK
|
|
5
|
-
*
|
|
6
|
-
* This module defines the TurboModule interface for CustomerIO logging bridge.
|
|
7
|
-
* Used internally for printing logs to React Native environment instead of native.
|
|
8
|
-
*
|
|
9
|
-
* @see NativeCustomerIO.ts for detailed documentation on TurboModule patterns,
|
|
10
|
-
* Codegen compatibility, and type safety approach.
|
|
11
|
-
*/
|
|
12
|
-
/** TurboModule interface for CustomerIO logging native operations */
|
|
13
|
-
export interface Spec extends TurboModule {
|
|
14
|
-
readonly onCioLogEvent: EventEmitter<UnsafeObject>;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: Spec;
|
|
17
|
-
export default _default;
|
|
18
|
-
//# sourceMappingURL=NativeCustomerIOLogging.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NativeCustomerIOLogging.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeCustomerIOLogging.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACb,MAAM,2CAA2C,CAAC;AAEnD;;;;;;;;GAQG;AAEH,qEAAqE;AACrE,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,QAAQ,CAAC,aAAa,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;CACpD;;AAED,wBAEE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NativeCustomerIOMessagingInApp.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeCustomerIOMessagingInApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,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I,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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cio-params.d.ts","sourceRoot":"","sources":["../../../src/cio-params.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B"}
|