facebook

Compiled remote resources: CLOSED

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #335439 Reply

    Brandon
    Member

    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?

    So if I use the Google JavaScript located on their servers and they change that Could it break my application

    #335568

    support-michael
    Keymaster

    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…

    #335589

    Brandon
    Member

    Ok. Thanks. For now I will probably stick to web apps. I have completed about 6 and they work great using some of the latest features.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Compiled remote resources: CLOSED

You must be logged in to post in the forum log in