NativeScript / NativeScript/nativescript-cli
Automate changing app "id"
未關閉
還沒有人認領這個 Issue。
os: android
to-be-checked
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Changing the "app id" means changing in three places (Took me a while to figure out as a newbie as app was not installing/running):
- package.json -
"nativescript": { "id": "com.example.newapp" ... - app/App_Resources/Android/app.gradle -
... applicationId = "com.example.newapp" ... - app/App_Resources/Android/settings.json -
{"appId":"com.example.newapp"...
Could the change in "package.json" become part of the build ?
ie overriding/replacing the "ids" in app.gradle and settings.json ?
Which platform(s) does your issue occur on?
Android
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
閱讀 package.json 以及 app/App_Resources/Android/app.gradle 和 app/App_Resources/Android/settings.json,接著追蹤使用這些檔案的 Android 建置進入點。驗證如何讓 package.json 中的 app id 提供兩個 Android 值,同時不破壞現有專案。完成標準是:變更一個 id 後會產生相符的 Android 設定,且應用程式能夠安裝並執行。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, javascript
- 領域
- build-system, cli, mobile
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100