NativeScript / NativeScript/nativescript-cli
refresh application on iOS simulator with notification
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 1.1k
- Fork
- 204
- Merge medio
- 1g 9h
- PR unite (30g)
- 8
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia da lib/iphone-simulator-xcode-simctl.ts, nel meccanismo di notifica collegato nell’issue, quindi segui il modo in cui la CLI gestisce RefreshRequest e AppRefreshStarted per i dispositivi. Implementa il workflow corrispondente della risposta del simulatore e verifica che la CLI sappia distinguere un’applicazione in esecuzione da una che deve essere riavviata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ios, javascript
- Ambito
- cli, mobile-dev
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100