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