リリース版のWorkManager初期化クラッシュを修正 - #112
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 4 |
| Duplication | 4 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |



概要
リリース版起動時に
androidx.startup.InitializationProvider経由の WorkManager 初期化でWorkDatabase作成に失敗してクラッシュする問題を修正します。原因
glance-appwidget:1.1.1が古いandroidx.work:work-runtime:2.7.1とroom-runtime:2.2.5を推移依存で引き込んでいました。変更内容
2.11.2を version catalog に追加androidx.work:work-runtime-ktxを明示依存に追加検証
git diff --check./gradlew :app:dependencyInsight --configuration releaseRuntimeClasspath --dependency androidx.work:work-runtime./gradlew :app:dependencyInsight --configuration releaseRuntimeClasspath --dependency androidx.room:room-runtime./gradlew :app:assembleRelease