nuxt-community / firebase-module

🔥 Easily integrate Firebase into your Nuxt project. 🔥
https://firebase.nuxtjs.org
MIT License
640 stars 99 forks source link

Automatically deleted or expire fcm token on website load nuxt firebase module #622

Closed mtalha-tariq closed 2 years ago

mtalha-tariq commented 2 years ago

Version

"@nuxtjs/firebase": "^8.2.2", "firebase": "^9.6.8", "nuxt": "^2.14.7",

Reproduction Link

https://multivendor.softwaresbranding.com/

Steps to reproduce

Just refresh the website and go to the network tab you can find the API to delete fcm token.

Issue

I have configured nuxt firebase according to nuxt/firebase documentation. Everything is working fine. The problem is that when we refresh our website or load the website at any time, firebase sends the call to delete the token to firebase then we cannot use token this again.

This is the requested call that automatically run on refresh or load Request URL: https://fcmregistrations.googleapis.com/v1/projects/nictus-multivendor/registrations/deviceToken Please guide me how to stop this automatically process of deleting firebase token.