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
An exception happens if PostHogFeatureFlags.reloadFeatureFlagsRequest() did not finish when featureFlags.getFlags() was called.
Although this does not make my app crash, it makes lose my very early events before reloadFeatureFlagsRequest() finishes.
Activity
marandaneto commentedon Sep 22, 2023
We're currently reworking the Android SDK and this will be taken care of, will move this to WIP, so stay tuned.
marandaneto commentedon Oct 4, 2023
https://github.com/PostHog/posthog-android/releases/tag/3.0.0-alpha.4 should fix this.
If the
reloadFeatureFlagsisn't finished, feature flags will just return null.You can choose to listen for a callback once feature flags are fully reloaded.
Check out https://github.com/PostHog/posthog-android/blob/main/USAGE.md