MapView crashes on standalone Android

  1. SDK Version: 42.0.0
  2. Platforms(Android/iOS/web/all): Android
  3. react-native-maps: 0.28.0

Hi there,

like the title says: my app is crashing on Android (standalone) but works fine on Expo (with Android and iOS device) as well as iOS standalone.

I thought it might be the missing API key, but I included it within the app.json

"android": {
      "config": {
        "googleMaps": {
          "apiKey": "<my key>"

I also enabled Android Maps SDK for that project in Google Cloud.

Now there are couple of more steps in here concerning restrict the key:

So are steps 2. and 3. a requirement in order to get it working ?

Or did I miss something else?

FYI: I tried to load the map only (with excluding all the markers) and still didn’t work, so it should be a problem with the map

Best regards,

Update: I have restricted the api key like described in the link above and it still crashes

Ok it turns out it wasn’t the map but the location service made it crash… :see_no_evil:


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