-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requestedreact-nativeweb
Description
Bug description
We are using posthog-react-native package also on web.
We have encountered an edge case where on some mobile devices with chrome browser the feature flags do not seem to be loaded.
- posthog.onFeatureFlags callback isnt called
- using useFeatureFlag* hooks return undefined
Observations:
- When calling posthog.reloadFeatureFlags() it then works
- In network tab we can see that all feature flags are prefetched correctly before calling posthog.reloadFeatureFlags
How to reproduce
- android chrome 137.0.7151.72
- call posthog.onFeatureFlags -> nothing happens
- call posthog.reloadFeatureFlags -> callback triggered
Related sub-libraries
- All of them
- posthog-web
- posthog-node
- posthog-ai
- posthog-react-native
Additional context
Thank you for your bug report – we love squashing them!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requestedreact-nativeweb