@ua/react-native-airship 21.2.0 → 22.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/android/build.gradle +22 -28
- package/android/{src/oldarch/java/com/facebook/react/viewmanagers/RTNAirshipEmbeddedViewManagerDelegate.java → generated/java/com/facebook/react/viewmanagers/RNAirshipEmbeddedViewManagerDelegate.java} +4 -3
- package/android/generated/java/com/facebook/react/viewmanagers/RNAirshipEmbeddedViewManagerInterface.java +18 -0
- package/android/{src/oldarch/java/com/facebook/react/viewmanagers/RTNAirshipMessageViewManagerDelegate.java → generated/java/com/facebook/react/viewmanagers/RNAirshipMessageViewManagerDelegate.java} +4 -3
- package/android/generated/java/com/facebook/react/viewmanagers/RNAirshipMessageViewManagerInterface.java +18 -0
- package/android/generated/java/com/urbanairship/reactnative/NativeRNAirshipSpec.java +409 -0
- package/android/generated/jni/CMakeLists.txt +36 -0
- package/android/generated/jni/RNAirshipSpec-generated.cpp +584 -0
- package/android/generated/jni/RNAirshipSpec.h +31 -0
- package/android/generated/jni/react/renderer/components/RNAirshipSpec/ComponentDescriptors.cpp +23 -0
- package/android/generated/jni/react/renderer/components/RNAirshipSpec/ComponentDescriptors.h +25 -0
- package/android/generated/jni/react/renderer/components/RNAirshipSpec/EventEmitters.cpp +54 -0
- package/android/generated/jni/react/renderer/components/RNAirshipSpec/EventEmitters.h +52 -0
- package/android/generated/jni/react/renderer/components/RNAirshipSpec/Props.cpp +32 -0
- package/android/generated/jni/react/renderer/components/RNAirshipSpec/Props.h +37 -0
- package/android/generated/jni/react/renderer/components/RNAirshipSpec/RNAirshipSpecJSI-generated.cpp +659 -0
- package/android/generated/jni/react/renderer/components/RNAirshipSpec/RNAirshipSpecJSI.h +899 -0
- package/android/generated/jni/react/renderer/components/RNAirshipSpec/ShadowNodes.cpp +18 -0
- package/android/generated/jni/react/renderer/components/RNAirshipSpec/ShadowNodes.h +43 -0
- package/android/generated/jni/react/renderer/components/RNAirshipSpec/States.cpp +16 -0
- package/android/generated/jni/react/renderer/components/RNAirshipSpec/States.h +41 -0
- package/android/gradle.properties +1 -1
- package/android/src/main/java/com/urbanairship/reactnative/AirshipModule.kt +1 -1
- package/android/src/main/java/com/urbanairship/reactnative/ReactEmbeddedViewManager.kt +19 -10
- package/android/src/main/java/com/urbanairship/reactnative/ReactMessageViewManager.kt +19 -7
- package/android/src/newarch/java/com/urbanairship/reactnative/AirshipSpec.kt +1 -1
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/{RTNAirshipEmbeddedViewManagerInterface.java → RNAirshipEmbeddedViewManagerInterface.java} +1 -1
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/{RTNAirshipMessageViewManagerInterface.java → RNAirshipMessageViewManagerInterface.java} +1 -1
- package/ios/AirshipEmbeddedViewWrapper.swift +1 -1
- package/ios/AirshipReactNative.swift +1 -1
- package/ios/MessageWebViewWrapper.swift +2 -2
- package/ios/{RTNAirship.h → RNAirship.h} +3 -3
- package/ios/{RTNAirship.mm → RNAirship.mm} +27 -26
- package/ios/{RTNAirshipBootloader.h → RNAirshipBootloader.h} +1 -1
- package/ios/{RTNAirshipBootloader.m → RNAirshipBootloader.m} +2 -2
- package/ios/{RTNAirshipEmbeddedView.h → RNAirshipEmbeddedView.h} +7 -2
- package/ios/{RTNAirshipEmbeddedView.mm → RNAirshipEmbeddedView.mm} +28 -33
- package/ios/{RTNAirshipMessageViewManager.h → RNAirshipEmbeddedViewManager.h} +1 -1
- package/ios/RNAirshipEmbeddedViewViewManager.mm +17 -0
- package/ios/{RTNAirshipMessageView.h → RNAirshipMessageView.h} +9 -2
- package/ios/{RTNAirshipMessageView.mm → RNAirshipMessageView.mm} +54 -51
- package/ios/{RTNAirshipEmbeddedViewManager.h → RNAirshipMessageViewManager.h} +1 -1
- package/ios/RNAirshipMessageViewManager.mm +23 -0
- package/ios/generated/RNAirshipSpec/ComponentDescriptors.cpp +23 -0
- package/ios/generated/RNAirshipSpec/ComponentDescriptors.h +25 -0
- package/ios/generated/RNAirshipSpec/EventEmitters.cpp +54 -0
- package/ios/generated/RNAirshipSpec/EventEmitters.h +52 -0
- package/ios/generated/RNAirshipSpec/Props.cpp +32 -0
- package/ios/generated/RNAirshipSpec/Props.h +37 -0
- package/ios/generated/RNAirshipSpec/RCTComponentViewHelpers.h +24 -0
- package/ios/generated/RNAirshipSpec/RNAirshipSpec-generated.mm +683 -0
- package/ios/generated/RNAirshipSpec/RNAirshipSpec.h +291 -0
- package/ios/generated/RNAirshipSpec/ShadowNodes.cpp +18 -0
- package/ios/generated/RNAirshipSpec/ShadowNodes.h +43 -0
- package/ios/generated/RNAirshipSpec/States.cpp +16 -0
- package/ios/generated/RNAirshipSpec/States.h +41 -0
- package/ios/generated/RNAirshipSpecJSI-generated.cpp +659 -0
- package/ios/generated/RNAirshipSpecJSI.h +899 -0
- package/lib/commonjs/AirshipActions.js.map +1 -1
- package/lib/commonjs/AirshipAnalytics.js.map +1 -1
- package/lib/commonjs/AirshipChannel.js +4 -4
- package/lib/commonjs/AirshipChannel.js.map +1 -1
- package/lib/commonjs/AirshipContact.js +3 -3
- package/lib/commonjs/AirshipContact.js.map +1 -1
- package/lib/commonjs/AirshipEmbeddedView.js +6 -3
- package/lib/commonjs/AirshipEmbeddedView.js.map +1 -1
- package/lib/commonjs/AirshipFeatureFlagManager.js.map +1 -1
- package/lib/commonjs/AirshipInApp.js +5 -9
- package/lib/commonjs/AirshipInApp.js.map +1 -1
- package/lib/commonjs/AirshipLiveActivityManager.js.map +1 -1
- package/lib/commonjs/AirshipLiveUpdateManager.js.map +1 -1
- package/lib/commonjs/AirshipLocale.js.map +1 -1
- package/lib/commonjs/AirshipMessageCenter.js.map +1 -1
- package/lib/commonjs/AirshipPreferenceCenter.js.map +1 -1
- package/lib/commonjs/AirshipPrivacyManager.js +1 -1
- package/lib/commonjs/AirshipPrivacyManager.js.map +1 -1
- package/lib/commonjs/AirshipPush.js.map +1 -1
- package/lib/commonjs/AirshipRoot.js +14 -14
- package/lib/commonjs/AirshipRoot.js.map +1 -1
- package/lib/commonjs/AttributeEditor.js.map +1 -1
- package/lib/commonjs/MessageView.js +15 -5
- package/lib/commonjs/MessageView.js.map +1 -1
- package/lib/commonjs/{NativeRTNAirship.js → NativeRNAirship.js} +2 -2
- package/lib/commonjs/NativeRNAirship.js.map +1 -0
- package/lib/commonjs/{MessageViewNativeComponent.js → RNAirshipEmbeddedViewNativeComponent.js} +3 -3
- package/lib/commonjs/RNAirshipEmbeddedViewNativeComponent.js.map +1 -0
- package/lib/commonjs/{AirshipEmbeddedViewNativeComponent.js → RNAirshipMessageViewNativeComponent.js} +3 -3
- package/lib/commonjs/RNAirshipMessageViewNativeComponent.js.map +1 -0
- package/lib/commonjs/ScopedSubscriptionListEditor.js.map +1 -1
- package/lib/commonjs/SubscriptionListEditor.js.map +1 -1
- package/lib/commonjs/TagEditor.js.map +1 -1
- package/lib/commonjs/TagGroupEditor.js.map +1 -1
- package/lib/commonjs/UAEventEmitter.js +1 -2
- package/lib/commonjs/UAEventEmitter.js.map +1 -1
- package/lib/commonjs/index.js +22 -22
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/types.js +95 -2
- package/lib/commonjs/types.js.map +1 -1
- package/lib/module/AirshipActions.js +2 -0
- package/lib/module/AirshipActions.js.map +1 -1
- package/lib/module/AirshipAnalytics.js +2 -0
- package/lib/module/AirshipAnalytics.js.map +1 -1
- package/lib/module/AirshipChannel.js +6 -4
- package/lib/module/AirshipChannel.js.map +1 -1
- package/lib/module/AirshipContact.js +5 -3
- package/lib/module/AirshipContact.js.map +1 -1
- package/lib/module/AirshipEmbeddedView.js +5 -3
- package/lib/module/AirshipEmbeddedView.js.map +1 -1
- package/lib/module/AirshipFeatureFlagManager.js +2 -0
- package/lib/module/AirshipFeatureFlagManager.js.map +1 -1
- package/lib/module/AirshipInApp.js +7 -9
- package/lib/module/AirshipInApp.js.map +1 -1
- package/lib/module/AirshipLiveActivityManager.js +2 -0
- package/lib/module/AirshipLiveActivityManager.js.map +1 -1
- package/lib/module/AirshipLiveUpdateManager.js +2 -0
- package/lib/module/AirshipLiveUpdateManager.js.map +1 -1
- package/lib/module/AirshipLocale.js +2 -0
- package/lib/module/AirshipLocale.js.map +1 -1
- package/lib/module/AirshipMessageCenter.js +2 -0
- package/lib/module/AirshipMessageCenter.js.map +1 -1
- package/lib/module/AirshipPreferenceCenter.js +2 -0
- package/lib/module/AirshipPreferenceCenter.js.map +1 -1
- package/lib/module/AirshipPrivacyManager.js +3 -1
- package/lib/module/AirshipPrivacyManager.js.map +1 -1
- package/lib/module/AirshipPush.js +2 -0
- package/lib/module/AirshipPush.js.map +1 -1
- package/lib/module/AirshipRoot.js +16 -14
- package/lib/module/AirshipRoot.js.map +1 -1
- package/lib/module/AttributeEditor.js.map +1 -1
- package/lib/module/MessageView.js +14 -4
- package/lib/module/MessageView.js.map +1 -1
- package/lib/module/NativeRNAirship.js +5 -0
- package/lib/module/NativeRNAirship.js.map +1 -0
- package/lib/module/RNAirshipEmbeddedViewNativeComponent.js +6 -0
- package/lib/module/RNAirshipEmbeddedViewNativeComponent.js.map +1 -0
- package/lib/module/RNAirshipMessageViewNativeComponent.js +6 -0
- package/lib/module/RNAirshipMessageViewNativeComponent.js.map +1 -0
- package/lib/module/ScopedSubscriptionListEditor.js.map +1 -1
- package/lib/module/SubscriptionListEditor.js.map +1 -1
- package/lib/module/TagEditor.js.map +1 -1
- package/lib/module/TagGroupEditor.js.map +1 -1
- package/lib/module/UAEventEmitter.js +3 -2
- package/lib/module/UAEventEmitter.js.map +1 -1
- package/lib/module/index.js +25 -23
- package/lib/module/index.js.map +1 -1
- package/lib/module/types.js +97 -2
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/AirshipActions.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipAnalytics.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipChannel.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipContact.d.ts.map +1 -0
- package/lib/typescript/{AirshipEmbeddedView.d.ts → commonjs/src/AirshipEmbeddedView.d.ts} +3 -1
- package/lib/typescript/commonjs/src/AirshipEmbeddedView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipFeatureFlagManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipInApp.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipLiveActivityManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipLiveUpdateManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipLocale.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipMessageCenter.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipPreferenceCenter.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipPrivacyManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipPush.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AirshipRoot.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/AttributeEditor.d.ts.map +1 -0
- package/lib/typescript/{MessageView.d.ts → commonjs/src/MessageView.d.ts} +7 -6
- package/lib/typescript/commonjs/src/MessageView.d.ts.map +1 -0
- package/lib/typescript/{NativeRTNAirship.d.ts → commonjs/src/NativeRNAirship.d.ts} +2 -2
- package/lib/typescript/commonjs/src/NativeRNAirship.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/RNAirshipEmbeddedViewNativeComponent.d.ts +7 -0
- package/lib/typescript/commonjs/src/RNAirshipEmbeddedViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/{MessageViewNativeComponent.d.ts → commonjs/src/RNAirshipMessageViewNativeComponent.d.ts} +3 -5
- package/lib/typescript/commonjs/src/RNAirshipMessageViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ScopedSubscriptionListEditor.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/SubscriptionListEditor.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/TagEditor.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/TagGroupEditor.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/UAEventEmitter.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/{types.d.ts → commonjs/src/types.d.ts} +2 -2
- package/lib/typescript/commonjs/src/types.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/AirshipActions.d.ts +18 -0
- package/lib/typescript/module/src/AirshipActions.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipAnalytics.d.ts +35 -0
- package/lib/typescript/module/src/AirshipAnalytics.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipChannel.d.ts +69 -0
- package/lib/typescript/module/src/AirshipChannel.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipContact.d.ts +53 -0
- package/lib/typescript/module/src/AirshipContact.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipEmbeddedView.d.ts +19 -0
- package/lib/typescript/module/src/AirshipEmbeddedView.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipFeatureFlagManager.d.ts +51 -0
- package/lib/typescript/module/src/AirshipFeatureFlagManager.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipInApp.d.ts +47 -0
- package/lib/typescript/module/src/AirshipInApp.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipLiveActivityManager.d.ts +39 -0
- package/lib/typescript/module/src/AirshipLiveActivityManager.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipLiveUpdateManager.d.ts +43 -0
- package/lib/typescript/module/src/AirshipLiveUpdateManager.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipLocale.d.ts +24 -0
- package/lib/typescript/module/src/AirshipLocale.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipMessageCenter.d.ts +74 -0
- package/lib/typescript/module/src/AirshipMessageCenter.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipPreferenceCenter.d.ts +32 -0
- package/lib/typescript/module/src/AirshipPreferenceCenter.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipPrivacyManager.d.ts +38 -0
- package/lib/typescript/module/src/AirshipPrivacyManager.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipPush.d.ts +161 -0
- package/lib/typescript/module/src/AirshipPush.d.ts.map +1 -0
- package/lib/typescript/module/src/AirshipRoot.d.ts +84 -0
- package/lib/typescript/module/src/AirshipRoot.d.ts.map +1 -0
- package/lib/typescript/module/src/AttributeEditor.d.ts +55 -0
- package/lib/typescript/module/src/AttributeEditor.d.ts.map +1 -0
- package/lib/typescript/module/src/MessageView.d.ts +108 -0
- package/lib/typescript/module/src/MessageView.d.ts.map +1 -0
- package/lib/typescript/module/src/NativeRNAirship.d.ts +99 -0
- package/lib/typescript/module/src/NativeRNAirship.d.ts.map +1 -0
- package/lib/typescript/module/src/RNAirshipEmbeddedViewNativeComponent.d.ts +7 -0
- package/lib/typescript/module/src/RNAirshipEmbeddedViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/src/RNAirshipMessageViewNativeComponent.d.ts +26 -0
- package/lib/typescript/module/src/RNAirshipMessageViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/src/ScopedSubscriptionListEditor.d.ts +60 -0
- package/lib/typescript/module/src/ScopedSubscriptionListEditor.d.ts.map +1 -0
- package/lib/typescript/module/src/SubscriptionListEditor.d.ts +51 -0
- package/lib/typescript/module/src/SubscriptionListEditor.d.ts.map +1 -0
- package/lib/typescript/module/src/TagEditor.d.ts +47 -0
- package/lib/typescript/module/src/TagEditor.d.ts.map +1 -0
- package/lib/typescript/module/src/TagGroupEditor.d.ts +61 -0
- package/lib/typescript/module/src/TagGroupEditor.d.ts.map +1 -0
- package/lib/typescript/module/src/UAEventEmitter.d.ts +27 -0
- package/lib/typescript/module/src/UAEventEmitter.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +25 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/types.d.ts +938 -0
- package/lib/typescript/module/src/types.d.ts.map +1 -0
- package/package.json +80 -45
- package/react-native-airship.podspec +22 -4
- package/react-native.config.js +12 -0
- package/src/AirshipEmbeddedView.tsx +5 -2
- package/src/MessageView.tsx +9 -7
- package/src/{NativeRTNAirship.ts → NativeRNAirship.ts} +2 -2
- package/src/{AirshipEmbeddedViewNativeComponent.ts → RNAirshipEmbeddedViewNativeComponent.ts} +2 -2
- package/src/{MessageViewNativeComponent.ts → RNAirshipMessageViewNativeComponent.ts} +2 -2
- package/src/index.tsx +2 -2
- package/ios/RTNAirshipEmbeddedViewViewManager.mm +0 -17
- package/ios/RTNAirshipMessageViewManager.mm +0 -22
- package/lib/commonjs/AirshipEmbeddedViewNativeComponent.js.map +0 -1
- package/lib/commonjs/MessageViewNativeComponent.js.map +0 -1
- package/lib/commonjs/NativeRTNAirship.js.map +0 -1
- package/lib/module/AirshipEmbeddedViewNativeComponent.js +0 -4
- package/lib/module/AirshipEmbeddedViewNativeComponent.js.map +0 -1
- package/lib/module/MessageViewNativeComponent.js +0 -4
- package/lib/module/MessageViewNativeComponent.js.map +0 -1
- package/lib/module/NativeRTNAirship.js +0 -3
- package/lib/module/NativeRTNAirship.js.map +0 -1
- package/lib/typescript/AirshipActions.d.ts.map +0 -1
- package/lib/typescript/AirshipAnalytics.d.ts.map +0 -1
- package/lib/typescript/AirshipChannel.d.ts.map +0 -1
- package/lib/typescript/AirshipContact.d.ts.map +0 -1
- package/lib/typescript/AirshipEmbeddedView.d.ts.map +0 -1
- package/lib/typescript/AirshipEmbeddedViewNativeComponent.d.ts +0 -9
- package/lib/typescript/AirshipEmbeddedViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/AirshipFeatureFlagManager.d.ts.map +0 -1
- package/lib/typescript/AirshipInApp.d.ts.map +0 -1
- package/lib/typescript/AirshipLiveActivityManager.d.ts.map +0 -1
- package/lib/typescript/AirshipLiveUpdateManager.d.ts.map +0 -1
- package/lib/typescript/AirshipLocale.d.ts.map +0 -1
- package/lib/typescript/AirshipMessageCenter.d.ts.map +0 -1
- package/lib/typescript/AirshipPreferenceCenter.d.ts.map +0 -1
- package/lib/typescript/AirshipPrivacyManager.d.ts.map +0 -1
- package/lib/typescript/AirshipPush.d.ts.map +0 -1
- package/lib/typescript/AirshipRoot.d.ts.map +0 -1
- package/lib/typescript/AttributeEditor.d.ts.map +0 -1
- package/lib/typescript/MessageView.d.ts.map +0 -1
- package/lib/typescript/MessageViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/NativeRTNAirship.d.ts.map +0 -1
- package/lib/typescript/ScopedSubscriptionListEditor.d.ts.map +0 -1
- package/lib/typescript/SubscriptionListEditor.d.ts.map +0 -1
- package/lib/typescript/TagEditor.d.ts.map +0 -1
- package/lib/typescript/TagGroupEditor.d.ts.map +0 -1
- package/lib/typescript/UAEventEmitter.d.ts.map +0 -1
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/types.d.ts.map +0 -1
- /package/lib/typescript/{AirshipActions.d.ts → commonjs/src/AirshipActions.d.ts} +0 -0
- /package/lib/typescript/{AirshipAnalytics.d.ts → commonjs/src/AirshipAnalytics.d.ts} +0 -0
- /package/lib/typescript/{AirshipChannel.d.ts → commonjs/src/AirshipChannel.d.ts} +0 -0
- /package/lib/typescript/{AirshipContact.d.ts → commonjs/src/AirshipContact.d.ts} +0 -0
- /package/lib/typescript/{AirshipFeatureFlagManager.d.ts → commonjs/src/AirshipFeatureFlagManager.d.ts} +0 -0
- /package/lib/typescript/{AirshipInApp.d.ts → commonjs/src/AirshipInApp.d.ts} +0 -0
- /package/lib/typescript/{AirshipLiveActivityManager.d.ts → commonjs/src/AirshipLiveActivityManager.d.ts} +0 -0
- /package/lib/typescript/{AirshipLiveUpdateManager.d.ts → commonjs/src/AirshipLiveUpdateManager.d.ts} +0 -0
- /package/lib/typescript/{AirshipLocale.d.ts → commonjs/src/AirshipLocale.d.ts} +0 -0
- /package/lib/typescript/{AirshipMessageCenter.d.ts → commonjs/src/AirshipMessageCenter.d.ts} +0 -0
- /package/lib/typescript/{AirshipPreferenceCenter.d.ts → commonjs/src/AirshipPreferenceCenter.d.ts} +0 -0
- /package/lib/typescript/{AirshipPrivacyManager.d.ts → commonjs/src/AirshipPrivacyManager.d.ts} +0 -0
- /package/lib/typescript/{AirshipPush.d.ts → commonjs/src/AirshipPush.d.ts} +0 -0
- /package/lib/typescript/{AirshipRoot.d.ts → commonjs/src/AirshipRoot.d.ts} +0 -0
- /package/lib/typescript/{AttributeEditor.d.ts → commonjs/src/AttributeEditor.d.ts} +0 -0
- /package/lib/typescript/{ScopedSubscriptionListEditor.d.ts → commonjs/src/ScopedSubscriptionListEditor.d.ts} +0 -0
- /package/lib/typescript/{SubscriptionListEditor.d.ts → commonjs/src/SubscriptionListEditor.d.ts} +0 -0
- /package/lib/typescript/{TagEditor.d.ts → commonjs/src/TagEditor.d.ts} +0 -0
- /package/lib/typescript/{TagGroupEditor.d.ts → commonjs/src/TagGroupEditor.d.ts} +0 -0
- /package/lib/typescript/{UAEventEmitter.d.ts → commonjs/src/UAEventEmitter.d.ts} +0 -0
- /package/lib/typescript/{index.d.ts → commonjs/src/index.d.ts} +0 -0
|
@@ -0,0 +1,659 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
3
|
+
*
|
|
4
|
+
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
|
+
* once the code is regenerated.
|
|
6
|
+
*
|
|
7
|
+
* @generated by codegen project: GenerateModuleCpp.js
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#include "RNAirshipSpecJSI.h"
|
|
11
|
+
|
|
12
|
+
namespace facebook::react {
|
|
13
|
+
|
|
14
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_takeOff(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
15
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->takeOff(
|
|
16
|
+
rt,
|
|
17
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_isFlying(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
21
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->isFlying(
|
|
22
|
+
rt
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_airshipListenerAdded(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
26
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->airshipListenerAdded(
|
|
27
|
+
rt,
|
|
28
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
29
|
+
);
|
|
30
|
+
return jsi::Value::undefined();
|
|
31
|
+
}
|
|
32
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_takePendingEvents(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
33
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->takePendingEvents(
|
|
34
|
+
rt,
|
|
35
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
|
|
36
|
+
count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
40
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->addListener(
|
|
41
|
+
rt,
|
|
42
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
43
|
+
);
|
|
44
|
+
return jsi::Value::undefined();
|
|
45
|
+
}
|
|
46
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
47
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
48
|
+
rt,
|
|
49
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber()
|
|
50
|
+
);
|
|
51
|
+
return jsi::Value::undefined();
|
|
52
|
+
}
|
|
53
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_channelEnableChannelCreation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
54
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->channelEnableChannelCreation(
|
|
55
|
+
rt
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_channelAddTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
59
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->channelAddTag(
|
|
60
|
+
rt,
|
|
61
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_channelRemoveTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
65
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->channelRemoveTag(
|
|
66
|
+
rt,
|
|
67
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_channelEditTags(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
71
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->channelEditTags(
|
|
72
|
+
rt,
|
|
73
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_channelGetTags(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
77
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->channelGetTags(
|
|
78
|
+
rt
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_channelGetChannelId(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
82
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->channelGetChannelId(
|
|
83
|
+
rt
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_channelGetSubscriptionLists(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
87
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->channelGetSubscriptionLists(
|
|
88
|
+
rt
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_channelEditTagGroups(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
92
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->channelEditTagGroups(
|
|
93
|
+
rt,
|
|
94
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_channelEditAttributes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
98
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->channelEditAttributes(
|
|
99
|
+
rt,
|
|
100
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_channelEditSubscriptionLists(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
104
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->channelEditSubscriptionLists(
|
|
105
|
+
rt,
|
|
106
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushSetUserNotificationsEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
110
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushSetUserNotificationsEnabled(
|
|
111
|
+
rt,
|
|
112
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool()
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushIsUserNotificationsEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
116
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushIsUserNotificationsEnabled(
|
|
117
|
+
rt
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushEnableUserNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
121
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushEnableUserNotifications(
|
|
122
|
+
rt,
|
|
123
|
+
count <= 0 || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asObject(rt))
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushGetNotificationStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
127
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushGetNotificationStatus(
|
|
128
|
+
rt
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushGetRegistrationToken(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
132
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushGetRegistrationToken(
|
|
133
|
+
rt
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushGetActiveNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
137
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushGetActiveNotifications(
|
|
138
|
+
rt
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushClearNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
142
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushClearNotifications(
|
|
143
|
+
rt
|
|
144
|
+
);
|
|
145
|
+
return jsi::Value::undefined();
|
|
146
|
+
}
|
|
147
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushClearNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
148
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushClearNotification(
|
|
149
|
+
rt,
|
|
150
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
151
|
+
);
|
|
152
|
+
return jsi::Value::undefined();
|
|
153
|
+
}
|
|
154
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosSetForegroundPresentationOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
155
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushIosSetForegroundPresentationOptions(
|
|
156
|
+
rt,
|
|
157
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosSetNotificationOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
161
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushIosSetNotificationOptions(
|
|
162
|
+
rt,
|
|
163
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosSetAutobadgeEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
167
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushIosSetAutobadgeEnabled(
|
|
168
|
+
rt,
|
|
169
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool()
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosIsAutobadgeEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
173
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushIosIsAutobadgeEnabled(
|
|
174
|
+
rt
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosSetBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
178
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushIosSetBadgeNumber(
|
|
179
|
+
rt,
|
|
180
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber()
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosGetBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
184
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushIosGetBadgeNumber(
|
|
185
|
+
rt
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosIsOverridePresentationOptionsEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
189
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushIosIsOverridePresentationOptionsEnabled(
|
|
190
|
+
rt,
|
|
191
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool()
|
|
192
|
+
);
|
|
193
|
+
return jsi::Value::undefined();
|
|
194
|
+
}
|
|
195
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosOverridePresentationOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
196
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushIosOverridePresentationOptions(
|
|
197
|
+
rt,
|
|
198
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
|
|
199
|
+
count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt))
|
|
200
|
+
);
|
|
201
|
+
return jsi::Value::undefined();
|
|
202
|
+
}
|
|
203
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosGetAuthorizedNotificationSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
204
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushIosGetAuthorizedNotificationSettings(
|
|
205
|
+
rt
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosGetAuthorizedNotificationStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
209
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushIosGetAuthorizedNotificationStatus(
|
|
210
|
+
rt
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushAndroidIsNotificationChannelEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
214
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushAndroidIsNotificationChannelEnabled(
|
|
215
|
+
rt,
|
|
216
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
217
|
+
);
|
|
218
|
+
}
|
|
219
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushAndroidSetNotificationConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
220
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushAndroidSetNotificationConfig(
|
|
221
|
+
rt,
|
|
222
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
223
|
+
);
|
|
224
|
+
return jsi::Value::undefined();
|
|
225
|
+
}
|
|
226
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushAndroidIsOverrideForegroundDisplayEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
227
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushAndroidIsOverrideForegroundDisplayEnabled(
|
|
228
|
+
rt,
|
|
229
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool()
|
|
230
|
+
);
|
|
231
|
+
return jsi::Value::undefined();
|
|
232
|
+
}
|
|
233
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_pushAndroidOverrideForegroundDisplay(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
234
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->pushAndroidOverrideForegroundDisplay(
|
|
235
|
+
rt,
|
|
236
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
|
|
237
|
+
count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
|
|
238
|
+
);
|
|
239
|
+
return jsi::Value::undefined();
|
|
240
|
+
}
|
|
241
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_contactIdentify(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
242
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->contactIdentify(
|
|
243
|
+
rt,
|
|
244
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
245
|
+
);
|
|
246
|
+
}
|
|
247
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_contactReset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
248
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->contactReset(
|
|
249
|
+
rt
|
|
250
|
+
);
|
|
251
|
+
}
|
|
252
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_contactNotifyRemoteLogin(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
253
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->contactNotifyRemoteLogin(
|
|
254
|
+
rt
|
|
255
|
+
);
|
|
256
|
+
}
|
|
257
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_contactGetNamedUserId(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
258
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->contactGetNamedUserId(
|
|
259
|
+
rt
|
|
260
|
+
);
|
|
261
|
+
}
|
|
262
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_contactGetSubscriptionLists(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
263
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->contactGetSubscriptionLists(
|
|
264
|
+
rt
|
|
265
|
+
);
|
|
266
|
+
}
|
|
267
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_contactEditTagGroups(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
268
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->contactEditTagGroups(
|
|
269
|
+
rt,
|
|
270
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
271
|
+
);
|
|
272
|
+
}
|
|
273
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_contactEditAttributes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
274
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->contactEditAttributes(
|
|
275
|
+
rt,
|
|
276
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
277
|
+
);
|
|
278
|
+
}
|
|
279
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_contactEditSubscriptionLists(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
280
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->contactEditSubscriptionLists(
|
|
281
|
+
rt,
|
|
282
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
283
|
+
);
|
|
284
|
+
}
|
|
285
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_analyticsTrackScreen(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
286
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->analyticsTrackScreen(
|
|
287
|
+
rt,
|
|
288
|
+
count <= 0 || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt))
|
|
289
|
+
);
|
|
290
|
+
}
|
|
291
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_analyticsAssociateIdentifier(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
292
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->analyticsAssociateIdentifier(
|
|
293
|
+
rt,
|
|
294
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
|
|
295
|
+
count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
296
|
+
);
|
|
297
|
+
}
|
|
298
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_addCustomEvent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
299
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->addCustomEvent(
|
|
300
|
+
rt,
|
|
301
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
302
|
+
);
|
|
303
|
+
}
|
|
304
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_analyticsGetSessionId(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
305
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->analyticsGetSessionId(
|
|
306
|
+
rt
|
|
307
|
+
);
|
|
308
|
+
}
|
|
309
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_actionRun(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
310
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->actionRun(
|
|
311
|
+
rt,
|
|
312
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
313
|
+
);
|
|
314
|
+
}
|
|
315
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_privacyManagerSetEnabledFeatures(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
316
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->privacyManagerSetEnabledFeatures(
|
|
317
|
+
rt,
|
|
318
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
319
|
+
);
|
|
320
|
+
}
|
|
321
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_privacyManagerGetEnabledFeatures(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
322
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->privacyManagerGetEnabledFeatures(
|
|
323
|
+
rt
|
|
324
|
+
);
|
|
325
|
+
}
|
|
326
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_privacyManagerEnableFeature(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
327
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->privacyManagerEnableFeature(
|
|
328
|
+
rt,
|
|
329
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
330
|
+
);
|
|
331
|
+
}
|
|
332
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_privacyManagerDisableFeature(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
333
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->privacyManagerDisableFeature(
|
|
334
|
+
rt,
|
|
335
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
336
|
+
);
|
|
337
|
+
}
|
|
338
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_privacyManagerIsFeatureEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
339
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->privacyManagerIsFeatureEnabled(
|
|
340
|
+
rt,
|
|
341
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
|
|
342
|
+
);
|
|
343
|
+
}
|
|
344
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_inAppSetDisplayInterval(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
345
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->inAppSetDisplayInterval(
|
|
346
|
+
rt,
|
|
347
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber()
|
|
348
|
+
);
|
|
349
|
+
}
|
|
350
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_inAppGetDisplayInterval(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
351
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->inAppGetDisplayInterval(
|
|
352
|
+
rt
|
|
353
|
+
);
|
|
354
|
+
}
|
|
355
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_inAppSetPaused(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
356
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->inAppSetPaused(
|
|
357
|
+
rt,
|
|
358
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool()
|
|
359
|
+
);
|
|
360
|
+
}
|
|
361
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_inAppIsPaused(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
362
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->inAppIsPaused(
|
|
363
|
+
rt
|
|
364
|
+
);
|
|
365
|
+
}
|
|
366
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_inAppResendPendingEmbeddedEvent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
367
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->inAppResendPendingEmbeddedEvent(
|
|
368
|
+
rt
|
|
369
|
+
);
|
|
370
|
+
return jsi::Value::undefined();
|
|
371
|
+
}
|
|
372
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterGetUnreadCount(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
373
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->messageCenterGetUnreadCount(
|
|
374
|
+
rt
|
|
375
|
+
);
|
|
376
|
+
}
|
|
377
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterDismiss(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
378
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->messageCenterDismiss(
|
|
379
|
+
rt
|
|
380
|
+
);
|
|
381
|
+
}
|
|
382
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterDisplay(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
383
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->messageCenterDisplay(
|
|
384
|
+
rt,
|
|
385
|
+
count <= 0 || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt))
|
|
386
|
+
);
|
|
387
|
+
}
|
|
388
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterGetMessages(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
389
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->messageCenterGetMessages(
|
|
390
|
+
rt
|
|
391
|
+
);
|
|
392
|
+
}
|
|
393
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterDeleteMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
394
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->messageCenterDeleteMessage(
|
|
395
|
+
rt,
|
|
396
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
397
|
+
);
|
|
398
|
+
}
|
|
399
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterMarkMessageRead(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
400
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->messageCenterMarkMessageRead(
|
|
401
|
+
rt,
|
|
402
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
403
|
+
);
|
|
404
|
+
}
|
|
405
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterRefresh(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
406
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->messageCenterRefresh(
|
|
407
|
+
rt
|
|
408
|
+
);
|
|
409
|
+
}
|
|
410
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterSetAutoLaunchDefaultMessageCenter(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
411
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->messageCenterSetAutoLaunchDefaultMessageCenter(
|
|
412
|
+
rt,
|
|
413
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool()
|
|
414
|
+
);
|
|
415
|
+
return jsi::Value::undefined();
|
|
416
|
+
}
|
|
417
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterShowMessageCenter(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
418
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->messageCenterShowMessageCenter(
|
|
419
|
+
rt,
|
|
420
|
+
count <= 0 || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt))
|
|
421
|
+
);
|
|
422
|
+
}
|
|
423
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterShowMessageView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
424
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->messageCenterShowMessageView(
|
|
425
|
+
rt,
|
|
426
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
427
|
+
);
|
|
428
|
+
}
|
|
429
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_preferenceCenterDisplay(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
430
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->preferenceCenterDisplay(
|
|
431
|
+
rt,
|
|
432
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
433
|
+
);
|
|
434
|
+
}
|
|
435
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_preferenceCenterGetConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
436
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->preferenceCenterGetConfig(
|
|
437
|
+
rt,
|
|
438
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
439
|
+
);
|
|
440
|
+
}
|
|
441
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_preferenceCenterAutoLaunchDefaultPreferenceCenter(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
442
|
+
static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->preferenceCenterAutoLaunchDefaultPreferenceCenter(
|
|
443
|
+
rt,
|
|
444
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
|
|
445
|
+
count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
|
|
446
|
+
);
|
|
447
|
+
return jsi::Value::undefined();
|
|
448
|
+
}
|
|
449
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_localeSetLocaleOverride(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
450
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->localeSetLocaleOverride(
|
|
451
|
+
rt,
|
|
452
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
453
|
+
);
|
|
454
|
+
}
|
|
455
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_localeGetLocale(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
456
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->localeGetLocale(
|
|
457
|
+
rt
|
|
458
|
+
);
|
|
459
|
+
}
|
|
460
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_localeClearLocaleOverride(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
461
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->localeClearLocaleOverride(
|
|
462
|
+
rt
|
|
463
|
+
);
|
|
464
|
+
}
|
|
465
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_featureFlagManagerFlag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
466
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->featureFlagManagerFlag(
|
|
467
|
+
rt,
|
|
468
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
|
|
469
|
+
count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
|
|
470
|
+
);
|
|
471
|
+
}
|
|
472
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_featureFlagManagerTrackInteraction(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
473
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->featureFlagManagerTrackInteraction(
|
|
474
|
+
rt,
|
|
475
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
476
|
+
);
|
|
477
|
+
}
|
|
478
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_featureFlagManagerResultCacheGetFlag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
479
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->featureFlagManagerResultCacheGetFlag(
|
|
480
|
+
rt,
|
|
481
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
482
|
+
);
|
|
483
|
+
}
|
|
484
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_featureFlagManagerResultCacheSetFlag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
485
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->featureFlagManagerResultCacheSetFlag(
|
|
486
|
+
rt,
|
|
487
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt),
|
|
488
|
+
count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asNumber()
|
|
489
|
+
);
|
|
490
|
+
}
|
|
491
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_featureFlagManagerResultCacheRemoveFlag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
492
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->featureFlagManagerResultCacheRemoveFlag(
|
|
493
|
+
rt,
|
|
494
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
495
|
+
);
|
|
496
|
+
}
|
|
497
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_liveActivityListAll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
498
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->liveActivityListAll(
|
|
499
|
+
rt
|
|
500
|
+
);
|
|
501
|
+
}
|
|
502
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_liveActivityList(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
503
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->liveActivityList(
|
|
504
|
+
rt,
|
|
505
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
506
|
+
);
|
|
507
|
+
}
|
|
508
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_liveActivityStart(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
509
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->liveActivityStart(
|
|
510
|
+
rt,
|
|
511
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
512
|
+
);
|
|
513
|
+
}
|
|
514
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_liveActivityUpdate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
515
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->liveActivityUpdate(
|
|
516
|
+
rt,
|
|
517
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
518
|
+
);
|
|
519
|
+
}
|
|
520
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_liveActivityEnd(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
521
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->liveActivityEnd(
|
|
522
|
+
rt,
|
|
523
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
524
|
+
);
|
|
525
|
+
}
|
|
526
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_liveUpdateListAll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
527
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->liveUpdateListAll(
|
|
528
|
+
rt
|
|
529
|
+
);
|
|
530
|
+
}
|
|
531
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_liveUpdateList(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
532
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->liveUpdateList(
|
|
533
|
+
rt,
|
|
534
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
535
|
+
);
|
|
536
|
+
}
|
|
537
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_liveUpdateStart(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
538
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->liveUpdateStart(
|
|
539
|
+
rt,
|
|
540
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
541
|
+
);
|
|
542
|
+
}
|
|
543
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_liveUpdateUpdate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
544
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->liveUpdateUpdate(
|
|
545
|
+
rt,
|
|
546
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
547
|
+
);
|
|
548
|
+
}
|
|
549
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_liveUpdateEnd(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
550
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->liveUpdateEnd(
|
|
551
|
+
rt,
|
|
552
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
553
|
+
);
|
|
554
|
+
}
|
|
555
|
+
static jsi::Value __hostFunction_NativeRNAirshipCxxSpecJSI_liveUpdateClearAll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
556
|
+
return static_cast<NativeRNAirshipCxxSpecJSI *>(&turboModule)->liveUpdateClearAll(
|
|
557
|
+
rt
|
|
558
|
+
);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
NativeRNAirshipCxxSpecJSI::NativeRNAirshipCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
562
|
+
: TurboModule("RNAirship", jsInvoker) {
|
|
563
|
+
methodMap_["takeOff"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_takeOff};
|
|
564
|
+
methodMap_["isFlying"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_isFlying};
|
|
565
|
+
methodMap_["airshipListenerAdded"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_airshipListenerAdded};
|
|
566
|
+
methodMap_["takePendingEvents"] = MethodMetadata {2, __hostFunction_NativeRNAirshipCxxSpecJSI_takePendingEvents};
|
|
567
|
+
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_addListener};
|
|
568
|
+
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_removeListeners};
|
|
569
|
+
methodMap_["channelEnableChannelCreation"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_channelEnableChannelCreation};
|
|
570
|
+
methodMap_["channelAddTag"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_channelAddTag};
|
|
571
|
+
methodMap_["channelRemoveTag"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_channelRemoveTag};
|
|
572
|
+
methodMap_["channelEditTags"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_channelEditTags};
|
|
573
|
+
methodMap_["channelGetTags"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_channelGetTags};
|
|
574
|
+
methodMap_["channelGetChannelId"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_channelGetChannelId};
|
|
575
|
+
methodMap_["channelGetSubscriptionLists"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_channelGetSubscriptionLists};
|
|
576
|
+
methodMap_["channelEditTagGroups"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_channelEditTagGroups};
|
|
577
|
+
methodMap_["channelEditAttributes"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_channelEditAttributes};
|
|
578
|
+
methodMap_["channelEditSubscriptionLists"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_channelEditSubscriptionLists};
|
|
579
|
+
methodMap_["pushSetUserNotificationsEnabled"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_pushSetUserNotificationsEnabled};
|
|
580
|
+
methodMap_["pushIsUserNotificationsEnabled"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_pushIsUserNotificationsEnabled};
|
|
581
|
+
methodMap_["pushEnableUserNotifications"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_pushEnableUserNotifications};
|
|
582
|
+
methodMap_["pushGetNotificationStatus"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_pushGetNotificationStatus};
|
|
583
|
+
methodMap_["pushGetRegistrationToken"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_pushGetRegistrationToken};
|
|
584
|
+
methodMap_["pushGetActiveNotifications"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_pushGetActiveNotifications};
|
|
585
|
+
methodMap_["pushClearNotifications"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_pushClearNotifications};
|
|
586
|
+
methodMap_["pushClearNotification"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_pushClearNotification};
|
|
587
|
+
methodMap_["pushIosSetForegroundPresentationOptions"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosSetForegroundPresentationOptions};
|
|
588
|
+
methodMap_["pushIosSetNotificationOptions"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosSetNotificationOptions};
|
|
589
|
+
methodMap_["pushIosSetAutobadgeEnabled"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosSetAutobadgeEnabled};
|
|
590
|
+
methodMap_["pushIosIsAutobadgeEnabled"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosIsAutobadgeEnabled};
|
|
591
|
+
methodMap_["pushIosSetBadgeNumber"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosSetBadgeNumber};
|
|
592
|
+
methodMap_["pushIosGetBadgeNumber"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosGetBadgeNumber};
|
|
593
|
+
methodMap_["pushIosIsOverridePresentationOptionsEnabled"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosIsOverridePresentationOptionsEnabled};
|
|
594
|
+
methodMap_["pushIosOverridePresentationOptions"] = MethodMetadata {2, __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosOverridePresentationOptions};
|
|
595
|
+
methodMap_["pushIosGetAuthorizedNotificationSettings"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosGetAuthorizedNotificationSettings};
|
|
596
|
+
methodMap_["pushIosGetAuthorizedNotificationStatus"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_pushIosGetAuthorizedNotificationStatus};
|
|
597
|
+
methodMap_["pushAndroidIsNotificationChannelEnabled"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_pushAndroidIsNotificationChannelEnabled};
|
|
598
|
+
methodMap_["pushAndroidSetNotificationConfig"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_pushAndroidSetNotificationConfig};
|
|
599
|
+
methodMap_["pushAndroidIsOverrideForegroundDisplayEnabled"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_pushAndroidIsOverrideForegroundDisplayEnabled};
|
|
600
|
+
methodMap_["pushAndroidOverrideForegroundDisplay"] = MethodMetadata {2, __hostFunction_NativeRNAirshipCxxSpecJSI_pushAndroidOverrideForegroundDisplay};
|
|
601
|
+
methodMap_["contactIdentify"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_contactIdentify};
|
|
602
|
+
methodMap_["contactReset"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_contactReset};
|
|
603
|
+
methodMap_["contactNotifyRemoteLogin"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_contactNotifyRemoteLogin};
|
|
604
|
+
methodMap_["contactGetNamedUserId"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_contactGetNamedUserId};
|
|
605
|
+
methodMap_["contactGetSubscriptionLists"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_contactGetSubscriptionLists};
|
|
606
|
+
methodMap_["contactEditTagGroups"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_contactEditTagGroups};
|
|
607
|
+
methodMap_["contactEditAttributes"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_contactEditAttributes};
|
|
608
|
+
methodMap_["contactEditSubscriptionLists"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_contactEditSubscriptionLists};
|
|
609
|
+
methodMap_["analyticsTrackScreen"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_analyticsTrackScreen};
|
|
610
|
+
methodMap_["analyticsAssociateIdentifier"] = MethodMetadata {2, __hostFunction_NativeRNAirshipCxxSpecJSI_analyticsAssociateIdentifier};
|
|
611
|
+
methodMap_["addCustomEvent"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_addCustomEvent};
|
|
612
|
+
methodMap_["analyticsGetSessionId"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_analyticsGetSessionId};
|
|
613
|
+
methodMap_["actionRun"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_actionRun};
|
|
614
|
+
methodMap_["privacyManagerSetEnabledFeatures"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_privacyManagerSetEnabledFeatures};
|
|
615
|
+
methodMap_["privacyManagerGetEnabledFeatures"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_privacyManagerGetEnabledFeatures};
|
|
616
|
+
methodMap_["privacyManagerEnableFeature"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_privacyManagerEnableFeature};
|
|
617
|
+
methodMap_["privacyManagerDisableFeature"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_privacyManagerDisableFeature};
|
|
618
|
+
methodMap_["privacyManagerIsFeatureEnabled"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_privacyManagerIsFeatureEnabled};
|
|
619
|
+
methodMap_["inAppSetDisplayInterval"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_inAppSetDisplayInterval};
|
|
620
|
+
methodMap_["inAppGetDisplayInterval"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_inAppGetDisplayInterval};
|
|
621
|
+
methodMap_["inAppSetPaused"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_inAppSetPaused};
|
|
622
|
+
methodMap_["inAppIsPaused"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_inAppIsPaused};
|
|
623
|
+
methodMap_["inAppResendPendingEmbeddedEvent"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_inAppResendPendingEmbeddedEvent};
|
|
624
|
+
methodMap_["messageCenterGetUnreadCount"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterGetUnreadCount};
|
|
625
|
+
methodMap_["messageCenterDismiss"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterDismiss};
|
|
626
|
+
methodMap_["messageCenterDisplay"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterDisplay};
|
|
627
|
+
methodMap_["messageCenterGetMessages"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterGetMessages};
|
|
628
|
+
methodMap_["messageCenterDeleteMessage"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterDeleteMessage};
|
|
629
|
+
methodMap_["messageCenterMarkMessageRead"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterMarkMessageRead};
|
|
630
|
+
methodMap_["messageCenterRefresh"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterRefresh};
|
|
631
|
+
methodMap_["messageCenterSetAutoLaunchDefaultMessageCenter"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterSetAutoLaunchDefaultMessageCenter};
|
|
632
|
+
methodMap_["messageCenterShowMessageCenter"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterShowMessageCenter};
|
|
633
|
+
methodMap_["messageCenterShowMessageView"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_messageCenterShowMessageView};
|
|
634
|
+
methodMap_["preferenceCenterDisplay"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_preferenceCenterDisplay};
|
|
635
|
+
methodMap_["preferenceCenterGetConfig"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_preferenceCenterGetConfig};
|
|
636
|
+
methodMap_["preferenceCenterAutoLaunchDefaultPreferenceCenter"] = MethodMetadata {2, __hostFunction_NativeRNAirshipCxxSpecJSI_preferenceCenterAutoLaunchDefaultPreferenceCenter};
|
|
637
|
+
methodMap_["localeSetLocaleOverride"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_localeSetLocaleOverride};
|
|
638
|
+
methodMap_["localeGetLocale"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_localeGetLocale};
|
|
639
|
+
methodMap_["localeClearLocaleOverride"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_localeClearLocaleOverride};
|
|
640
|
+
methodMap_["featureFlagManagerFlag"] = MethodMetadata {2, __hostFunction_NativeRNAirshipCxxSpecJSI_featureFlagManagerFlag};
|
|
641
|
+
methodMap_["featureFlagManagerTrackInteraction"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_featureFlagManagerTrackInteraction};
|
|
642
|
+
methodMap_["featureFlagManagerResultCacheGetFlag"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_featureFlagManagerResultCacheGetFlag};
|
|
643
|
+
methodMap_["featureFlagManagerResultCacheSetFlag"] = MethodMetadata {2, __hostFunction_NativeRNAirshipCxxSpecJSI_featureFlagManagerResultCacheSetFlag};
|
|
644
|
+
methodMap_["featureFlagManagerResultCacheRemoveFlag"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_featureFlagManagerResultCacheRemoveFlag};
|
|
645
|
+
methodMap_["liveActivityListAll"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_liveActivityListAll};
|
|
646
|
+
methodMap_["liveActivityList"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_liveActivityList};
|
|
647
|
+
methodMap_["liveActivityStart"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_liveActivityStart};
|
|
648
|
+
methodMap_["liveActivityUpdate"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_liveActivityUpdate};
|
|
649
|
+
methodMap_["liveActivityEnd"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_liveActivityEnd};
|
|
650
|
+
methodMap_["liveUpdateListAll"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_liveUpdateListAll};
|
|
651
|
+
methodMap_["liveUpdateList"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_liveUpdateList};
|
|
652
|
+
methodMap_["liveUpdateStart"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_liveUpdateStart};
|
|
653
|
+
methodMap_["liveUpdateUpdate"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_liveUpdateUpdate};
|
|
654
|
+
methodMap_["liveUpdateEnd"] = MethodMetadata {1, __hostFunction_NativeRNAirshipCxxSpecJSI_liveUpdateEnd};
|
|
655
|
+
methodMap_["liveUpdateClearAll"] = MethodMetadata {0, __hostFunction_NativeRNAirshipCxxSpecJSI_liveUpdateClearAll};
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
} // namespace facebook::react
|