I’m growing a cellular app utilizing React Native with Expo, and I have to combine a map function.
As a result of the app might be utilized in China, I want to make use of Gaode Map (AMap, 高德地图) as an alternative of Google Maps, which isn’t dependable there.
Nonetheless, AMap solely formally gives a Internet API and native SDKs (for Android and iOS), and doesn’t have official assist for React Native.
My scenario:
- I desire a resolution that works on each iOS and Android.
- Ideally, I’d prefer to proceed utilizing React Native (Expo) for cross-platform growth and simpler upkeep.
- I’ve primary expertise with React Native, however little to no expertise with native iOS/Android growth.
What are some reasonable choices for integrating AMap right into a React Native app beneath these circumstances?
I’m open to:
- Utilizing a community-maintained wrapper if it exists.
- Utilizing native modules if needed (although I’d want steerage).
- Utilizing WebView to embed the map through the Internet API(However it has limitations on some options)
What strategy would you suggest for long-term maintainability and compatibility?
Thanks prematurely for any recommendation or pointers!