Skip to content
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

Livesync starts the app twice on iOS devices #1956

Closed
pkoleva opened this issue Jul 27, 2016 · 5 comments
Closed

Livesync starts the app twice on iOS devices #1956

pkoleva opened this issue Jul 27, 2016 · 5 comments
Assignees
Milestone

Comments

@pkoleva
Copy link
Contributor

pkoleva commented Jul 27, 2016

  1. Create an app and add ios platform and navigate to the app's folder
  2. Deploy the app on the device and make sure it is not opened
  3. Run tns livesync

Expected result: App is started and synced with current state
Actual result: Splash screen is opened, closed and opened once again

@pkoleva pkoleva added the bug label Jul 27, 2016
@tzraikov tzraikov self-assigned this Jul 27, 2016
@dtopuzov
Copy link
Contributor

Works for me with {N} 2.1.1

@tzraikov tzraikov assigned tzraikov and unassigned tzraikov Oct 10, 2016
@tzraikov tzraikov added this to the 2.4.0 milestone Oct 12, 2016
@tzraikov tzraikov removed this from the 2.4.0 milestone Nov 2, 2016
@tzraikov tzraikov removed their assignment Nov 3, 2016
@slavchev
Copy link

ping @pkoleva @dtopuzov

Can we close this issue?

@tsonevn tsonevn added this to the 2.5.0 milestone Dec 5, 2016
@pkoleva
Copy link
Contributor Author

pkoleva commented Jan 3, 2017

Hey guys, would you please stop moving this issue as Ready for Test and have a look at it. It is still reproduced in 2.5 master. The issue reproduces when the app is already installed on the device.

@pkoleva pkoleva removed this from the 2.5.0 milestone Jan 3, 2017
@valentinstoychev valentinstoychev added this to the 2.6.0 (TBD) milestone Jan 5, 2017
@pkoleva pkoleva modified the milestone: 2.6.0 (TBD) Jan 26, 2017
@Plamen5kov Plamen5kov self-assigned this Feb 1, 2017
@Plamen5kov
Copy link
Contributor

Plamen5kov commented Feb 9, 2017

fixed by: #2484

Edit: Problem is when we stop the application, we do kill gdb, server which starts the application for a second, before killing it. This line starts the application if it's not started already, before excuting the kill command.

@Plamen5kov Plamen5kov modified the milestones: 3.0.0, 2.5.1 Feb 9, 2017
@pkoleva pkoleva added this to the 3.0.0-RC milestone Feb 24, 2017
@Plamen5kov Plamen5kov removed their assignment Mar 1, 2017
@rosen-vladimirov
Copy link
Contributor

As @Plamen5kov described - the problem is with the GDB server on device - if the application is not runnning, calling stopApplication starts it and stops it after that. That causes the blink effect (double restart). As we cannot detect if application is currently running (and skip stopApplication in case it is not), we always call stopApplication. So I'm closing this issue as we cannot fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants