This is a migrated thread and some comments may be shown as answers.

AppBuilder CLI + NativeScript

1 Answer 59 Views
NativeScript Insiders
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
TJ
Top achievements
Rank 1
TJ asked on 15 Jan 2015, 09:11 PM
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: http://i.imgur.com/m6UPa7k.png. 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.

TJ

1 Answer, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 20 Jan 2015, 03:49 PM
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
Telerik
 

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.

 
Tags
NativeScript Insiders
Asked by
TJ
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Share this question
or