skip to Main Content

I’m having an error while running a flutter app, it comes to the end but it gets stuck with VM Services, i have the GoogleService-Info.plist and everything okay, anybody now what might still be the issue?

2

Answers


  1. You can try adding Firebase.initializeApp() in the main.dart file. This solution worked for me.

    If you cannot find FirebaseApp in your project then please add firebase_core in your pub spec.yaml.

    Login or Signup to reply.
  2. Just Add await Firebase.initializeApp(); Method in your main method, it will resolve your issue

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search