Description
I build a NativeScript App with Angular, use AppSync to upgrade it, it works well.
But I have to say it is not good to ask user to restart the App every upgrade, so I try to find a way to update the bundle without restart App.
I try to show a custom page before NS initialization, it doesn't work (error: Main entry is missing).
I try to embed NS, found it is too hard, especially after I install some NS plugins.
Finally I made it by checking new version before NS initialization, downloading limited required files if has new version (few core js files), then initialize NS, after that I can download the rest required files in Angular and show upgrade process to users.
My suggestion :
1.make NS support re-initialization, or
2.allow create native page (or custom main entry?) before NS initialization, then pass to NS, even it has limitation. That will also make NS launch 'faster'. :-)