Why not directly pass firebase config into the service worker file, instead of passing it via query strings? #8693
              
                Unanswered
              
          
                  
                    
                      phoneticallySAARTHaK
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    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.
-
In the firebase nextjs codelab, a service worker is used, and the config is passed via query params.
Why can't it be passed as code in the service worker file, since it will anyway be included in the build?
Does this have something to do with SW lifecycle?
Also is it possible to use firebase with next js without service worker?
Beta Was this translation helpful? Give feedback.
All reactions