@ua/react-native-airship 21.1.0 → 22.0.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 +79 -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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeEventEmitter","Platform","AirshipPush","constructor","module","iOS","AirshipPushIOS","android","AirshipPushAndroid","setUserNotificationsEnabled","enabled","pushSetUserNotificationsEnabled","isUserNotificationsEnabled","pushIsUserNotificationsEnabled","enableUserNotifications","options","pushEnableUserNotifications","getNotificationStatus","pushGetNotificationStatus","getRegistrationToken","pushGetRegistrationToken","getActiveNotifications","pushGetActiveNotifications","clearNotifications","pushClearNotifications","clearNotification","identifier","pushClearNotification","eventEmitter","OS","addListener","event","payload","requestId","presentationOverridesCallback","then","result","pushIosOverridePresentationOptions","catch","setForegroundPresentationOptionsCallback","callback","pushIosIsOverridePresentationOptionsEnabled","setForegroundPresentationOptions","pushIosSetForegroundPresentationOptions","setNotificationOptions","pushIosSetNotificationOptions","isAutobadgeEnabled","pushIosIsAutobadgeEnabled","setAutobadgeEnabled","pushIosSetAutobadgeEnabled","setBadgeNumber","badge","pushIosSetBadgeNumber","getBadgeNumber","pushIosGetBadgeNumber","getAuthorizedNotificationSettings","pushIosGetAuthorizedNotificationSettings","getAuthorizedNotificationStatus","pushIosGetAuthorizedNotificationStatus","foregroundDisplayPredicate","pushAndroidOverrideForegroundDisplay","isNotificationChannelEnabled","channel","pushAndroidIsNotificationChannelEnabled","setNotificationConfig","config","pushAndroidSetNotificationConfig","setForegroundDisplayPredicate","predicate","pushAndroidIsOverrideForegroundDisplayEnabled"],"sourceRoot":"../../src","sources":["AirshipPush.ts"],"mappings":"AAAA,SAASA,kBAAkB,EAAEC,QAAQ,QAAQ,cAAc;AAG3D;AACA;AACA;AACA,OAAO,MAAMC,WAAW,CAAC;EACvB;AACF;AACA;;EAIE;AACF;AACA;;EAIEC,WAAWA,CAAkBC,MAAW,EAAE;IAAA,KAAbA,MAAW,GAAXA,MAAW;IACtC,IAAI,CAACC,GAAG,GAAG,IAAIC,cAAc,CAACF,MAAM,CAAC;IACrC,IAAI,CAACG,OAAO,GAAG,IAAIC,kBAAkB,CAACJ,MAAM,CAAC;EAC/C;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACSK,2BAA2BA,CAACC,OAAgB,EAAiB;IAClE,OAAO,IAAI,CAACN,MAAM,CAACO,+BAA+B,CAACD,OAAO,CAAC;EAC7D;;EAEA;AACF;AACA;AACA;EACSE,0BAA0BA,CAAA,EAAqB;IACpD,OAAO,IAAI,CAACR,MAAM,CAACS,8BAA8B,CAAC,CAAC;EACrD;;EAEA;AACF;AACA;AACA;AACA;EACSC,uBAAuBA,CAACC,OAE9B,EAAoB;IACnB,OAAO,IAAI,CAACX,MAAM,CAACY,2BAA2B,CAACD,OAAO,CAAC;EACzD;;EAEA;AACF;AACA;AACA;EACSE,qB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AAE;IAC/F,IAAInE,QAAQ,CAAC4B,EAAE,KAAK,SAAS,EAAE;MAC7B,IAAI,CAAC8B,0BAA0B,GAAGS,SAAS;MAC3C,IAAI,CAAChE,MAAM,CAACiE,6CAA6C,CAACD,SAAS,IAAI,IAAI,CAAC;IAC9E;EACF;AACF"}
|
|
1
|
+
{"version":3,"names":["NativeEventEmitter","Platform","AirshipPush","constructor","module","iOS","AirshipPushIOS","android","AirshipPushAndroid","setUserNotificationsEnabled","enabled","pushSetUserNotificationsEnabled","isUserNotificationsEnabled","pushIsUserNotificationsEnabled","enableUserNotifications","options","pushEnableUserNotifications","getNotificationStatus","pushGetNotificationStatus","getRegistrationToken","pushGetRegistrationToken","getActiveNotifications","pushGetActiveNotifications","clearNotifications","pushClearNotifications","clearNotification","identifier","pushClearNotification","eventEmitter","OS","addListener","event","payload","requestId","presentationOverridesCallback","then","result","pushIosOverridePresentationOptions","catch","setForegroundPresentationOptionsCallback","callback","pushIosIsOverridePresentationOptionsEnabled","setForegroundPresentationOptions","pushIosSetForegroundPresentationOptions","setNotificationOptions","pushIosSetNotificationOptions","isAutobadgeEnabled","pushIosIsAutobadgeEnabled","setAutobadgeEnabled","pushIosSetAutobadgeEnabled","setBadgeNumber","badge","pushIosSetBadgeNumber","getBadgeNumber","pushIosGetBadgeNumber","getAuthorizedNotificationSettings","pushIosGetAuthorizedNotificationSettings","getAuthorizedNotificationStatus","pushIosGetAuthorizedNotificationStatus","foregroundDisplayPredicate","pushAndroidOverrideForegroundDisplay","isNotificationChannelEnabled","channel","pushAndroidIsNotificationChannelEnabled","setNotificationConfig","config","pushAndroidSetNotificationConfig","setForegroundDisplayPredicate","predicate","pushAndroidIsOverrideForegroundDisplayEnabled"],"sourceRoot":"../../src","sources":["AirshipPush.ts"],"mappings":";;AAAA,SAASA,kBAAkB,EAAEC,QAAQ,QAAQ,cAAc;AAG3D;AACA;AACA;AACA,OAAO,MAAMC,WAAW,CAAC;EACvB;AACF;AACA;;EAIE;AACF;AAC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UACnC,IAAI,CAACA,0BAA0B,CAAC3B,OAAO,CAAC,CAACG,IAAI,CAAGC,MAAM,IAAK;YACzDhC,MAAM,CAACwD,oCAAoC,CAAC3B,SAAS,EAAEG,MAAM,CAAC;UAChE,CAAC,CAAC,CACDE,KAAK,CAAC,MAAM;YACXlC,MAAM,CAACwD,oCAAoC,CAAC3B,SAAS,EAAE,IAAI,CAAC;UAC9D,CAAC,CAAC;QACJ;MACF,CAAC,CAAC;IACJ;EACF;EACA;AACF;AACA;AACA;AACA;EACS4B,4BAA4BA,CAACC,OAAe,EAAoB;IACrE,OAAO,IAAI,CAAC1D,MAAM,CAAC2D,uCAAuC,CAACD,OAAO,CAAC;EACrE;;EAEA;AACF;AACA;AACA;EACSE,qBAAqBA,CAACC,MAAkC,EAAQ;IACrE,OAAO,IAAI,CAAC7D,MAAM,CAAC8D,gCAAgC,CAACD,MAAM,CAAC;EAC7D;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACSE,6BAA6BA,CAACC,SAA0D,EAAE;IAC/F,IAAInE,QAAQ,CAAC4B,EAAE,KAAK,SAAS,EAAE;MAC7B,IAAI,CAAC8B,0BAA0B,GAAGS,SAAS;MAC3C,IAAI,CAAChE,MAAM,CAACiE,6CAA6C,CAACD,SAAS,IAAI,IAAI,CAAC;IAC9E;EACF;AACF","ignoreList":[]}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { AirshipActions } from "./AirshipActions.js";
|
|
4
|
+
import { AirshipAnalytics } from "./AirshipAnalytics.js";
|
|
5
|
+
import { AirshipChannel } from "./AirshipChannel.js";
|
|
6
|
+
import { AirshipContact } from "./AirshipContact.js";
|
|
7
|
+
import { AirshipInApp } from "./AirshipInApp.js";
|
|
8
|
+
import { AirshipLocale } from "./AirshipLocale.js";
|
|
9
|
+
import { AirshipMessageCenter } from "./AirshipMessageCenter.js";
|
|
10
|
+
import { AirshipPreferenceCenter } from "./AirshipPreferenceCenter.js";
|
|
11
|
+
import { AirshipPrivacyManager } from "./AirshipPrivacyManager.js";
|
|
12
|
+
import { AirshipPush } from "./AirshipPush.js";
|
|
13
|
+
import { AirshipFeatureFlagManager } from "./AirshipFeatureFlagManager.js";
|
|
14
|
+
import { Subscription, UAEventEmitter } from "./UAEventEmitter.js";
|
|
15
|
+
import { AirshipLiveActivityManager } from "./AirshipLiveActivityManager.js";
|
|
16
|
+
import { AirshipLiveUpdateManager } from "./AirshipLiveUpdateManager.js";
|
|
15
17
|
|
|
16
18
|
/**
|
|
17
19
|
* Airship
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AirshipActions","AirshipAnalytics","AirshipChannel","AirshipContact","AirshipInApp","AirshipLocale","AirshipMessageCenter","AirshipPreferenceCenter","AirshipPrivacyManager","AirshipPush","AirshipFeatureFlagManager","Subscription","UAEventEmitter","AirshipLiveActivityManager","AirshipLiveUpdateManager","AirshipRoot","constructor","module","eventEmitter","actions","analytics","channel","contact","inApp","locale","messageCenter","preferenceCenter","privacyManager","push","featureFlagManager","iOS","AirshipRootIOS","android","AirshipRootAndroid","takeOff","config","isFlying","addListener","eventType","listener","removeListener","removeAllListeners","liveActivityManager","liveUpdateManager"],"sourceRoot":"../../src","sources":["AirshipRoot.ts"],"mappings":"AAAA,SAASA,cAAc,QAAQ,
|
|
1
|
+
{"version":3,"names":["AirshipActions","AirshipAnalytics","AirshipChannel","AirshipContact","AirshipInApp","AirshipLocale","AirshipMessageCenter","AirshipPreferenceCenter","AirshipPrivacyManager","AirshipPush","AirshipFeatureFlagManager","Subscription","UAEventEmitter","AirshipLiveActivityManager","AirshipLiveUpdateManager","AirshipRoot","constructor","module","eventEmitter","actions","analytics","channel","contact","inApp","locale","messageCenter","preferenceCenter","privacyManager","push","featureFlagManager","iOS","AirshipRootIOS","android","AirshipRootAndroid","takeOff","config","isFlying","addListener","eventType","listener","removeListener","removeAllListeners","liveActivityManager","liveUpdateManager"],"sourceRoot":"../../src","sources":["AirshipRoot.ts"],"mappings":";;AAAA,SAASA,cAAc,QAAQ,qBAAkB;AACjD,SAASC,gBAAgB,QAAQ,uBAAoB;AACrD,SAASC,cAAc,QAAQ,qBAAkB;AACjD,SAASC,cAAc,QAAQ,qBAAkB;AACjD,SAASC,YAAY,QAAQ,mBAAgB;AAC7C,SAASC,aAAa,QAAQ,oBAAiB;AAC/C,SAASC,oBAAoB,QAAQ,2BAAwB;AAC7D,SAASC,uBAAuB,QAAQ,8BAA2B;AACnE,SAASC,qBAAqB,QAAQ,4BAAyB;AAC/D,SAASC,WAAW,QAAQ,kBAAe;AAC3C,SAASC,yBAAyB,QAAQ,gCAA6B;AAGvE,SAASC,YAAY,EAAEC,cAAc,QAAQ,qBAAkB;AAC/D,SAASC,0BAA0B,QAAQ,iCAA8B;AACzE,SAASC,wBAAwB,QAAQ,+BAA4B;;AAErE;AACA;AACA;AACA,OAAO,MAAMC,WAAW,CAAC;EAavB;AACF;AACA;;EAGE;AACF;AACA;;EAKEC,WAAWA,CAAkBC,MAAW,EAAE;IAAA,KAAbA,MAAW,GAAXA,MAAW;IACtC,IAAI,CAACC,YAAY,GAAG,IAAIN,cAAc,CAACK,MAAM,CAAC;IAE9C,IAAI,CAACE,OAAO,GAAG,IAAInB,cAAc,CAACiB,MAAM,CAAC;IACzC,IAAI,CAACG,SAAS,GAAG,IAAInB,gBAAgB,CAACgB,MAAM,CAAC;IAC7C,IAAI,CAACI,OAAO,GAAG,IAAInB,cAAc,CAACe,MAAM,CAAC;IACzC,IAAI,CAACK,OAAO,GAAG,IAAInB,cAAc,CAACc,MAAM,CAAC;IACzC,IAAI,CAACM,KAAK,GAAG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AAEC,QAAQ,CAAC;EACvD;;EAEA;AACF;AACA;AACA;AACA;EACSE,kBAAkBA,CAACH,SAAoB,EAAE;IAC9C,IAAI,CAACpB,YAAY,CAACuB,kBAAkB,CAACH,SAAS,CAAC;EACjD;AACF;AAEA,OAAO,MAAMP,cAAc,CAAC;EAG1Bf,WAAWA,CAACC,MAAW,EAAE;IACvB,IAAI,CAACyB,mBAAmB,GAAG,IAAI7B,0BAA0B,CAACI,MAAM,CAAC;EACnE;AACF;AAEA,OAAO,MAAMgB,kBAAkB,CAAC;EAG9BjB,WAAWA,CAACC,MAAW,EAAE;IACvB,IAAI,CAAC0B,iBAAiB,GAAG,IAAI7B,wBAAwB,CAACG,MAAM,CAAC;EAC/D;AACF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AttributeEditor","constructor","onApply","operations","setAttribute","name","value","attributeValue","attributeType","toString","Date","getTime","operation","action","key","type","push","removeAttribute","apply"],"sourceRoot":"../../src","sources":["AttributeEditor.ts"],"mappings":"AAAA;;AAEA,YAAY;;AAEZ;AACA;AACA;AACA;AAoBA;AACA;AACA;AACA,OAAO,MAAMA,eAAe,CAAC;EAI3B;AACF;AACA;AACA;AACA;AACA;EACEC,WAAWA,CAACC,OAA4D,EAAE;IACxE,IAAI,CAACA,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,UAAU,GAAG,EAAE;EACtB;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEC,YAAYA,CACVC,IAAY,EACZC,KAAuC,EACtB;IACjB,IAAIC,cAAsC;IAC1C,IAAIC,aAA2C;IAE/C,IAAI,OAAOF,KAAK,KAAK,SAAS,EAAE;MAC9B;MACAC,cAAc,GAAGD,KAAK,CAACG,QAAQ,CAAC,CAAC;MACjCD,aAAa,GAAG,QAAQ;IAC1B,CAAC,MAAM;MACLD,cAAc,GAAGD,KAAK;MACtB,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;QAC7BE,aAAa,GAAG,QAAQ;MAC1B,CAAC,MAAM,IAAI,OAAOD,cAAc,KAAK,QAAQ,EAAE;QAC7CC,aAAa,GAAG,QAAQ;MAC1B,CAAC,MAAM,IAAIF,KAAK,YAAYI,IAAI,EAAE;QAChC;QACA;QACAF,aAAa,GAAG,MAAM;QACtBD,cAAc,GAAGD,KAAK,CAACK,OAAO,CAAC,CAAC;MAClC,CAAC,MAAM;QACL,MAAM,8BAA8B,GAAG,OAAOJ,cAAc;MAC9D;IACF;IAEA,MAAMK,SAAS,GAAG;MAChBC,MAAM,EAAE,KAAK;MACbP,KAAK,EAAEC,cAAc;MACrBO,GAAG,EAAET,IAAI;MACTU,IAAI,EAAEP;IACR,CAAC;IACD,IAAI,CAACL,UAAU,CAACa,IAAI,CAACJ,SAAS,CAAC;IAE/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;AACA;EACEK,eAAeA,CAACZ,IAAY,EAAmB;IAC7C,MAAMO,SAAS,GAAG;MAAEC,MAAM,EAAE,QAAQ;MAAEC,GAAG,EAAET;IAAK,CAAC;IACjD,IAAI,CAACF,UAAU,CAACa,IAAI,CAACJ,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;EACEM,KAAKA,CAAA,EAAkB;IACrB,OAAO,IAAI,CAAChB,OAAO,CAAC,IAAI,CAACC,UAAU,CAAC;EACtC;AACF"}
|
|
1
|
+
{"version":3,"names":["AttributeEditor","constructor","onApply","operations","setAttribute","name","value","attributeValue","attributeType","toString","Date","getTime","operation","action","key","type","push","removeAttribute","apply"],"sourceRoot":"../../src","sources":["AttributeEditor.ts"],"mappings":"AAAA;;AAEA,YAAY;;AAEZ;AACA;AACA;AACA;AAoBA;AACA;AACA;AACA,OAAO,MAAMA,eAAe,CAAC;EAI3B;AACF;AACA;AACA;AACA;AACA;EACEC,WAAWA,CAACC,OAA4D,EAAE;IACxE,IAAI,CAACA,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,UAAU,GAAG,EAAE;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@@ -2,16 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
5
|
import React from 'react';
|
|
7
|
-
import
|
|
6
|
+
import RNAirshipMessageView from "./RNAirshipMessageViewNativeComponent.js";
|
|
8
7
|
|
|
9
8
|
/**
|
|
10
9
|
* Enum of possible message load errors
|
|
11
10
|
*/
|
|
11
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
export let MessageLoadError = /*#__PURE__*/function (MessageLoadError) {
|
|
13
|
+
/**
|
|
14
|
+
* The message is not available.
|
|
15
|
+
*/
|
|
13
16
|
MessageLoadError["NotAvailable"] = "MESSAGE_NOT_AVAILABLE";
|
|
17
|
+
/**
|
|
18
|
+
* Failed to fetch the message.
|
|
19
|
+
*/
|
|
14
20
|
MessageLoadError["FetchFailed"] = "FAILED_TO_FETCH_MESSAGE";
|
|
21
|
+
/**
|
|
22
|
+
* Failed to load the message.
|
|
23
|
+
*/
|
|
15
24
|
MessageLoadError["LoadFailed"] = "MESSAGE_LOAD_FAILED";
|
|
16
25
|
return MessageLoadError;
|
|
17
26
|
}({});
|
|
@@ -65,12 +74,13 @@ export class MessageView extends React.Component {
|
|
|
65
74
|
this.props.onClose(event.nativeEvent);
|
|
66
75
|
};
|
|
67
76
|
render() {
|
|
68
|
-
return /*#__PURE__*/
|
|
77
|
+
return /*#__PURE__*/_jsx(RNAirshipMessageView, {
|
|
78
|
+
...this.props,
|
|
69
79
|
onLoadError: this._onLoadError,
|
|
70
80
|
onLoadStarted: this._onLoadStarted,
|
|
71
81
|
onLoadFinished: this._onLoadFinished,
|
|
72
82
|
onClose: this._onClose
|
|
73
|
-
})
|
|
83
|
+
});
|
|
74
84
|
}
|
|
75
85
|
}
|
|
76
86
|
//# sourceMappingURL=MessageView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["React","RNAirshipMessageView","jsx","_jsx","MessageLoadError","MessageView","Component","_onLoadStarted","event","props","onLoadStarted","nativeEvent","_onLoadFinished","onLoadFinished","_onLoadError","onLoadError","_onClose","onClose","render"],"sourceRoot":"../../src","sources":["MessageView.tsx"],"mappings":"AAAA;;AAEA,YAAY;;AAEZ,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,oBAAoB,MAAM,0CAAuC;;AAExE;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAGA,WAAYC,gBAAgB,0BAAhBA,gBAAgB;EAC1B;AACF;AACA;EAHYA,gBAAgB;EAK1B;AACF;AACA;EAPYA,gBAAgB;EAS1B;AACF;AACA;EAXYA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;;AAe5B;AACA;AACA;;AAQA;AACA;AACA;;AAQA;AACA;AACA;;AAgBA;AACA;AACA;;AAQA;AACA;AACA;;AAmCA;AACA;AACA;AACA,OAAO,MAAMC,WAAW,SAASL,KAAK,CAACM,SAAS,CAAmB;EACjEC,cAAc,GAAIC,KAAoD,IAAK;IACzE,IAAI,CAAC,IAAI,CAACC,KAAK,CAACC,aAAa,EAAE;MAC7B;IACF;IACA,IAAI,CAACD,KAAK,CAACC,aAAa,CAACF,KAAK,CAACG,WAAW,CAAC;EAC7C,CAAC;EAEDC,eAAe,GAAIJ,KAAqD,IAAK;IAC3E,IAAI,CAAC,IAAI,CAACC,KAAK,CAACI,cAAc,EAAE;MAC9B;IACF;IACA,IAAI,CAACJ,KAAK,CAACI,cAAc,CAACL,KAAK,CAACG,WAAW,CAAC;EAC9C,CAAC;EAEDG,YAAY,GAAIN,KAAkD,IAAK;IACrE,IAAI,CAAC,IAAI,CAACC,KAAK,CAACM,WAAW,EAAE;MAC3B;IACF;IACA,IAAI,CAACN,KAAK,CAACM,WAAW,CAACP,KAAK,CAACG,WAAW,CAAC;EAC3C,CAAC;EAEDK,QAAQ,GAAIR,KAA+C,IAAK;IAC9D,IAAI,CAAC,IAAI,CAACC,KAAK,CAACQ,OAAO,EAAE;MACvB;IACF;IACA,IAAI,CAACR,KAAK,CAACQ,OAAO,CAACT,KAAK,CAACG,WAAW,CAAC;EACvC,CAAC;EAEDO,MAAMA,CAAA,EAAG;IACP,oBACEf,IAAA,CAACF,oBAAoB;MAAA,GACf,IAAI,CAACQ,KAAK;MACdM,WAAW,EAAE,IAAI,CAACD,YAAa;MAC/BJ,aAAa,EAAE,IAAI,CAACH,cAAe;MACnCM,cAAc,EAAE,IAAI,CAACD,eAAgB;MACrCK,OAAO,EAAE,IAAI,CAACD;IAAS,CACxB,CAAC;EAEN;AACF","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeRNAirship.ts"],"mappings":";;AACA,SAASA,mBAAmB,QAAQ,cAAc;AAwIlD,eAAeA,mBAAmB,CAACC,YAAY,CAAO,WAAW,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../src","sources":["RNAirshipEmbeddedViewNativeComponent.ts"],"mappings":";;AAAA;AACA,OAAOA,sBAAsB,MAAM,yDAAyD;AAO5F,eAAeA,sBAAsB,CAAc,uBAAuB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../src","sources":["RNAirshipMessageViewNativeComponent.ts"],"mappings":";;AAAA;AACA,OAAOA,sBAAsB,MAAM,yDAAyD;AAuC5F,eAAeA,sBAAsB,CAAc,sBAAsB,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ScopedSubscriptionListOperationAction","ScopedSubscriptionListEditor","constructor","onApply","operations","subscribe","subscriptionListId","scope","operation","listId","action","push","unsubscribe","apply"],"sourceRoot":"../../src","sources":["ScopedSubscriptionListEditor.ts"],"mappings":"AAAA;;AAEA,YAAY;;AAIZ;AACA;AACA;AACA;AAHA,IAIKA,qCAAqC,0BAArCA,qCAAqC;EAArCA,qCAAqC;EAArCA,qCAAqC;EAAA,OAArCA,qCAAqC;AAAA,EAArCA,qCAAqC;AAK1C;AACA;AACA;AACA;AAgBA;AACA;AACA;AACA,OAAO,MAAMC,4BAA4B,CAAC;EAMxC;AACF;EACEC,WAAWA,CACTC,OAEkB,EAClB;IACA,IAAI,CAACA,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,UAAU,GAAG,EAAE;EACtB;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEC,SAASA,CAACC,kBAA0B,EAAEC,KAAwB,EAAgC;IAC5F,MAAMC,SAAS,GAAG;MAChBC,MAAM,EAAEH,kBAAkB;MAC1BI,MAAM,EAAEV,qCAAqC,CAACK,SAAS;MACvDE,KAAK,EAAEA;IACT,CAAC;IACD,IAAI,CAACH,UAAU,CAACO,IAAI,CAACH,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEI,WAAWA,CAACN,kBAA0B,EAAEC,KAAwB,EAAgC;IAC9F,MAAMC,SAAS,GAAG;MAChBC,MAAM,EAAEH,kBAAkB;MAC1BI,MAAM,EAAEV,qCAAqC,CAACY,WAAW;MACzDL,KAAK,EAAEA;IACT,CAAC;IACD,IAAI,CAACH,UAAU,CAACO,IAAI,CAACH,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;EACEK,KAAKA,CAAA,EAAkB;IACrB,OAAO,IAAI,CAACV,OAAO,CAAC,IAAI,CAACC,UAAU,CAAC;EACtC;AACF"}
|
|
1
|
+
{"version":3,"names":["ScopedSubscriptionListOperationAction","ScopedSubscriptionListEditor","constructor","onApply","operations","subscribe","subscriptionListId","scope","operation","listId","action","push","unsubscribe","apply"],"sourceRoot":"../../src","sources":["ScopedSubscriptionListEditor.ts"],"mappings":"AAAA;;AAEA,YAAY;;AAIZ;AACA;AACA;AACA;AAHA,IAIKA,qCAAqC,0BAArCA,qCAAqC;EAArCA,qCAAqC;EAArCA,qCAAqC;EAAA,OAArCA,qCAAqC;AAAA,EAArCA,qCAAqC;AAK1C;AACA;AACA;AACA;AAgBA;AACA;AACA;AACA,OAAO,MAAMC,4BAA4B,CAAC;EAMxC;AACF;EACEC,WAAWA,CACTC,OAEkB,EAClB;IACA,IAAI,CAACA,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,UAAU,GAAG,EAAE;EACtB;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEC,SAASA,CAACC,kBAA0B,EAAEC,KAAwB,EAAgC;IAC5F,MAAMC,SAAS,GAAG;MAChBC,MAAM,EAAEH,kBAAkB;MAC1BI,MAAM,EAAEV,qCAAqC,CAACK,SAAS;MACvDE,KAAK,EAAEA;IACT,CAAC;IACD,IAAI,CAACH,UAAU,CAACO,IAAI,CAACH,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEI,WAAWA,CAACN,kBAA0B,EAAEC,KAAwB,EAAgC;IAC9F,MAAMC,SAAS,GAAG;MAChBC,MAAM,EAAEH,kBAAkB;MAC1BI,MAAM,EAAEV,qCAAqC,CAACY,WAAW;MACzDL,KAAK,EAAEA;IACT,CAAC;IACD,IAAI,CAACH,UAAU,CAACO,IAAI,CAACH,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;EACEK,KAAKA,CAAA,EAAkB;IACrB,OAAO,IAAI,CAACV,OAAO,CAAC,IAAI,CAACC,UAAU,CAAC;EACtC;AACF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SubscriptionListOperationAction","SubscriptionListEditor","operations","constructor","onApply","subscribe","subscriptionListId","operation","listId","action","push","unsubscribe","apply"],"sourceRoot":"../../src","sources":["SubscriptionListEditor.ts"],"mappings":"AAAA;;AAEA,YAAY;;AAEZ;AACA;AACA;AACA;AAHA,IAIKA,+BAA+B,0BAA/BA,+BAA+B;EAA/BA,+BAA+B;EAA/BA,+BAA+B;EAAA,OAA/BA,+BAA+B;AAAA,EAA/BA,+BAA+B;AAKpC;AACA;AACA;AACA;AAYA;AACA;AACA;AACA,OAAO,MAAMC,sBAAsB,CAAC;EAC1BC,UAAU,GAAgC,EAAE;EAEpDC,WAAWA,CACQC,OAEC,EAClB;IAAA,KAHiBA,OAEC,GAFDA,OAEC;EACjB;;EAEH;AACF;AACA;AACA;AACA;AACA;EACEC,SAASA,CAACC,kBAA0B,EAA0B;IAC5D,MAAMC,SAAS,GAAG;MAChBC,MAAM,EAAEF,kBAAkB;MAC1BG,MAAM,EAAET,+BAA+B,CAACK;IAC1C,CAAC;IACD,IAAI,CAACH,UAAU,CAACQ,IAAI,CAACH,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;AACA;AACA;EACEI,WAAWA,CAACL,kBAA0B,EAA0B;IAC9D,MAAMC,SAAS,GAAG;MAChBC,MAAM,EAAEF,kBAAkB;MAC1BG,MAAM,EAAET,+BAA+B,CAACW;IAC1C,CAAC;IACD,IAAI,CAACT,UAAU,CAACQ,IAAI,CAACH,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;EACEK,KAAKA,CAAA,EAAkB;IACrB,OAAO,IAAI,CAACR,OAAO,CAAC,IAAI,CAACF,UAAU,CAAC;EACtC;AACF"}
|
|
1
|
+
{"version":3,"names":["SubscriptionListOperationAction","SubscriptionListEditor","operations","constructor","onApply","subscribe","subscriptionListId","operation","listId","action","push","unsubscribe","apply"],"sourceRoot":"../../src","sources":["SubscriptionListEditor.ts"],"mappings":"AAAA;;AAEA,YAAY;;AAEZ;AACA;AACA;AACA;AAHA,IAIKA,+BAA+B,0BAA/BA,+BAA+B;EAA/BA,+BAA+B;EAA/BA,+BAA+B;EAAA,OAA/BA,+BAA+B;AAAA,EAA/BA,+BAA+B;AAKpC;AACA;AACA;AACA;AAYA;AACA;AACA;AACA,OAAO,MAAMC,sBAAsB,CAAC;EAC1BC,UAAU,GAAgC,EAAE;EAEpDC,WAAWA,CACQC,OAEC,EAClB;IAAA,KAHiBA,OAEC,GAFDA,OAEC;EACjB;;EAEH;AACF;AACA;AACA;AACA;AACA;EACEC,SAASA,CAACC,kBAA0B,EAA0B;IAC5D,MAAMC,SAAS,GAAG;MAChBC,MAAM,EAAEF,kBAAkB;MAC1BG,MAAM,EAAET,+BAA+B,CAACK;IAC1C,CAAC;IACD,IAAI,CAACH,UAAU,CAACQ,IAAI,CAACH,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;AACA;AACA;EACEI,WAAWA,CAACL,kBAA0B,EAA0B;IAC9D,MAAMC,SAAS,GAAG;MAChBC,MAAM,EAAEF,kBAAkB;MAC1BG,MAAM,EAAET,+BAA+B,CAACW;IAC1C,CAAC;IACD,IAAI,CAACT,UAAU,CAACQ,IAAI,CAACH,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;EACEK,KAAKA,CAAA,EAAkB;IACrB,OAAO,IAAI,CAACR,OAAO,CAAC,IAAI,CAACF,UAAU,CAAC;EACtC;AACF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TagEditor","constructor","onApply","operations","addTags","tags","operation","operationType","push","removeTags","apply"],"sourceRoot":"../../src","sources":["TagEditor.ts"],"mappings":"AAAA;;AAEA,YAAY;;AAEZ;AACA;AACA;AACA;AAYA;AACA;AACA;AACA,OAAO,MAAMA,SAAS,CAAC;EAIrB;AACF;AACA;AACA;AACA;AACA;EACEC,WAAWA,CAACC,OAAsD,EAAE;IAClE,IAAI,CAACA,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,UAAU,GAAG,EAAE;EACtB;;EAEA;AACF;AACA;AACA;AACA;AACA;EACEC,OAAOA,CAACC,IAAc,EAAa;IACjC,MAAMC,SAAS,GAAG;MAAEC,aAAa,EAAE,KAAK;MAAEF,IAAI,EAAEA;IAAK,CAAC;IACtD,IAAI,CAACF,UAAU,CAACK,IAAI,CAACF,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;AACA;AACA;EACEG,UAAUA,CAACJ,IAAc,EAAa;IACpC,MAAMC,SAAS,GAAG;MAAEC,aAAa,EAAE,QAAQ;MAAEF,IAAI,EAAEA;IAAK,CAAC;IACzD,IAAI,CAACF,UAAU,CAACK,IAAI,CAACF,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;EACEI,KAAKA,CAAA,EAAkB;IACrB,OAAO,IAAI,CAACR,OAAO,CAAC,IAAI,CAACC,UAAU,CAAC;EACtC;AACF"}
|
|
1
|
+
{"version":3,"names":["TagEditor","constructor","onApply","operations","addTags","tags","operation","operationType","push","removeTags","apply"],"sourceRoot":"../../src","sources":["TagEditor.ts"],"mappings":"AAAA;;AAEA,YAAY;;AAEZ;AACA;AACA;AACA;AAYA;AACA;AACA;AACA,OAAO,MAAMA,SAAS,CAAC;EAIrB;AACF;AACA;AACA;AACA;AACA;EACEC,WAAWA,CAACC,OAAsD,EAAE;IAClE,IAAI,CAACA,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,UAAU,GAAG,EAAE;EACtB;;EAEA;AACF;AACA;AACA;AACA;AACA;EACEC,OAAOA,CAACC,IAAc,EAAa;IACjC,MAAMC,SAAS,GAAG;MAAEC,aAAa,EAAE,KAAK;MAAEF,IAAI,EAAEA;IAAK,CAAC;IACtD,IAAI,CAACF,UAAU,CAACK,IAAI,CAACF,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;AACA;AACA;EACEG,UAAUA,CAACJ,IAAc,EAAa;IACpC,MAAMC,SAAS,GAAG;MAAEC,aAAa,EAAE,QAAQ;MAAEF,IAAI,EAAEA;IAAK,CAAC;IACzD,IAAI,CAACF,UAAU,CAACK,IAAI,CAACF,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;EACEI,KAAKA,CAAA,EAAkB;IACrB,OAAO,IAAI,CAACR,OAAO,CAAC,IAAI,CAACC,UAAU,CAAC;EACtC;AACF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TagGroupEditor","constructor","onApply","operations","addTags","group","tags","operation","operationType","push","removeTags","setTags","apply"],"sourceRoot":"../../src","sources":["TagGroupEditor.ts"],"mappings":"AAAA;;AAEA,YAAY;;AAEZ;AACA;AACA;AACA;AAgBA;AACA;AACA;AACA,OAAO,MAAMA,cAAc,CAAC;EAI1B;AACF;AACA;AACA;AACA;AACA;EACEC,WAAWA,CAACC,OAA2D,EAAE;IACvE,IAAI,CAACA,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,UAAU,GAAG,EAAE;EACtB;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEC,OAAOA,CAACC,KAAa,EAAEC,IAAc,EAAkB;IACrD,MAAMC,SAAS,GAAG;MAAEC,aAAa,EAAE,KAAK;MAAEH,KAAK,EAAEA,KAAK;MAAEC,IAAI,EAAEA;IAAK,CAAC;IACpE,IAAI,CAACH,UAAU,CAACM,IAAI,CAACF,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEG,UAAUA,CAACL,KAAa,EAAEC,IAAc,EAAkB;IACxD,MAAMC,SAAS,GAAG;MAAEC,aAAa,EAAE,QAAQ;MAAEH,KAAK,EAAEA,KAAK;MAAEC,IAAI,EAAEA;IAAK,CAAC;IACvE,IAAI,CAACH,UAAU,CAACM,IAAI,CAACF,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEI,OAAOA,CAACN,KAAa,EAAEC,IAAmB,EAAkB;IAC1D,MAAMC,SAAS,GAAG;MAAEC,aAAa,EAAE,KAAK;MAAEH,KAAK,EAAEA,KAAK;MAAEC,IAAI,EAAEA;IAAK,CAAC;IACpE,IAAI,CAACH,UAAU,CAACM,IAAI,CAACF,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;EACEK,KAAKA,CAAA,EAAkB;IACrB,OAAO,IAAI,CAACV,OAAO,CAAC,IAAI,CAACC,UAAU,CAAC;EACtC;AACF"}
|
|
1
|
+
{"version":3,"names":["TagGroupEditor","constructor","onApply","operations","addTags","group","tags","operation","operationType","push","removeTags","setTags","apply"],"sourceRoot":"../../src","sources":["TagGroupEditor.ts"],"mappings":"AAAA;;AAEA,YAAY;;AAEZ;AACA;AACA;AACA;AAgBA;AACA;AACA;AACA,OAAO,MAAMA,cAAc,CAAC;EAI1B;AACF;AACA;AACA;AACA;AACA;EACEC,WAAWA,CAACC,OAA2D,EAAE;IACvE,IAAI,CAACA,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,UAAU,GAAG,EAAE;EACtB;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEC,OAAOA,CAACC,KAAa,EAAEC,IAAc,EAAkB;IACrD,MAAMC,SAAS,GAAG;MAAEC,aAAa,EAAE,KAAK;MAAEH,KAAK,EAAEA,KAAK;MAAEC,IAAI,EAAEA;IAAK,CAAC;IACpE,IAAI,CAACH,UAAU,CAACM,IAAI,CAACF,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEG,UAAUA,CAACL,KAAa,EAAEC,IAAc,EAAkB;IACxD,MAAMC,SAAS,GAAG;MAAEC,aAAa,EAAE,QAAQ;MAAEH,KAAK,EAAEA,KAAK;MAAEC,IAAI,EAAEA;IAAK,CAAC;IACvE,IAAI,CAACH,UAAU,CAACM,IAAI,CAACF,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEI,OAAOA,CAACN,KAAa,EAAEC,IAAmB,EAAkB;IAC1D,MAAMC,SAAS,GAAG;MAAEC,aAAa,EAAE,KAAK;MAAEH,KAAK,EAAEA,KAAK;MAAEC,IAAI,EAAEA;IAAK,CAAC;IACpE,IAAI,CAACH,UAAU,CAACM,IAAI,CAACF,SAAS,CAAC;IAC/B,OAAO,IAAI;EACb;;EAEA;AACF;AACA;EACEK,KAAKA,CAAA,EAAkB;IACrB,OAAO,IAAI,CAACV,OAAO,CAAC,IAAI,CAACC,UAAU,CAAC;EACtC;AACF","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
/* Copyright Airship and Contributors */
|
|
2
4
|
|
|
3
5
|
import { NativeEventEmitter, Platform, AppRegistry } from 'react-native';
|
|
@@ -29,11 +31,10 @@ export class UAEventEmitter {
|
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
addListener(eventType, listener) {
|
|
32
|
-
var _this$listeners$get;
|
|
33
34
|
if (!this.listeners.get(eventType)) {
|
|
34
35
|
this.listeners.set(eventType, new Array());
|
|
35
36
|
}
|
|
36
|
-
|
|
37
|
+
this.listeners.get(eventType)?.push(listener);
|
|
37
38
|
this.nativeModule.airshipListenerAdded(eventType);
|
|
38
39
|
}
|
|
39
40
|
removeAllListeners(eventType) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeEventEmitter","Platform","AppRegistry","UAEventEmitter","listeners","Map","constructor","nativeModule","eventEmitter","OS","registerHeadlessTask","dispatchEvents","addListener","removeListener","eventType","listener","typedListeners","get","filter","obj","set","
|
|
1
|
+
{"version":3,"names":["NativeEventEmitter","Platform","AppRegistry","UAEventEmitter","listeners","Map","constructor","nativeModule","eventEmitter","OS","registerHeadlessTask","dispatchEvents","addListener","removeListener","eventType","listener","typedListeners","get","filter","obj","set","Array","push","airshipListenerAdded","removeAllListeners","isHeadlessJS","actions","from","keys","map","key","Promise","resolve","events","takePendingEvents","all","event","Subscription","onRemove","remove"],"sourceRoot":"../../src","sources":["UAEventEmitter.ts"],"mappings":";;AAAA;;AAEA,SAASA,kBAAkB,EAAEC,QAAQ,EAAEC,WAAW,QAAQ,cAAc;;AAExE;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,CAAC;EAElBC,SAAS,GAAgD,IAAIC,GAAG,CAAC,CAAC;EAE1EC,WAAWA,CAAkBC,YAAiB,EAAE;IAAA,KAAnBA,YAAiB,GAAjBA,YAAiB;IAC5C,IAAI,CAACC,YAAY,GAAG,IAAIR,kBAAkB,CAACO,YAAY,CAAC;IAExD,IAAIN,QAAQ,CAACQ,EAAE,KAAK,SAAS,EAAE;MAC7BP,WAAW,CAACQ,oBAAoB,CAC9B,mCAAmC,EACnC,MAAM;QACJ,OAAO,MAAM,IAAI,CAACC,cAAc,CAAC,IAAI,CAAC;MACxC,CACF,CAAC;IACH;IAEA,IAAI,CAACH,YAAY,CAACI,WAAW,CAAC,4BAA4B,EAAE,YAAY;MACtE,OAAO,IAAI,CAACD,cAAc,CAAC,KAAK,CAAC;IACnC,CAAC,CAAC;EACJ;EAEAE,cAAcA,CAACC,SAAiB,EAAEC,QAAiC,EAAQ;IACzE,IAAIC,cAAc,GAAG,IAAI,CAACZ,SAAS,CAACa,GAAG,CAACH,SAAS,CAAC;IAClD,IAAIE,cAAc,EAAE;MAClBA,cAAc,GAAGA,cAAc,CAACE,MAAM,CAAEC,GAAG,IAAKA,GAAG,KAAKJ,QAAQ,CAAC;MACjE,IAAI,CAACX,SAAS,CAACgB,GAAG,CAACN,SAAS,EAAEE,cAAc,CAAC;IAC/C;EACF;EAEAJ,WAAWA,CAACE,SAAiB,EAAEC,QAAiC,EAAQ;IACtE,IAAI,CAAC,IAAI,CAACX,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KAAtBA,QAAoB,GAApBA,QAAoB;EAAG;EACpD;AACF;AACA;EACSC,MAAMA,CAAA,EAAS;IACpB,IAAI,CAACD,QAAQ,CAAC,CAAC;EACjB;AACF","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -1,30 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import { NativeModules } from 'react-native';
|
|
2
|
-
import { AirshipRoot } from
|
|
3
|
-
export { AirshipRoot, AirshipRootIOS } from
|
|
4
|
-
export { AirshipActions } from
|
|
5
|
-
export { AirshipAnalytics } from
|
|
6
|
-
export { AirshipChannel } from
|
|
7
|
-
export { AirshipContact } from
|
|
8
|
-
export { AirshipInApp } from
|
|
9
|
-
export { AirshipLocale } from
|
|
10
|
-
export { AirshipMessageCenter } from
|
|
11
|
-
export { AirshipPreferenceCenter } from
|
|
12
|
-
export { AirshipPrivacyManager } from
|
|
13
|
-
export { AirshipFeatureFlagManager } from
|
|
14
|
-
export { AirshipLiveActivityManager } from
|
|
15
|
-
export { AirshipPush, AirshipPushAndroid, AirshipPushIOS } from
|
|
16
|
-
export { SubscriptionListEditor } from
|
|
17
|
-
export { TagGroupEditor } from
|
|
18
|
-
export { ScopedSubscriptionListEditor } from
|
|
19
|
-
export { AttributeEditor } from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export { Subscription } from
|
|
4
|
+
import { AirshipRoot } from "./AirshipRoot.js";
|
|
5
|
+
export { AirshipRoot, AirshipRootIOS } from "./AirshipRoot.js";
|
|
6
|
+
export { AirshipActions } from "./AirshipActions.js";
|
|
7
|
+
export { AirshipAnalytics } from "./AirshipAnalytics.js";
|
|
8
|
+
export { AirshipChannel } from "./AirshipChannel.js";
|
|
9
|
+
export { AirshipContact } from "./AirshipContact.js";
|
|
10
|
+
export { AirshipInApp } from "./AirshipInApp.js";
|
|
11
|
+
export { AirshipLocale } from "./AirshipLocale.js";
|
|
12
|
+
export { AirshipMessageCenter } from "./AirshipMessageCenter.js";
|
|
13
|
+
export { AirshipPreferenceCenter } from "./AirshipPreferenceCenter.js";
|
|
14
|
+
export { AirshipPrivacyManager } from "./AirshipPrivacyManager.js";
|
|
15
|
+
export { AirshipFeatureFlagManager } from "./AirshipFeatureFlagManager.js";
|
|
16
|
+
export { AirshipLiveActivityManager } from "./AirshipLiveActivityManager.js";
|
|
17
|
+
export { AirshipPush, AirshipPushAndroid, AirshipPushIOS } from "./AirshipPush.js";
|
|
18
|
+
export { SubscriptionListEditor } from "./SubscriptionListEditor.js";
|
|
19
|
+
export { TagGroupEditor } from "./TagGroupEditor.js";
|
|
20
|
+
export { ScopedSubscriptionListEditor } from "./ScopedSubscriptionListEditor.js";
|
|
21
|
+
export { AttributeEditor } from "./AttributeEditor.js";
|
|
22
|
+
export * from "./types.js";
|
|
23
|
+
export * from "./MessageView.js";
|
|
24
|
+
export * from "./AirshipEmbeddedView.js";
|
|
25
|
+
export { Subscription } from "./UAEventEmitter.js";
|
|
24
26
|
|
|
25
27
|
// @ts-expect-error
|
|
26
28
|
const isTurboModuleEnabled = global.__turboModuleProxy != null;
|
|
27
|
-
const AirshipModule = isTurboModuleEnabled ? require('./
|
|
29
|
+
const AirshipModule = isTurboModuleEnabled ? require('./NativeRNAirship').default : NativeModules.RNAirship;
|
|
28
30
|
const sharedAirship = new AirshipRoot(AirshipModule);
|
|
29
31
|
const Airship = sharedAirship;
|
|
30
32
|
export default Airship;
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeModules","AirshipRoot","AirshipRootIOS","AirshipActions","AirshipAnalytics","AirshipChannel","AirshipContact","AirshipInApp","AirshipLocale","AirshipMessageCenter","AirshipPreferenceCenter","AirshipPrivacyManager","AirshipFeatureFlagManager","AirshipLiveActivityManager","AirshipPush","AirshipPushAndroid","AirshipPushIOS","SubscriptionListEditor","TagGroupEditor","ScopedSubscriptionListEditor","AttributeEditor","Subscription","isTurboModuleEnabled","global","__turboModuleProxy","AirshipModule","require","default","
|
|
1
|
+
{"version":3,"names":["NativeModules","AirshipRoot","AirshipRootIOS","AirshipActions","AirshipAnalytics","AirshipChannel","AirshipContact","AirshipInApp","AirshipLocale","AirshipMessageCenter","AirshipPreferenceCenter","AirshipPrivacyManager","AirshipFeatureFlagManager","AirshipLiveActivityManager","AirshipPush","AirshipPushAndroid","AirshipPushIOS","SubscriptionListEditor","TagGroupEditor","ScopedSubscriptionListEditor","AttributeEditor","Subscription","isTurboModuleEnabled","global","__turboModuleProxy","AirshipModule","require","default","RNAirship","sharedAirship","Airship"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,SAASA,aAAa,QAAQ,cAAc;AAC5C,SAASC,WAAW,QAAQ,kBAAe;AAE3C,SAASA,WAAW,EAAEC,cAAc,QAAQ,kBAAe;AAC3D,SAASC,cAAc,QAAQ,qBAAkB;AACjD,SAASC,gBAAgB,QAAQ,uBAAoB;AACrD,SAASC,cAAc,QAAQ,qBAAkB;AACjD,SAASC,cAAc,QAAQ,qBAAkB;AACjD,SAASC,YAAY,QAAQ,mBAAgB;AAC7C,SAASC,aAAa,QAAQ,oBAAiB;AAC/C,SAASC,oBAAoB,QAAQ,2BAAwB;AAC7D,SAASC,uBAAuB,QAAQ,8BAA2B;AACnE,SAASC,qBAAqB,QAAQ,4BAAyB;AAC/D,SAASC,yBAAyB,QAAQ,gCAA6B;AACvE,SAASC,0BAA0B,QAAQ,iCAA8B;AAEzE,SAASC,WAAW,EAAEC,kBAAkB,EAAEC,cAAc,QAAQ,kBAAe;AAC/E,SAASC,sBAAsB,QAAQ,6BAA0B;AACjE,SAASC,cAAc,QAAQ,qBAAkB;AACjD,SAASC,4BAA4B,QAAQ,mCAAgC;AAC7E,SAASC,eAAe,QAAQ,sBAAmB;AAEnD,cAAc,YAAS;AACvB,cAAc,kBAAe;AAC7B,cAAc,0BAAuB;AAErC,SAASC,YAAY,QAAQ,qBAAkB;;AAE/C;AACA,MAAMC,oBAAoB,GAAGC,MAAM,CAACC,kBAAkB,IAAI,IAAI;AAE9D,MAAMC,aAAa,GAAGH,oBAAoB,GACtCI,OAAO,CAAC,mBAAmB,CAAC,CAACC,OAAO,GACpC3B,aAAa,CAAC4B,SAAS;AAE3B,MAAMC,aAAa,GAAG,IAAI5B,WAAW,CAACwB,aAAa,CAAC;AAEpD,MAAMK,OAAO,GAAGD,aAAa;AAC7B,eAAeC,OAAO","ignoreList":[]}
|
package/lib/module/types.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Event fired when a push is received.
|
|
3
5
|
*/
|
|
@@ -22,8 +24,17 @@
|
|
|
22
24
|
* Enum of permission status.
|
|
23
25
|
*/
|
|
24
26
|
export let PermissionStatus = /*#__PURE__*/function (PermissionStatus) {
|
|
27
|
+
/**
|
|
28
|
+
* Permission is granted.
|
|
29
|
+
*/
|
|
25
30
|
PermissionStatus["Granted"] = "granted";
|
|
31
|
+
/**
|
|
32
|
+
* Permission is denied.
|
|
33
|
+
*/
|
|
26
34
|
PermissionStatus["Denied"] = "denied";
|
|
35
|
+
/**
|
|
36
|
+
* Permission has not yet been requested.
|
|
37
|
+
*/
|
|
27
38
|
PermissionStatus["NotDetermined"] = "not_determined";
|
|
28
39
|
return PermissionStatus;
|
|
29
40
|
}({});
|
|
@@ -33,6 +44,9 @@ export let PermissionStatus = /*#__PURE__*/function (PermissionStatus) {
|
|
|
33
44
|
* already denied on iOS or is denied silently on Android.
|
|
34
45
|
*/
|
|
35
46
|
export let PromptPermissionFallback = /*#__PURE__*/function (PromptPermissionFallback) {
|
|
47
|
+
/**
|
|
48
|
+
* Take the user to the system settings to enable the permission.
|
|
49
|
+
*/
|
|
36
50
|
PromptPermissionFallback["SystemSettings"] = "systemSettings";
|
|
37
51
|
return PromptPermissionFallback;
|
|
38
52
|
}({});
|
|
@@ -77,43 +91,123 @@ export let EventType = /*#__PURE__*/function (EventType) {
|
|
|
77
91
|
export let iOS;
|
|
78
92
|
(function (_iOS) {
|
|
79
93
|
let NotificationOption = /*#__PURE__*/function (NotificationOption) {
|
|
94
|
+
/**
|
|
95
|
+
* Alerts.
|
|
96
|
+
*/
|
|
80
97
|
NotificationOption["Alert"] = "alert";
|
|
98
|
+
/**
|
|
99
|
+
* Sounds.
|
|
100
|
+
*/
|
|
81
101
|
NotificationOption["Sound"] = "sound";
|
|
102
|
+
/**
|
|
103
|
+
* Badges.
|
|
104
|
+
*/
|
|
82
105
|
NotificationOption["Badge"] = "badge";
|
|
106
|
+
/**
|
|
107
|
+
* Car play.
|
|
108
|
+
*/
|
|
83
109
|
NotificationOption["CarPlay"] = "car_play";
|
|
110
|
+
/**
|
|
111
|
+
* Critical Alert.
|
|
112
|
+
*/
|
|
84
113
|
NotificationOption["CriticalAlert"] = "critical_alert";
|
|
114
|
+
/**
|
|
115
|
+
* Provides app notification settings.
|
|
116
|
+
*/
|
|
85
117
|
NotificationOption["ProvidesAppNotificationSettings"] = "provides_app_notification_settings";
|
|
118
|
+
/**
|
|
119
|
+
* Provisional.
|
|
120
|
+
*/
|
|
86
121
|
NotificationOption["Provisional"] = "provisional";
|
|
87
122
|
return NotificationOption;
|
|
88
123
|
}({});
|
|
89
124
|
_iOS.NotificationOption = NotificationOption;
|
|
90
125
|
let ForegroundPresentationOption = /*#__PURE__*/function (ForegroundPresentationOption) {
|
|
126
|
+
/**
|
|
127
|
+
* Play the sound associated with the notification.
|
|
128
|
+
*/
|
|
91
129
|
ForegroundPresentationOption["Sound"] = "sound";
|
|
130
|
+
/**
|
|
131
|
+
* Apply the notification's badge value to the app’s icon.
|
|
132
|
+
*/
|
|
92
133
|
ForegroundPresentationOption["Badge"] = "badge";
|
|
134
|
+
/**
|
|
135
|
+
* Show the notification in Notification Center. On iOS 13 an older,
|
|
136
|
+
* this will also show the notification as a banner.
|
|
137
|
+
*/
|
|
93
138
|
ForegroundPresentationOption["List"] = "list";
|
|
139
|
+
/**
|
|
140
|
+
* Present the notification as a banner. On iOS 13 an older,
|
|
141
|
+
* this will also show the notification in the Notification Center.
|
|
142
|
+
*/
|
|
94
143
|
ForegroundPresentationOption["Banner"] = "banner";
|
|
95
144
|
return ForegroundPresentationOption;
|
|
96
145
|
}({});
|
|
97
146
|
_iOS.ForegroundPresentationOption = ForegroundPresentationOption;
|
|
98
147
|
let AuthorizedNotificationSetting = /*#__PURE__*/function (AuthorizedNotificationSetting) {
|
|
148
|
+
/**
|
|
149
|
+
* Alerts.
|
|
150
|
+
*/
|
|
99
151
|
AuthorizedNotificationSetting["Alert"] = "alert";
|
|
152
|
+
/**
|
|
153
|
+
* Sounds.
|
|
154
|
+
*/
|
|
100
155
|
AuthorizedNotificationSetting["Sound"] = "sound";
|
|
156
|
+
/**
|
|
157
|
+
* Badges.
|
|
158
|
+
*/
|
|
101
159
|
AuthorizedNotificationSetting["Badge"] = "badge";
|
|
160
|
+
/**
|
|
161
|
+
* CarPlay.
|
|
162
|
+
*/
|
|
102
163
|
AuthorizedNotificationSetting["CarPlay"] = "car_play";
|
|
164
|
+
/**
|
|
165
|
+
* Lock screen.
|
|
166
|
+
*/
|
|
103
167
|
AuthorizedNotificationSetting["LockScreen"] = "lock_screen";
|
|
168
|
+
/**
|
|
169
|
+
* Notification center.
|
|
170
|
+
*/
|
|
104
171
|
AuthorizedNotificationSetting["NotificationCenter"] = "notification_center";
|
|
172
|
+
/**
|
|
173
|
+
* Critical alert.
|
|
174
|
+
*/
|
|
105
175
|
AuthorizedNotificationSetting["CriticalAlert"] = "critical_alert";
|
|
176
|
+
/**
|
|
177
|
+
* Announcement.
|
|
178
|
+
*/
|
|
106
179
|
AuthorizedNotificationSetting["Announcement"] = "announcement";
|
|
180
|
+
/**
|
|
181
|
+
* Scheduled delivery.
|
|
182
|
+
*/
|
|
107
183
|
AuthorizedNotificationSetting["ScheduledDelivery"] = "scheduled_delivery";
|
|
184
|
+
/**
|
|
185
|
+
* Time sensitive.
|
|
186
|
+
*/
|
|
108
187
|
AuthorizedNotificationSetting["TimeSensitive"] = "time_sensitive";
|
|
109
188
|
return AuthorizedNotificationSetting;
|
|
110
189
|
}({});
|
|
111
190
|
_iOS.AuthorizedNotificationSetting = AuthorizedNotificationSetting;
|
|
112
191
|
let AuthorizedNotificationStatus = /*#__PURE__*/function (AuthorizedNotificationStatus) {
|
|
192
|
+
/**
|
|
193
|
+
* Not determined.
|
|
194
|
+
*/
|
|
113
195
|
AuthorizedNotificationStatus["NotDetermined"] = "not_determined";
|
|
196
|
+
/**
|
|
197
|
+
* Denied.
|
|
198
|
+
*/
|
|
114
199
|
AuthorizedNotificationStatus["Denied"] = "denied";
|
|
200
|
+
/**
|
|
201
|
+
* Authorized.
|
|
202
|
+
*/
|
|
115
203
|
AuthorizedNotificationStatus["Authorized"] = "authorized";
|
|
204
|
+
/**
|
|
205
|
+
* Provisional.
|
|
206
|
+
*/
|
|
116
207
|
AuthorizedNotificationStatus["Provisional"] = "provisional";
|
|
208
|
+
/**
|
|
209
|
+
* Ephemeral.
|
|
210
|
+
*/
|
|
117
211
|
AuthorizedNotificationStatus["Ephemeral"] = "ephemeral";
|
|
118
212
|
return AuthorizedNotificationStatus;
|
|
119
213
|
}({});
|
|
@@ -144,9 +238,10 @@ export let Feature = /*#__PURE__*/function (Feature) {
|
|
|
144
238
|
Feature["Contacts"] = "contacts";
|
|
145
239
|
Feature["FeatureFlags"] = "feature_flags";
|
|
146
240
|
Feature["Location"] = "location";
|
|
147
|
-
|
|
241
|
+
// No longer used. To be removed in version 20.0.0.
|
|
242
|
+
Feature["Chat"] = "chat"; // No longer used. To be removed in version 20.0.0.
|
|
148
243
|
return Feature;
|
|
149
|
-
}({});
|
|
244
|
+
}({});
|
|
150
245
|
|
|
151
246
|
/**
|
|
152
247
|
* All available features.
|
package/lib/module/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["PermissionStatus","PromptPermissionFallback","EventType","iOS","_iOS","NotificationOption","ForegroundPresentationOption","AuthorizedNotificationSetting","AuthorizedNotificationStatus","Android","Feature","FEATURES_ALL","Object","values","filter","feature","Location","Chat","SubscriptionScope"],"sourceRoot":"../../src","sources":["types.ts"],"mappings":"AA4BA;AACA;AACA;;AAKA;AACA;AACA;;AAQA;AACA;AACA;;AAwBA;AACA;AACA;;AAoBA;AACA;AACA;;AAuCA;AACA;AACA;AACA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;
|
|
1
|
+
{"version":3,"names":["PermissionStatus","PromptPermissionFallback","EventType","iOS","_iOS","NotificationOption","ForegroundPresentationOption","AuthorizedNotificationSetting","AuthorizedNotificationStatus","Android","Feature","FEATURES_ALL","Object","values","filter","feature","Location","Chat","SubscriptionScope"],"sourceRoot":"../../src","sources":["types.ts"],"mappings":";;AA4BA;AACA;AACA;;AAKA;AACA;AACA;;AAQA;AACA;AACA;;AAwBA;AACA;AACA;;AAoBA;AACA;AACA;;AAuCA;AACA;AACA;AACA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAC1B;AACF;AACA;EAHYA,gBAAgB;EAM1B;AACF;AACA;EARYA,gBAAgB;EAW1B;AACF;AACA;EAbYA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;;AAiB5B;AACA;AACA;AACA;AACA,WAAYC,wBAAwB,0BAAxBA,wBAAwB;EAClC;AACF;AACA;EAHYA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA;;AAOpC;AACA;AACA;;AAQA;AACA;AACA;;AAYA;AACA;AACA;;AAQA;AACA;AACA;;AAQA;AACA;AACA;;AAQA,WAAYC,SAAS,0BAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAAA,OAATA,SAAS;AAAA;AA4BrB;AACA;AACA;AAFA,WAGiBC,GAAG;AAAA,WAAAC,IAAA;EAAA,IAINC,kB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;AACA;;AAsBA;AACA;AACA;;AAuBA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AirshipActions.d.ts","sourceRoot":"","sources":["../../../../src/AirshipActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC;;GAEG;AACH,qBAAa,cAAc;IACb,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,GAAG;IAExC;;;;;;;OAOG;IACI,GAAG,CACR,UAAU,EAAE,MAAM,EAClB,WAAW,CAAC,EAAE,SAAS,GACtB,OAAO,CAAC,SAAS,GAAG,IAAI,GAAG,SAAS,CAAC;CAGzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AirshipAnalytics.d.ts","sourceRoot":"","sources":["../../../../src/AirshipAnalytics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC;;GAEG;AACH,qBAAa,gBAAgB;IACf,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,GAAG;IAExC;;;;;;OAMG;IACI,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3E;;;;OAIG;IACI,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIlD;;;;;OAKG;IACI,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxD;;;OAGG;IACI,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;CAGvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AirshipChannel.d.ts","sourceRoot":"","sources":["../../../../src/AirshipChannel.ts"],"names":[],"mapp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;GAEG;AACH,qBAAa,cAAc;IACb,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,GAAG;IAExC;;;;OAIG;IACI,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIjD;;;OAGG;IACI,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAI7B;;;OAGG;IACM,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3C;;;OAGG;IACI,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAI3D;;;OAGG;IACI,oBAAoB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,CAAC;IAI3E;;;OAGG;IACI,aAAa,IAAI,cAAc;IAMtC;;;OAGG;IACI,cAAc,IAAI,eAAe;IAMxC;;;OAGG;IACI,qBAAqB,IAAI,4BAA4B;CAO7D"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ViewStyle } from 'react-native';
|
|
2
3
|
/**
|
|
3
4
|
* AirshipEmbeddedView props
|
|
4
5
|
*/
|
|
5
6
|
export interface AirshipEmbeddedViewProp {
|
|
7
|
+
style?: ViewStyle;
|
|
6
8
|
/**
|
|
7
9
|
* The embedded Id.
|
|
8
10
|
*/
|
|
@@ -12,6 +14,6 @@ export interface AirshipEmbeddedViewProp {
|
|
|
12
14
|
* Airship Embedded view.
|
|
13
15
|
*/
|
|
14
16
|
export declare class AirshipEmbeddedView extends React.Component<AirshipEmbeddedViewProp> {
|
|
15
|
-
render():
|
|
17
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
16
18
|
}
|
|
17
19
|
//# sourceMappingURL=AirshipEmbeddedView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AirshipEmbeddedView.d.ts","sourceRoot":"","sources":["../../../../src/AirshipEmbeddedView.tsx"],"names":[],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@@
|
|
|
1
|
+
{"version":3,"file":"AirshipInApp.d.ts","sourceRoot":"","sources":["../../../../src/AirshipInApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOhE;;GAEG;AACH,qBAAa,YAAY;IAIX,OAAO,CAAC,QAAQ,CAAC,MAAM;IAAO,OAAO,CAAC,QAAQ,CAAC,YAAY;IAHvE,OAAO,CAAC,eAAe,CAA4C;IACnE,OAAO,CAAC,wBAAwB,CAAmE;gBAEtE,MAAM,EAAE,GAAG,EAAmB,YAAY,EAAE,cAAc;IAwBvF;;;;;OAKG;IACI,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,GAAG,YAAY;IAuBvG;;;;OAIG;IACI,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAInD;;;;OAIG;IACI,SAAS,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAIhD;;;OAGG;IACI,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC;IAInC;;;;OAIG;IACI,kBAAkB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI9D;;;OAGG;IACI,kBAAkB,IAAI,OAAO,CAAC,MAAM,CAAC;CAG7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AirshipLiveActivityManager.d.ts","sourceRoot":"","sources":["../../../../src/AirshipLiveActivityManager.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACvB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,qBAAa,0BAA0B;IACzB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,GAAG;IAExC;;;;OAIG;IACI,IAAI,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IAItE;;;;OAIG;IACI,OAAO,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;IAIzC;;;;OAIG;IACI,KAAK,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,YAAY,CAAC;IAItE;;;;OAIG;IACI,MAAM,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIhE;;;;OAIG;IACI,GAAG,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC;CAG3D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AirshipLiveUpdateManager.d.ts","sourceRoot":"","sources":["../../../../src/AirshipLiveUpdateManager.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,qBAAa,wBAAwB;IACvB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,GAAG;IAExC;;;;OAIG;IACI,IAAI,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAIlE;;;OAGG;IACI,OAAO,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;IAIvC;;;;OAIG;IACI,KAAK,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI5D;;;;OAIG;IACI,MAAM,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI9D;;;;OAIG;IACI,GAAG,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxD;;;OAGG;IACI,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;CAGjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AirshipLocale.d.ts","sourceRoot":"","sources":["../../../../src/AirshipLocale.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,GAAG;IAExC;;;;OAIG;IACI,iBAAiB,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIjE;;;OAGG;IACI,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3C;;;OAGG;IACI,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC;CAGpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AirshipMessageCenter.d.ts","sourceRoot":"","sources":["../../../../src/AirshipMessageCenter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC;;GAEG;AACH,qBAAa,oBAAoB;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,GAAG;IAExC;;;OAGG;IACI,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC;IAIxC;;;OAGG;IACI,WAAW,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;IAI7C;;;;;OAKG;IACI,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxD;;;;;OAKG;IACI,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAItD;;;OAGG;IACI,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAI/B;;;;;;;;OAQG;IACI,OAAO,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIjD;;;;;OAKG;IACI,iBAAiB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3D;;;;;OAKG;IACI,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC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