I am running a node.js server on device called Nodejs-mobile. When that is spun up it runs a JavaScript file that is also located in the app's bundle. I can interact with the JS through any number of means such as a WKWebView or a URLSession. In either case I have, at the iOS app level, the path to an on-device resource that I provide to JS. The desire here is for the local JS to then use that path to access the file. I am flexible to use differing mechanisms here if it enables JS to directly read a file. The JS uses fs.opensync in it's current attempt.
Thanks.
Topic:
App & System Services
SubTopic:
Core OS
Tags: