BlockchainCommons / BlockchainCommons/bc-libs-java
[SSKR] Not needed Android resources included
還沒有人認領這個 Issue。
- 主要語言
- Java
- 星號
- 4
- 分支
- 4
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Reporting this issue for SSKR lib but I believe this could be happening to the rest of the ecosystem.
There are certain Android resources in the android folder from SSKR lib that get included in the aar generated library and so included in the project that is using the file. These resources (mipmap, values, colors...) are not needed and they add some extra space to the APK. Launcher icon is overriding the one in the app using the library (if using the same name).
Also the manifest is specifying the allowBackup=true, which forces apps using the library to add a replace clause in the manifest.
I'm preparing a PR to fix this. I won't include the rest of the libs as it will require testing, and we don't have in place any project using the rest of the libs just yet.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 SSKR 程式庫的 android 資料夾開始,檢查其資源和 manifest 如何封裝到產生的 AAR 中。驗證不必要的 mipmap、values 和 color 資源不再進入使用該程式庫的應用程式、啟動器圖示不會被覆寫,且 allowBackup 不會強制加入 manifest 取代條款。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, java
- 領域
- mobile
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100