Summary
Using the provider={PROVIDER_GOOGLE} with a valid Google Maps API key in the MapView component causes the iOS simulator to crash. Running the code on a physical device however, does in fact render the map properly.
Note: I'm not sure if this is expo or react-native-maps specific, so this issues is posted on both repos for visibility.
Reproducible sample code
https://github.com/iM-GeeKy/my-app/tree/master
Steps to reproduce
- Run
expo start.
Press i │ open iOS simulator
- Add your Google API key to app.json.
- Uncomment provider in app.js.
Expected result
The Simulator does not crash.
Actual result
The Simulator crashes.
React Native Maps Version
0.31.1
What platforms are you seeing the problem on?
iOS (Google Maps)
React Native Version
0.69.3
What version of Expo are you using?
SDK 46
Device(s)
iPhone 13 Pro Simulator iOS 15.5
Additional information
Issue opened with Expo team expo/expo#18530
This happens on amd and apple silicon.
Summary
Using the provider={PROVIDER_GOOGLE} with a valid Google Maps API key in the MapView component causes the iOS simulator to crash. Running the code on a physical device however, does in fact render the map properly.
Note: I'm not sure if this is
expoorreact-native-mapsspecific, so this issues is posted on both repos for visibility.Reproducible sample code
https://github.com/iM-GeeKy/my-app/tree/masterSteps to reproduce
expo start.Press i │ open iOS simulatorExpected result
The Simulator does not crash.
Actual result
The Simulator crashes.
React Native Maps Version
0.31.1
What platforms are you seeing the problem on?
iOS (Google Maps)
React Native Version
0.69.3
What version of Expo are you using?
SDK 46
Device(s)
iPhone 13 Pro Simulator iOS 15.5
Additional information
Issue opened with Expo team expo/expo#18530
This happens on amd and apple silicon.