[firebase_remote_config] Fetch is slow on first startup #12234
              
                Unanswered
              
          
                  
                    
                      dev-tatsuya
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| up mine takes by avg 2s to perform this:  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
There is an app that uses RemoteConfig to A/B test the screen that is displayed when the app is launched for the first time.
When I installed this app on a device (emulator) that had never been installed, it took about 1 minute and 30 seconds to start.
When I debugged it, I found that it took about 1 minute and 30 seconds to fetch the RemoteConfig.
Indeed, this article states that fetching RemoteConfig for A/B testing takes time.
However, I think an app that takes 1 minute and 30 seconds to start up for the first time is way too long. We are concerned about user withdrawal.
So, as posted, how can I use RemoteConfig to A/B test the screen that is displayed at first startup so that the app opens quickly on first startup?
The code flow is to await the RemoteConfig
fetchbeforerunAppand pass the obtained value to the Widget insiderunApp.The version is below.
Thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions