Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

simplify the embedding NativeScript ways #8067

Copy link
Copy link
Open
@chadzhao

Description

@chadzhao
Issue body actions

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'. :-)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.