-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Support LiveSync to iOS Wi-Fi devices #4966
Comments
5 tasks
Fatme
added a commit
to NativeScript/ios-jsc
that referenced
this issue
Aug 27, 2019
…efresh request Currently CLI performs an additional application start when sending refresh notification to the application. The purpose of this additional application start is to ensure that the application will be started when sending the notification no matter if it is currently crashed. However, this additional operation slows down the entire livesync process with around 2-3 seconds per change. The purpose of this PR is to eliminate the delay as posting `AppRefreshStarted` notification from application. CLI starts an observer notification in order to check if the `AppRefreshStarted` will be sent from the application. In case it is sent, CLI refreshes the application via `RefreshRequest` notification. In case a such notification is not sent, CLI restarts the application in 3 seconds (this is the timeout for awaiting the notification from application). Rel to NativeScript/nativescript-cli#4966
This was referenced Aug 27, 2019
Fatme
added a commit
that referenced
this issue
Sep 2, 2019
Currently there is an issue when livesyncing the application when it is stopped on breakpoint. The problem is that the application is always restarted - most probably due to issue with "RefreshRequest" notification. However, this notification was added as we needed to support syncing on wifi devices. As debug command doesn't work with wifi devices, we'll force refresh with socket on debug command. Rel to: #4966
Fatme
added a commit
that referenced
this issue
Sep 2, 2019
Currently there is an issue when livesyncing the application when it is stopped on breakpoint. The problem is that the application is always restarted - most probably due to issue with "RefreshRequest" notification. However, this notification was added as we needed to support syncing on wifi devices. As debug command doesn't work with wifi devices, we'll force refresh with socket on debug command. Rel to: #4966
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Take a look at the related issue.
Additional context
The Debugging will be handled in another feature as connecting to the Debug Socket of Wi-Fi connected device is not so easy (we are currently using USBMuxConnectByPort which requires USB connections).
Acceptance Criteria
tns devices
.Connection Type: Wifi
in the devices list.Connection Type: USB, Wifi
in the devices list.Connection Type: Local
in the devices list.tns debug ios
should show a meaningful error message when the device is connected only through Wi-Fi.tns run ios
and the Hot Updates should be working properly even when the device is connected only through Wi-Fi. It should also work as expected when we restart the device and re-run the command without USB cable.tns test
should also work as expected with Wi-Fi only devices.NativeScript Debugger Attached
log should not be printed duringtns run
and Hot Updates anymore.USB
andWi-Fi
connections are lost.Related to: #4252
The text was updated successfully, but these errors were encountered: