How can I integrate ArcGIS JS API with React native? I am using expo for react-native. I don't want to use runtime SDK but a react-native library or API for the same purpose to build a react native widget and integrate with Mendix native.
My Android.manifest file has the following permissions
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
The error I get is as follows enter image description here
ArcGIS Runtime is Esri's SDK for native apps, whether you are doing native or React Native development. You should use ArcGIS Runtime for optimum performance and flexibility in your native app. ESRI does not provide a reusable map component for React Native, so you have to integrate it yourself. Here is an example / proof of concept showing how: Use ArcGIS Runtime in React Native
If you want to use ArcGIS JS API in a native app, you have to render your map inside a WebView and create your own method of passing events and data between the map and the rest of your application logic. I would not recommend this method unless you have a very simple map and do not plan to have much interaction with it.