From 770be0f07517888221d3ae2862c9371df10765ba Mon Sep 17 00:00:00 2001 From: Idraki Muhamad Date: Sat, 6 Jan 2024 00:23:43 +0800 Subject: [PATCH] fix(android): missing annotation on feature flag method --- .../src/main/java/com/urbanairship/reactnative/AirshipModule.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/src/main/java/com/urbanairship/reactnative/AirshipModule.kt b/android/src/main/java/com/urbanairship/reactnative/AirshipModule.kt index 64c5e6d8..76e01645 100644 --- a/android/src/main/java/com/urbanairship/reactnative/AirshipModule.kt +++ b/android/src/main/java/com/urbanairship/reactnative/AirshipModule.kt @@ -648,6 +648,7 @@ class AirshipModule internal constructor(val context: ReactApplicationContext) : } } + @ReactMethod override fun featureFlagManagerFlag(flagName: String?, promise: Promise) { promise.resolveDeferred { callback -> scope.launch { @@ -662,6 +663,7 @@ class AirshipModule internal constructor(val context: ReactApplicationContext) : } } + @ReactMethod override fun featureFlagManagerTrackInteraction(flag: ReadableMap?, promise: Promise) { promise.resolveResult { val parsedFlag = FeatureFlagProxy(Utils.convertMap(requireNotNull(flag)).toJsonValue())