5. Google Map Setup
Last updated
Last updated
In this step, you need to get a Google Map API key from Google Cloud Console. This is required to set up Google Maps on the app and other related features.
First of all, go to this URL.
Make sure you have selected your project.
Go to the APIs tab and enable these (4) APIs.
Directions API
Places API
Maps SDK for Android
Maps SDK for iOS
Click on the menu button (Top Left) and select APIs & Services.
Go to the Credentials Tabs and click create credential then click API key.
Copy that API key and go to lib/config/config.dart file and replace it with your google map API key.
Most importantly, you have to add billing on your Google Cloud Console. If not, Google Map API key won’t work.