NativeScript / NativeScript/nativescript-cli
Nativescript (Android production build) keystore params not validated
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Environment
- CLI: 6.5.0
Android Build
Describe the bug
tns build command doesnt do a single verification of the keystore we providing (production build).
In our sample the file doesnt even exist were prodiving.
Expected behavior
TNS build should not start the build before checking that everything is fine. Even better it should tell whats exactly the error (file missing, keystore invalid, alias not found, password not correct,...). Instead of letting gradlew fail..
To Reproduce
tns build android --release --key-store-path android.keystore --key-store-password xxx --key-store-alias zzz--key-store-alias-password yyy --env.aot --env.uglify --env.report --env.hiddenSourceMap
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 tns build android --release 呼叫的 Android 發佈路徑開始,並重現 issue 中顯示的命令。完成標準是:無效的 keystore 路徑或認證資料會在 Gradle 啟動前被拒絕,並顯示能識別具體驗證失敗的錯誤。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, javascript
- 領域
- build-system, cli, mobile
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100