window.onload = function() { // Import the functions you need from the SDKs you need import { initializeApp } from "firebase/app"; import { getAuth } from 'firebase/auth'; import { getAnalytics } from "firebase/analytics"; import { getMessaging } from "firebase/messaging"; // Your web app's Firebase configuration // For Firebase JS SDK v7.20.0 and later, measurementId is optional const firebaseConfig = { apiKey: "AIzaSyAqG18CpEZygNSvaGL303y2FUVtJ0G-M1w", authDomain: "tealgreen-e4862.firebaseapp.com", projectId: "tealgreen-e4862", storageBucket: "tealgreen-e4862.firebasestorage.app", messagingSenderId: "900961678193", appId: "1:900961678193:web:7f4d87a9ebd543dcd37cd0", measurementId: "G-C0SXBRNDT8" }; // Initialize Firebase const app = initializeApp(firebaseConfig); const auth = getAuth(app); const analytics = getAnalytics(app); const messaging = getMessaging(app); // Request Notification Permission function requestNotificationPermission() { if ('Notification' in window) { Notification.requestPermission() .then(function(permission) { if (permission === 'granted') { console.log('Notification permission granted.'); // Proceed with token retrieval and subscription (not included in this example) } else { console.log('Notification permission denied.'); } }); } else { console.log('Notifications not supported on this browser.'); } } // Call the function to request permission requestNotificationPermission(); };
top of page
Banff2022.jpg

Teal Green Reviews

Destinations

Here at Teal Green Reviews, you can read about destinations from all over the world and about our teams experiences when on location.  We hope you find our insights helpful for when you are planning your next adventure.

  • Facebook
  • Twitter
  • LinkedIn

©2021 by Teal Green Reviews. Proudly created with Wix.com

bottom of page