skip to Main Content

'persistenceEnabled' is deprecated: This field is deprecated. Use `cacheSettings` instead. FirebaseFirestore

am trying to archive my flutter app on Xcode and i have these 3 errors all in the same file FLTFirebaseFirestoreReader 1 - /Users/mg/.pub-cache/hosted/pub.dev/cloud_firestore-4.7.1/ios/Classes/FLTFirebaseFirestoreReader.m:97:14 'persistenceEnabled' is deprecated: This field is deprecated. Use cacheSettings instead. 2- /Users/mg/.pub-cache/hosted/pub.dev/cloud_firestore-4.7.1/ios/Classes/FLTFirebaseFirestoreReader.m:111:16 'cacheSizeBytes' is deprecated: This…

VIEW QUESTION

Flutter/Dart/Firebase Creating User – This expression has a type of 'void' so its value can't be used

I have following code which does not work somehow: Future<void> createUserWithEmailAndPassword() async { //try nutzer erstellen try { UserCredential userCredential = await Auth().createUserWithEmailAndPassword( email: _controllerEmail.text, password: _controllerPassword.text ); } catch (e) { if (e is FirebaseAuthException) { setState(() { errorMessage…

VIEW QUESTION
Back To Top
Search