Greenstand / Greenstand/treetracker-android
Migrate app to SDK 35 and fix language switch restart
- Dominant language
- Kotlin
- Stars
- 101
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
Related PRs: #1192 #1205
**Summary**
Migrate the app's targetSdk from 33 to 35, applying all required behavioural changes, dependency upgrades, and fixing the language switch restart that was broken as a side effect.
**Motivation**
Targeting SDK 35 is required for Play Store compliance. The migration introduced breaking API changes across Firebase, Accompanist, CameraX, and locale handling that needed to be addressed.
**Acceptance criteria**
- [ ] Update targetSdk to 35 and upgrade all affected dependencies
- [ ] Fix foreground service type declaration for SDK 34+
- [ ] Migrate locale handling to `AppCompatDelegate.setApplicationLocales()`
- [ ] Add edge-to-edge support and required inset handling
- [ ] Fix language switch — app should restart with the new locale on confirmation
- [ ] All unit tests pass after migration
**References**
Closes #1192, #1205
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.