You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to do some exploration on Feature Flag using the RN SDK. Our account has been enabled for this.
The API are working on iOS. However, on Android its throwing error.
Airship.featureFlagManager.flag(flag).then((feature)=>{console.log(`feature-flag: ${flag}`,feature)returnfeature})// TypeError: undefined is not a function
This is thrown at .flag as it appears this.module.featureFlagManagerFlag inside the AirshipFeatureFlagManager seems to be undefined. I looked at the source, it seems to be there.
SDK version 17.1.0
The text was updated successfully, but these errors were encountered:
Further checking on the source code, it appear that the native method are not annotated with @ReactMethod. Both featureFlagManagerFlag and featureFlagManagerTrackInteraction miss this out. Adding this solve the issue.
I'm trying to do some exploration on Feature Flag using the RN SDK. Our account has been enabled for this.
The API are working on iOS. However, on Android its throwing error.
This is thrown at
.flag
as it appearsthis.module.featureFlagManagerFlag
inside theAirshipFeatureFlagManager
seems to be undefined. I looked at the source, it seems to be there.SDK version 17.1.0
The text was updated successfully, but these errors were encountered: