This section shows the way to configure the Address Filling via Google Map feature.

When installing, if you get issue, please go to Common Questions or Common Issues to find the solutions.

img

Video guide:

Manual Document:

If you have not got an API key yet, get an API key at https://cloud.google.com/maps-platform/ > select "Get Started" > follow the guided steps.

Open the lib/common/config.dart and replace your own key: (or lib/common/config/general.dart from version 1.6.5 onwards. )

const kGoogleAPIKey = {
  "android": "your-google-api-key",
  "ios": "your-google-api-key",
  "web": "your-google-api-key"
};

Open ios/Runner/AppDelegate.m and replace your own key:

[GMSServices provideAPIKey:@"your-google-api-key-here"];

Open android/app/src/main/AndroidManifest.xml: and replace your own key:

<meta-data android:name="com.google.android.geo.API_KEY"
    android:value="your-google-api-key-here"/>

To project your key, log in to https://console.cloud.google.com/apis/credentials/key and manage the restrictions per-app bundle id:

img

Run this command to deploy:

firebase deploy --only functions