Purpose of the IOSDeviceLib's interface

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, javascript
Lĩnh vực
api

Hướng nghiên cứu

Bắt đầu bằng cách so sánh interface JavaScript với cách sử dụng mobile-cli-lib và mã native phân tích uploadArray, downloadArray và postNotificationArray. Làm rõ liệu IOSDeviceLib được thiết kế như một proxy hay một API hướng đến ứng dụng, sau đó xác định các thay đổi interface cần thiết để làm rõ mục đích đó và các đối số được chấp nhận.

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

Mô tả

If we would like to state the following:

  • "The node code is there to be able to act as a proxy between the spawned process and the rest of the code"
    If this is true.. functions like upload,download, postNotifications should not be defined in the javascript code.

  • "The node code should serve as both proxy and api to be used from applications"
    If this is true... named functions are a nice idea.
    What seems wrong is the fact that currently the only ways to find what to pass in the uploadArray, downloadArray or postNotificationArray are to take a look at the mobile-cli-lib or go to the native code to see how we are parsing the array.

It seems the purpose of IOSDeviceLib's interface is not clear enough with the current implementation.
Please correct me if I don't understand correctly.

Ngôn ngữ chính
C++
Star
16
Fork
8
Merge trung bình
19 giờ 29 phút
Pull request đã merge (30 ngày)
2

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.

Issue khác của NativeScript/ios-device-lib

Tất cả issue của NativeScript/ios-device-lib

Issue tương tự

Thêm issue về C++

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.