refresh application on iOS simulator with notification

オープン
#4,991 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ios, javascript
領域
cli, mobile-dev

調査の方向性

issue でリンクされている通知メカニズムの lib/iphone-simulator-xcode-simctl.ts から始め、次に CLI がデバイスに対して RefreshRequest と AppRefreshStarted をどのように処理するかを追跡します。対応するシミュレータ応答ワークフローを実装し、CLI が実行中のアプリケーションと再起動が必要なアプリケーションを区別できることを確認します。

索引モデルが issue の本文から書いたものです。

説明

feature os: ios

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.

主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
8

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NativeScript/nativescript-cli のほかの issue

NativeScript/nativescript-cli の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。