From 6fee1ce5ea27ae4cbc946908bafc0116818619d3 Mon Sep 17 00:00:00 2001 From: or-else Date: Mon, 30 Dec 2019 15:31:39 -0500 Subject: [PATCH] firebase made a breaking change in 7.0.0 - need different config --- firebase-init.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firebase-init.js b/firebase-init.js index bd48fe27..169b0110 100644 --- a/firebase-init.js +++ b/firebase-init.js @@ -1,7 +1,10 @@ // Get these values for your project from the https://console.firebase.google.com/ const FIREBASE_INIT = { - // Project Settings -> Cloud Messaging, "Sender ID". + // Set up a web application in console then get the config object. + apiKey: "AIzaSyD6X4ULR-RUsobvs1zZ2bHdJuPz39q2tbQ", messagingSenderId: "114126160546", + projectId: "tinode-1000", + appId: "1:114126160546:web:aca6ea2981feb81fb44dfb", // Project Settings -> Cloud Messaging -> Web configuration -> Web Push certificates. // This value IS NOT included in the generated js config you can download from // the firebase console. It needs to be added separately.