A Map component that uses Apple Maps or Google Maps on iOS and Google Maps on Android. Built by Airbnb at airbnb/react-native-maps. No setup required for use within the Expo app, or within a standalone app for iOS. See below for instructions on how to configure for deployment as a standalone app on Android.
Choose the Android apps radio button under Key restriction.
Click the + Add package name and fingerprint button.
Add your android.package from app.json (eg: ca.brentvatne.growlerprowler) to the Package name field.
Run exp fetch:android:hashes.
Copy Google Certificate Fingerprint from the output from step 9 and insert it in the "SHA-1 certificate fingerprint" field.
Copy the API key (the first text input on the page) into app.json under the android.config.googleMaps.apiKey field. See an example diff.
Press Save and then rebuild the app like in step 1.
Note that if you've enabled Google Play's app signing service, you will need to grab their app signing certificate in production rather than the upload certificate returned by exp fetch:android:hashes. You can do this by grabbing the signature from Play Console -> Your App -> Release management -> App signing, and then going to the API Dashboard -> Credentials and adding the signature to your existing credential.
Deploying Google Maps to a standalone app on iOS
Apple Maps should just work with no extra configuration. For Google Maps, you can specify your own Google Maps API key using the ios.config.googleMapsApiKeyconfiguration in your project's app.json.
Deploying Google Maps to ExpoKit for iOS
If you want to add MapView with Google Maps to an ExpoKit (detached) project on iOS, you may need to manually provide a key by calling:
[GMSServices provideApiKey:@"your api key"]
Alternatively, you can provide the GMSApiKey key in your app's Info.plist and ExpoKit will pick it up automatically. If you detached after already configuring Google Maps, the detach step may have already provided this for you.