skip to Main Content

Firebase – How to handle screen navigation in Flutter when clicking on a Push Notification?

I have made this file push_notifications.dart import 'dart:io'; import 'package:firebase_core/firebase_core.dart'; import 'package:firebase_messaging/firebase_messaging.dart'; import 'package:flutter/material.dart'; import 'package:flutter_local_notifications/flutter_local_notifications.dart'; const AndroidNotificationChannel androidSettings = AndroidNotificationChannel( 'high_importance_channel', // id 'High Importance Notifications', // title// description importance: Importance.high, playSound: true); var iOSSettings = const IOSInitializationSettings( defaultPresentAlert:…

VIEW QUESTION

Module not found: Error: Can't resolve './Firebase'

I am new to react and i have been trying to initialize firebase into my react app. import firebase from 'firebase/compat/app'; import 'firebase/compat/auth'; import 'firebase/compat/firestore'; var firebaseConfig = { apiKey: "AIzaSyCvSb1gFiUYMJA4SbsKlJvhFwJ8IFjSwkg", authDomain: "raya-feedback.firebaseapp.com", databaseURL: "https://raya-feedback-default-rtdb.europe-west1.firebasedatabase.app", projectId: "raya-feedback", storageBucket: "raya-feedback.appspot.com", messagingSenderId:…

VIEW QUESTION
Back To Top
Search