calling require() on files local to the developer host, rather than the mobile sim/emulator it self is only supported on iOS, since only the iOS simulator has a writable resources directory. Work on a method to be able to load commonjs modules from the local host that works for all platforms (sockets + dynamically creating a module in the app).
calling
require()
on files local to the developer host, rather than the mobile sim/emulator it self is only supported on iOS, since only the iOS simulator has a writable resources directory. Work on a method to be able to load commonjs modules from the local host that works for all platforms (sockets + dynamically creating a module in the app).