When following documentation this should be working:
var firebaseAuth = FirebaseAuth(apiKey, prefStore!);
var fireStore = Firestore(projectId, auth: firebaseAuth);
But the named parameter 'auth' isn't defined. for Firestore.
Up to 0.9.0+1 this was they way to instantiate a Firestore object.
What is the current way ? I am assuming it is somehow using the new authenticator parameter.
But since it is not documented, I hav no idea how to use it ...
When following documentation this should be working:
But the named parameter 'auth' isn't defined. for Firestore. Up to 0.9.0+1 this was they way to instantiate a Firestore object. What is the current way ? I am assuming it is somehow using the new authenticator parameter. But since it is not documented, I hav no idea how to use it ...