Expo MapView not working on Android

Hi,

I have a detached Expo app. And I’m following the docs here:

I have changed my app.json file like so:

   "android": {
      "package": "com.mypackage.name",
      "config": {
        "googleMaps": {
          "apiKey": "[api key]"
        }
      }
    },

But I still get a grey ish map. Do I have to add the apiKey to my manifest or somewhere since I’m a detached app? If so how do I do that?

(apiKey and package all match up…)

1 Like

Solved it - ya I had to add to the Manifest and not in app.json.

Here for anyone who runs into this:

 <!-- ADD GOOGLE MAPS CONFIG HERE -->
    <!-- BEGIN GOOGLE MAPS CONFIG -->
    <meta-data
      android:name="com.google.android.geo.API_KEY"
...
1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.