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
To receive the push notification in the background , need to init firebase sdk in the background using service worker as per this doc
here when the Firebase config is added statically everything is working fine .
In service worker, process.env.ENV_NAME is not available, how to init SDK in server worker which allows to inject firebase config dynamically in Next Js via environment variable?
The text was updated successfully, but these errors were encountered:
To receive the push notification in the background , need to init firebase sdk in the background using service worker as per this doc
here when the Firebase config is added statically everything is working fine .
In service worker, process.env.ENV_NAME is not available, how to init SDK in server worker which allows to inject firebase config dynamically in Next Js via environment variable?
The text was updated successfully, but these errors were encountered: