skip to Main Content

New Firebase connection to Flutter application not connecting

I just created a new flutter application and trying to connect a newly made firebase Firestore. Cli has been added and flutterfire config has been ran. import 'package:flutter/material.dart'; import 'package:firebase_core/firebase_core.dart'; import 'firebase_options.dart'; Future<void> main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp( options:…

VIEW QUESTION

I can't use request in firebase emulator

Request function isn't working in my firebase emulator and My Firebase CLI version is 11.13.0 that is latest version. But the screen shot is 'Please update your Firestore Emulator. This feature requires the latest Firestore Emulator. Please upgrade your Firebase…

VIEW QUESTION

Unable to query data from Firebase

I'm trying to retrieve data from Firebase. Here's my code snippet Future main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp(); // DatabaseReference ref = FirebaseDatabase.instance.ref(); runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { final docRef…

VIEW QUESTION
Back To Top
Search