question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The IOS app needs an update to link the AirGoogleMaps library which was introduced in the latest version of react-native-maps, this way <MapView provider='google' /> can be used to view Google Maps on IOS. At the moment, when using provider='google' in Exponent the app crashes.

Instructions are available here.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:8
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

16reactions
terriblebencommented, Feb 22, 2017

Support for AirGoogleMaps was included in today’s iOS release, v1.13.1. This will work in SDK 14 projects, there is no new SDK version.

When developing in the Exponent app, this should just work if you add provider="google" to your map components. For standalone apps, exp.json now supports ios.config.googleMapsApiKey to provide your own key.

Furthermore, it recently came to my attention that Apple’s MapKit has a bunch of nasty memory leaks. So I definitely recommend switching over to Google Maps.

3reactions
tjkangcommented, Dec 25, 2016

same thought with @sonaye. i also want exponent to add google maps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-maps: AirGoogleMaps dir must be added to your ...
I'm trying to use google maps on iOS and I get this error: react-native-maps: AirGoogleMaps dir must be added to your xCode project...
Read more >
eact-native-maps: AirGoogleMaps dir must be added to your ...
I have installed react-native-maps on macOS with option3, it build ok but it have a error when running: console.error: "react-native-maps: ...
Read more >
Using Google Maps as Provider in IOS with React Native
Navigate to node_modules/react-native-maps/lib/ios and find the folder AirGoogleMaps . Move the folder under your <ProjectName>. Choose the ...
Read more >
react-native-maps: AirGoogleMaps dir must be added to your ...
I'm trying to use google maps on iOS and I get this error: react-native-maps: AirGoogleMaps dir must be added to your xCode project...
Read more >
Ios – react-native-maps: AirGoogleMaps dir must be added to ...
I'm trying to use google maps on iOS and I get this error: react-native-maps: AirGoogleMaps dir must be added to your xCode project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found