"upload" method is incorrectly described in the documentation
還沒有人認領這個 Issue。
評估
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 新手友好度
- 55/100
- Issue 類型
- 文件
- 描述清晰度
- 描述清楚
- 活躍度
- 停滯
- 技術堆疊
- cpp
研究方向
比較文件中記載的上傳介面與原始碼預期的請求結構。更新文件範例,讓上傳使用包含 source 和 destination 項目的 files 陣列,然後確認範例與實作一致。
由索引模型根據 Issue 內容生成。
描述
The documentation for "upload" method states next required interface:
{
"methods": [
{
"id": "5",
"name": "upload",
"args": [
{
"appId": "com.sample.MyApp",
"deviceId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"source": "D:\\Project\\app.js",
"destination": "Library\\Application Support\\LiveSync\\app\\app.js"
}
]
}
]
}
but the source code, actually, expects next one:
{
"methods": [
{
"id": "5",
"name": "upload",
"args": [
{
"appId": "com.sample.MyApp",
"deviceId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"files": [
{
"source": "D:\\Project\\app.js",
"destination": "Library\\Application Support\\LiveSync\\app\\app.js"
},
...
]
}
]
}
]
}
the discrepancy in the documentation made me spend time to figure out why the upload method does not work
- 主要語言
- C++
- 星號
- 16
- 分支
- 8
- 平均合併
- 19 小時 29 分鐘
- 30 天內合併 PR
- 2
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NativeScript/ios-device-lib 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 35/100
-
Sometimes this is showing only 1 device while idevice_id from libimbile shows all connected devices未關閉
難度 4/5 3-5 天 新手友好度 30/100
-
難度 4/5 3-5 天 新手友好度 25/100
NativeScript/ios-device-lib#73 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 20/100
-
難度 5/5 一週以上 新手友好度 20/100
NativeScript/ios-device-lib#66 · 2 個 reaction ·
查看 NativeScript/ios-device-lib 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 84/100
NVIDIA/DeepStream#78 ·
-
難度 2/5 1-3 小時 新手友好度 74/100
LaneDibello/Kotor-Patch-Manager#328 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100