NativeScript / NativeScript/nativescript-cli

Creation of multiple App Ids for Debug and release in package.json

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

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

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

説明

The article below explains the need to have two seperate android apps for debug and release purposes in order to keep the analytics data clean.

https://firebase.googleblog.com/2016/08/organizing-your-firebase-enabled-android-app-builds.html?m=1

defaultConfig { applicationId "com.company.project" // etc... } buildTypes { debug { applicationIdSuffix ".debug" } release { // etc... } }

From Nativescript 5.0.0+, the app ids mention have to be done in package.json as explained in the following link:
https://docs.nativescript.org/tooling/changing-appid

"nativescript": { "id": "org.nativescript.myappid" }

However the documentation only mentions regarding a single ID for the project.
Is there any way to work with multiple IDs for android itself (debug and release IDs)?

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

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

はじめの一歩

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

調査の方向性

package.json の nativescript.id 設定とリンクされている changing-appid ドキュメントから始め、CLI がその値を Android の debug ビルドと release ビルドにどのように適用するかを追跡します。これらのビルドタイプに個別の ID を設定できるかどうかを確認し、その結果の構成を文書化またはサポートできれば完了です。

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

評価

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

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

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