urbanairship / react-native-airship

Airship React Native module
Other
87 stars 62 forks source link

fix(android): missing annotation on feature flag method #542

Closed idrakimuhamad closed 9 months ago

idrakimuhamad commented 9 months ago

What do these changes do?

The featureFlagManagerFlag and featureFlagManagerTrackInteraction missed out the annotation to make it accessible from JS for Android native-module

Why are these changes necessary?

Without this annotation, we can't use the flag and trackInteraction method on Android.

How did you verify these changes?

Added the annotation, rebuild the app, and verify that the method able to call the native method

Should fix https://github.com/urbanairship/react-native-airship/issues/540

rlepinski commented 9 months ago

👍