# Can CesiumJS and React-native work together on IOS?

**URL:** <https://community.cesium.com/t/can-cesiumjs-and-react-native-work-together-on-ios/19971>\
**Category:** CesiumJS\
**Created:** [August 16, 2022, 1:56am UTC](https://community.cesium.com/t/can-cesiumjs-and-react-native-work-together-on-ios/19971 "2022-08-16T01:56:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![T\_Zachary](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/t_zachary/32/10473_2.png) [@T\_Zachary](https://community.cesium.com/u/T_Zachary)\
**Post date:** [August 16, 2022, 1:56am UTC](https://community.cesium.com/t/can-cesiumjs-and-react-native-work-together-on-ios/19971/1 "2022-08-16T01:56:54Z")

</div>

I wanna make a Map App for IOS.  
I’ve been thinking about the technology stack for a few days and finish some sample code by react-native & cesiumJS. And I asle try the Combination of ionic-react & cesiumJS. But the result is not good.  
cesiumJS can not work when I run my code on IOS.  
**⚡ [error] - {“name”:“DeveloperError”,“message”:"Unable to determine Cesium base URL automatically, try defining a global variable called CESIUM\_BASE\_UR**  
I can fix this error in webpack, but it can not work on IOS even if it can work well in the browser.

Dose CesiumJS only work in the browser?

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [August 18, 2022, 6:50pm UTC](https://community.cesium.com/t/can-cesiumjs-and-react-native-work-together-on-ios/19971/2 "2022-08-18T18:50:50Z")

</div>

Hi Zachary,

I think some previous apps have had success using CesiumJS in an embedded [webview](https://github.com/react-native-webview/react-native-webview) within React Native.

Thanks!  
Gabby
