Firestore initialize problem

Do I have to initialize firebase core and firestore on every screen?

you initialized the firebase core?

this was an extension and I removed it and began to use niotron firestore components but I want to know Do I have to initialize firebase core and firestore on every screen?

I hope one of the moderators can tell us if the Firestore component in Niotron works at all or not. I’ve tried all the methods and I’m getting only errors. If it works, please tell us how to send the data correctly by blocks, whether it’s a set document or add document blocks.

FirebaseCore Initialize block needs to be called in just screen 1. Use the same Instance name in all other Firebase Core components in other screens.

but when I do this firebase auth does not send the token in the other screens so I have to intialize the core on all screens to work.

Once the user is logged in, save their data and token in TinyDB. Then, simply extract them from there. You must have the same TinyDB on all screens that require it.

Don’t report it as a bug if it isn’t, and don’t create another topic if you already have one about the same thing.

it is not the same problem the issue of Niotron not keeping the login is not related to the token. It’s a problem that has appeared with me only a few days ago and Not resolved yet.

Tiny’s solution for saving the token isn’t good, either. If the token expires, I’ll need to redirect the user from the page they’re on to the page where Auth is working, which isn’t professional.

Whatever you want.
I think you should read a little more about Firebase.
greetings and good luck