Skip to content

Commit

Permalink
fix(android): missing annotation on feature flag method
Browse files Browse the repository at this point in the history
  • Loading branch information
idrakimuhamad authored Jan 5, 2024
1 parent 20f7603 commit 770be0f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ class AirshipModule internal constructor(val context: ReactApplicationContext) :
}
}

@ReactMethod
override fun featureFlagManagerFlag(flagName: String?, promise: Promise) {
promise.resolveDeferred { callback ->
scope.launch {
Expand All @@ -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())
Expand Down

0 comments on commit 770be0f

Please sign in to comment.