JS/Firebase – messaging.onBackgroundMessage is not a function
Here is my whole code: import { initializeApp } from "https://www.gstatic.com/firebasejs/9.16.0/firebase-app.js"; import { getMessaging, getToken } from "https://www.gstatic.com/firebasejs/9.16.0/firebase-messaging.js"; //This data is filled correctly just clearing it here for the question const firebaseConfig = { apiKey: "", authDomain: "", projectId: "t",…