Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

idrakimuhamad
Copy link
Contributor

@idrakimuhamad idrakimuhamad commented Jan 5, 2024

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 #540

@rlepinski
Copy link
Contributor

👍

@crow crow merged commit f9635dd into urbanairship:main Jan 5, 2024
1 check passed
@idrakimuhamad idrakimuhamad deleted the feature-flag-annotation branch February 20, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

featureFlagManager.flag throwing error on Android.
3 participants