flutter – Kindly help me I am facing this issue during state management and using provider (firebase): “Error: Unexpected null value.at Object.thr

I am doing state management and using providers here are my file of code: I was trying to acess my user details stored through providers in firebase but I get the null value error. I also call the init state but still i am getting this error. Like I can access the user details by … Read more

firebase – How to make a simple admin page in flutter with a given email and password in flutter?

How can I add an admin page to the existing pages? I just want one default admin to enter which will only display users from Firebase. I would like a specific email and password to be given which will allow access for that one admin. I’m attaching the login page import ‘package:firebase_auth/firebase_auth.dart’; import ‘package:flutter/material.dart’; import … Read more

dart – Searchdelegates class using flutter firebase

I have a searchDelagate class…inside the class i want to diapaly some dat that comes from the collection”users”…Here actually my problem is i have two collection users and company ..i want to dispaly the data that match with the uid of another collection company..so i tried to call the function like this class SearchPage extends … Read more

javascript – Getting “auth/network-request-failed” when authenticating with firebase within reactjs (Not an actual network error)

Whenever an authentication request is sent to firebase (through google popup or email/password), a “auth/network-request-failed” is returned. I have tried to upgrade from firebase version 8 to version 9, but continue to get the same issue. I have insured that the config is setup correctly along with my import statements. I have similar code on … Read more

A document path must be a non-empty string, Flutter – Firebase error?

I have some mistakes with flutter and firebase, if someone can help would be great here is my auth controller class AuthController extends GetxController { final FirebaseAuth auth = FirebaseAuth.instance; final Rxn<User> _firebaseUser = Rxn<User>(); Rx<XFile>? _pickedImage; XFile? get profilePhoto => _pickedImage?.value; // final user = FirebaseAuth.instance.currentUser.obs; Rxn<User> get user => _firebaseUser; // final user … Read more

javascript – in React how can I dynamically get the id of each document in my FIREBASE FIRESTORE collection?

I want to be able to filter all products so that each id from the doc relates to my products… Everything works fine for me so far, but I have only called one document id and I don’t know how to call all the others and give them a filter so that when I click … Read more