Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

React Native Static Server iOS

$
0
0

I am using native-static-server for my project.

https://github.com/futurepress/react-native-static-server

I have set up the WWW folder as explained in the Read me doc. The issue I am having is that some of my resources are downloading at run time, which needs to be saved under the WWW folder to be accessed via the server. I can download the images just fine but when I try to save the images in the WWW folder I get a permission error. The error only happens on real devices and I cannot replicate it on Simulator.

Not sure where else I can save the or if I can add the server path to another location? I understand the error is due to not being able to add files to Bundle path at run time. Any help would be greatly appreciated. Thanks in advance


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>