AppBuilder CLI + NativeScript

Thread is closed for posting
2 posts, 0 answers
  1. TJ
    TJ avatar
    58 posts
    Member since:
    Aug 2013

    Posted 15 Jan 2015 Link to this post

    Hey all,

    Since the 1.4.2 NativeScript app landed in iOS I decided to do some playing with the NativeScript projects from the AppBuilder CLI. First of all creating projects and building projects works great. I deployed some Android and iOS apps to my devices and had no issues.

    Dealing with the NativeScript companion apps didn't really work though. On iOS, `appbuilder livesync ios --companion` says that it works, but it doesn't actually update the code running in the companion app at all. On Android `appbuilder livesync android` causes the NativeScript app to crash with the following error: BUT, after the crash if you reopen the NativeScript app it shows the updated code. So the app crashes but the sync itself works.

    I'm not sure if those commands are supposed to be working yet, but they don't throw any errors (unlike `appbuilder livesync ios` and `appbuilder livesync android`, which both do), so I thought I'd let you know.


  2. Erjan Gavalji
    Erjan Gavalji avatar
    1455 posts

    Posted 20 Jan 2015 Link to this post

    Hi TJ,

    Indeed, we are still facing problems when live-syncing with the NativeScript companion apps. Though we have the Hybrid companion app working properly, there are some specifics with natively built applications we are still trying to figure out how to handle the proper way.

    By the way, did you try restarting the companion app? Sometimes it does sync the code, but it fails restarting after that (which is needed for native binaries to get reloaded).

    Kind regards,
    Erjan Gavalji

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top