NativeScript / NativeScript/nativescript-cli
refresh application on iOS simulator with notification
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue でリンクされている通知メカニズムの lib/iphone-simulator-xcode-simctl.ts から始め、次に CLI がデバイスに対して RefreshRequest と AppRefreshStarted をどのように処理するかを追跡します。対応するシミュレータ応答ワークフローを実装し、CLI が実行中のアプリケーションと再起動が必要なアプリケーションを区別できることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios, javascript
- 領域
- cli, mobile-dev
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100