Hello
My app is using Expo SDK 47, managed workflow and I’m using eas-cli to build development build for ios. I have a problem with react-native-maps. When I open development build in IOS simulator I’m getting error:
“react-native-maps: AirGoogleMaps dir must be added to your xCode project to support GoogleMaps on iOS.”
I was following documentation and completed all of the steps.
app.json
"ios": {
...
"bundleIdentifier": "BUNDLE_IDENTIFIER",
"config": {
"googleMapsApiKey": "API_KEY"
}
},
MapVIew provider:
<MapView
initialRegion={{
...
}}
provider={PROVIDER_GOOGLE}
>
eas.json
"devclient": {
"releaseChannel": "default",
"distribution": "internal",
"developmentClient": true,
"android": {
"buildType": "apk"
},
"ios": {
"simulator": true
}
},
And bundle identifier added to API key is valid.
I would highly appreciate any help