@ua/react-native-airship 19.4.1 → 19.4.2
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.
|
@@ -713,36 +713,42 @@ class AirshipModule internal constructor(val context: ReactApplicationContext) :
|
|
|
713
713
|
}
|
|
714
714
|
}
|
|
715
715
|
|
|
716
|
+
@ReactMethod
|
|
716
717
|
override fun liveActivityListAll(promise: Promise) {
|
|
717
718
|
promise.resolveResult {
|
|
718
719
|
throw IllegalStateException("Not supported on Android")
|
|
719
720
|
}
|
|
720
721
|
}
|
|
721
722
|
|
|
723
|
+
@ReactMethod
|
|
722
724
|
override fun liveActivityList(request: ReadableMap?, promise: Promise) {
|
|
723
725
|
promise.resolveResult {
|
|
724
726
|
throw IllegalStateException("Not supported on Android")
|
|
725
727
|
}
|
|
726
728
|
}
|
|
727
729
|
|
|
730
|
+
@ReactMethod
|
|
728
731
|
override fun liveActivityStart(request: ReadableMap?, promise: Promise) {
|
|
729
732
|
promise.resolveResult {
|
|
730
733
|
throw IllegalStateException("Not supported on Android")
|
|
731
734
|
}
|
|
732
735
|
}
|
|
733
736
|
|
|
737
|
+
@ReactMethod
|
|
734
738
|
override fun liveActivityUpdate(request: ReadableMap?, promise: Promise) {
|
|
735
739
|
promise.resolveResult {
|
|
736
740
|
throw IllegalStateException("Not supported on Android")
|
|
737
741
|
}
|
|
738
742
|
}
|
|
739
743
|
|
|
744
|
+
@ReactMethod
|
|
740
745
|
override fun liveActivityEnd(request: ReadableMap?, promise: Promise) {
|
|
741
746
|
promise.resolveResult {
|
|
742
747
|
throw IllegalStateException("Not supported on Android")
|
|
743
748
|
}
|
|
744
749
|
}
|
|
745
750
|
|
|
751
|
+
@ReactMethod
|
|
746
752
|
override fun liveUpdateListAll(promise: Promise) {
|
|
747
753
|
promise.resolveSuspending(scope) {
|
|
748
754
|
proxy.liveUpdateManager.listAll().let {
|
|
@@ -751,6 +757,7 @@ class AirshipModule internal constructor(val context: ReactApplicationContext) :
|
|
|
751
757
|
}
|
|
752
758
|
}
|
|
753
759
|
|
|
760
|
+
@ReactMethod
|
|
754
761
|
override fun liveUpdateList(request: ReadableMap?, promise: Promise) {
|
|
755
762
|
promise.resolveSuspending(scope) {
|
|
756
763
|
proxy.liveUpdateManager.list(
|
|
@@ -761,6 +768,7 @@ class AirshipModule internal constructor(val context: ReactApplicationContext) :
|
|
|
761
768
|
}
|
|
762
769
|
}
|
|
763
770
|
|
|
771
|
+
@ReactMethod
|
|
764
772
|
override fun liveUpdateStart(request: ReadableMap?, promise: Promise) {
|
|
765
773
|
promise.resolveSuspending(scope) {
|
|
766
774
|
proxy.liveUpdateManager.start(
|
|
@@ -769,6 +777,7 @@ class AirshipModule internal constructor(val context: ReactApplicationContext) :
|
|
|
769
777
|
}
|
|
770
778
|
}
|
|
771
779
|
|
|
780
|
+
@ReactMethod
|
|
772
781
|
override fun liveUpdateUpdate(request: ReadableMap?, promise: Promise) {
|
|
773
782
|
promise.resolveSuspending(scope) {
|
|
774
783
|
proxy.liveUpdateManager.update(
|
|
@@ -777,6 +786,7 @@ class AirshipModule internal constructor(val context: ReactApplicationContext) :
|
|
|
777
786
|
}
|
|
778
787
|
}
|
|
779
788
|
|
|
789
|
+
@ReactMethod
|
|
780
790
|
override fun liveUpdateEnd(request: ReadableMap?, promise: Promise) {
|
|
781
791
|
promise.resolveSuspending(scope) {
|
|
782
792
|
proxy.liveUpdateManager.end(
|
|
@@ -785,6 +795,7 @@ class AirshipModule internal constructor(val context: ReactApplicationContext) :
|
|
|
785
795
|
}
|
|
786
796
|
}
|
|
787
797
|
|
|
798
|
+
@ReactMethod
|
|
788
799
|
override fun liveUpdateClearAll(promise: Promise) {
|
|
789
800
|
promise.resolveSuspending(scope) {
|
|
790
801
|
proxy.liveUpdateManager.clearAll()
|
package/package.json
CHANGED