NativeScript / NativeScript/nativescript-cli

Build android release apk without signing

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

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

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

説明

From @ZuSe on March 12, 2018 13:18

We are using Jenkins for building, signing and uploading our native android apps.
As the keyStore containing our signing key is saved within the jenkins credentials manager I would also like to use the same process for our NativeScript-App.
Unfortunately I am not able to build an unsigned release APK (as you can do for example in Android Studio) using the tns command.

tns build android --release requires the specification of the keystore (which might not be installed on the building machine)
I would therefore suggest to let it build an unsigned-release.apk file similar to Android Studio / gradle assembleXXXRelease command which can then be signed by whatever key signer is preferred.
In case the key-path parameter is specified it should use the existing process but not require it per se.

Best
Patrick

Copied from original issue: NativeScript/NativeScript#5526

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

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

はじめの一歩

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

調査の方向性

まず、tns build android --release のエントリーポイントと、その key-path の処理を追跡します。要求された動作を Android Studio/gradle assembleXXXRelease と比較し、そのうえで、既存の key-path フローが引き続き機能する状態で、keystore なしで release APK を生成できることを確認します。

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

評価

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

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

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