NativeScript / NativeScript/nativescript-cli

refresh application on iOS simulator with notification

Đang mở
#4,991 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

feature os: ios
Ngôn ngữ chính
JavaScript
Star
1.1k
Fork
204
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
8

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với lib/iphone-simulator-xcode-simctl.ts tại cơ chế thông báo được liên kết trong issue, sau đó theo dõi cách CLI xử lý RefreshRequest và AppRefreshStarted cho các thiết bị. Triển khai workflow phản hồi tương ứng của simulator và xác minh rằng CLI có thể phân biệt một ứng dụng đang chạy với một ứng dụng cần được khởi động lại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
ios, javascript
Lĩnh vực
cli, mobile-dev
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.