Google Maps API Key

6. Google Maps API Key (Flutter)

To set the Google Maps API key in the mobile app for both platforms:

6.1. For Android

In android/app/src/main/AndroidManifest.xml, inside the <application> element, set the com.google.android.geo.API_KEY
meta-data value:

<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="YOUR_API_KEY_HERE"/>

6.2. For iOS

In ios/Runner/AppDelegate.swift, provide the key inside didFinishLaunchingWithOptions:

GMSServices.provideAPIKey("YOUR_API_KEY_HERE")

Recent Posts

    Archives

    No archives to show.

    Categories

    • No categories

    Blog Categories

    • No categories

    Archives

      Categories

      • No categories