I previously had
react-native-maps working on Android & iOS.
After upgrading to
v31 my app crashes on
iOS production environment. On Android, I never get permissions for location.
When I use xCode to follow the stacktrace I see this error logged.
*** Terminating app due to uncaught exception 'GMSServicesException', reason: 'Google Maps SDK for iOS must be initialized via [GMSServices provideAPIKey:...] prior to use'
I Googled and found this
How can I provide the Api Keys like suggested in the StackOverflow answers?
GMSPlacesClient.provideAPIKey("Your key") GMSServices.provideAPIKey("Your key")
I read the documents but don’t see how to set this for iOS.
Thanks in advance!