NativeScript / NativeScript/nativescript-cli
Creation of multiple App Ids for Debug and release in package.json
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 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)?
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 package.json 中的 nativescript.id 設定和連結的 changing-appid 文件開始,然後追蹤 CLI 如何將該值套用至 Android debug 和 release 建置。完成的標準是確定是否可以為這些建置類型設定不同的 ID,並記錄或支援由此產生的設定。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, javascript
- 領域
- cli, mobile
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100