iOS React Native – GrowthBook not working at all o...
# ask-questions
s
iOS React Native – GrowthBook not working at all on first launch after fresh install Hi GrowthBook team, We are seeing a strange issue with GrowthBook on iOS (React Native) that only happens on first launch after a fresh install. Behavior: • Device: iOS • Install type: App deleted → reinstalled from TestFlight / App Store • On first app launch, GrowthBook does not seem to work at all: ◦ Feature flags are missing / not evaluated ◦ This remains true even after login • If the app is killed and reopened, all features appear immediately and work correctly Setup details: • GrowthBook initialized at app start • Using GrowthBook CDNStreaming is enabled • We are not explicitly awaiting feature loading • No network issues observed • Issue is not reproducible on our own devices, but consistently happens on our PM’s iOS device Important note: This does not look like a timing issue with attributes or login — GrowthBook appears to not initialize or not stream features at all during the very first app session. After restart, everything works without delay. Question: • Is this a known issue on iOS / React Native with streaming on first install? • What might we are missing? Here is recording for this;
f
Hi @silly-vase-69991 good morning 👋 This seems to be a timing issue where on launch the SDK isn't fetching so the feature is evaluating to null. Do you have error handling implemented to help pinpoint the issue? When replicating this, is your PM on the same app version as a device that is not able to replicate this?
Please can you share your code on how you are initializing GrowthBook and confirm which SDK version you're using? Please make sure to redact any sensitive information