Home > Software design >  How to use firebase with flutter
How to use firebase with flutter

Time:11-10

I'm a beginner in flutter, i want to use firebase in my flutter app, i run my app on chrome because the emulator does not work, i have configured the build.gradle file, and the pubspec.yaml, when i run my app i have an error saying:

/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.24.0/lib/src/firebase_app.dart:18:25: Error: Member not found: 'FirebaseAppPlatform.verifyExtends'. 
    FirebaseAppPlatform.verifyExtends(_delegate);
                        ^^^^^^^^^^^^^
Waiting for connection from debug service on Chrome...            154.8s
Failed to compile application.

CodePudding user response:

Try this

flutter pub upgrade --major-versions

CodePudding user response:

for now use this versions:

  firebase_analytics:
  firebase_auth: 
  firebase_core: ^1.24.0
  cloud_firestore: 
  cloud_functions: 
  firebase_core_platform_interface: 4.5.1

  • Related