RedZ
RedZ

Reputation: 1013

Flutter - Google maps works on emulator but doesnt work on phone

Im using Google Maps with Flutter, i've followed all of the steps, and it worked perfectly, i had a map widget that i could use to browse, zoom and everything. A few days later, after i started tinkering with Firebase Auth (for the same app), it stopped working, as a matter of fact, the app makes my (Xiaomi) phone crash and reboot when i enter the map screen, while it works completely fine on my emulator. I tried to create another blank google console project and created the APIs from scratch, and created a blank flutter project and set everything up, but it still crashes my phone. I tried this on a Samsung, the phone doesnt crash, but the map shows up a blank grey area.

What should i do ?

Upvotes: 0

Views: 1133

Answers (1)

Tasnuva Tavasum oshin
Tasnuva Tavasum oshin

Reputation: 4750

Need to Add Permission . User have to confirm the permission then you will able to view it

Upvotes: 1

Related Questions