Open
Description
Is your feature request related to a problem? Please describe.
Currently CLI refreshes the application on iOS device as sending a RefreshRequest
notification.
If the application is running on device, it posts back a AppRefreshStarted
notification. This way CLI knows that the application can be refreshed and doesn't restart it.
If the application is not running on device, CLI doesn't receive AppRefreshStarted
notification. CLI waits for this notification 5 seconds and if no response is received, it restarts the application.
The same workflow should be implemented for iOS
simulator as well.
Currently we have a mechanism to post a notification to iOS simulator. The problem is that no response is posted back to the CLI.