skip to Main Content

I created a flutter release apk using the following command:

flutter build apk 

and Google sign in worked perfectly on the release apk.

However, when I created a release appbundle using the following command:

flutter build appbundle

Google sign in does not work.

Does Appbundle need a special configuration for the release key to work or what.

Why?

2

Answers


  1. you can use the android studio to build signed app bundle.

    just open your flutter project in android studio now open the android folder as your project directory.and start building your app bundle

    Login or Signup to reply.
  2. If you are using Firebase Add your SHA-1 and SHA-256 and also add the google play console SHA-1 and SHA-256 to Firebase

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