Skip to content

fix: fix native change during livesync #4766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 26, 2019
Merged

fix: fix native change during livesync #4766

merged 3 commits into from
Jun 26, 2019

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Jun 25, 2019

Currently when a native file is changed during livesync on android, NativeScript CLI doesn't show the "Successfully synced application" message. This is due to the reason that NativeScript CLI tries to transfer native file on device (for example AndroidManifest.xml). After timeout of 30seconds, the socket on android device throws "Socket connection timeout" error but CLI doesn't show it as the parsing of received errors is not correct. This PR fixes the followings:

  • the behavior when native file is changed during liveSync
  • the parsing of errors during livesync
  • stops livesync process when an error occurs during livesync

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

Currently when a native file is changed during livesync on android, NativeScript CLI doesn't show the "Successfully synced application" message. This is due to the reason that NativeScript CLI tries to transfer native file on device (for example AndroidManifest.xml). After timeout of 30seconds, the socket on android device throws "Socket connection timeout" error but CLI doesn't show it as the parsing of received errors is not correct. This PR fixes the followings:
* the behavior when native file is changed during liveSync
* the parsing of errors during livesync
* stops livesync process when an error occurs during livesync
@cla-bot cla-bot bot added the cla: yes label Jun 25, 2019
@rosen-vladimirov
Copy link
Contributor

test cli-smoke cli-vue cli-templates

Fatme added 2 commits June 26, 2019 12:26
We need to execute full sync after install on iOS device in order to create LiveSync folder on device.
@Fatme Fatme force-pushed the fatme/fix-native-sync branch from dc6759f to 7441082 Compare June 26, 2019 13:05
@rosen-vladimirov
Copy link
Contributor

test cli-smoke

@Fatme Fatme merged commit ed42427 into master Jun 26, 2019
@Fatme Fatme deleted the fatme/fix-native-sync branch June 26, 2019 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants