Expo Ignoring ios.config.googleMapsApiKey in Dev Environment

When doing local testing on both the iOS emulator and my iPhone, it appears that expo is ignoring the value for ios.config.googleMapsApiKey in my app.json. Even if I remove the ios.config object entirely, the map will still render fine. The same thing occurs if I include bogus values like foobar for the Google maps api key.

Is there some sort of caching behavior in the expo client, where the googleMapsApiKey is being stored somewhere? Thus bypassing the value in app.json? Other values in my app.json are being picked up when I change them.

FYI:
“expo”: “^31.0.2”,
“react-native-maps”: “^0.22.1”

Example of what I am talking about in app.json:

"ios": {
    "supportsTablet": false,
    "config": {
        "googleMapsApiKey": "THIS SHOULD NOT WORK BUT MAP STILL RENDERS FINE",
    },
}

This is presenting issues because I am trying to pinpoint a map bug. Thank you!

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