hi
>If I build a native app using remote JavaScript is that script compiled inside the native app or does it read it Each time the loads?
The resource is not downloaded a build time. Thus your app will attempt to load that resource remotely. The downside of dynamically loading a library include:
1) must be on the network for the app to fully startup
– maybe you can use appcache to store it on first startup at which time. But thereafter your app will not identify remote js lib updates unless you touch/refresh the app’s cache.manifest file.
2) apple may reject your app (if they can identify a network loading of js library). The issue is that an app must not dynamically modify its behavior. If you can dynamically load a js lib then you can work around the static app requirement. Let’s say you do get your app approved apple can revert that decision if they find out and ban your app from the app store.
3) could negatively impact the startup time of your app…