Currently, the app requires Android 14+ to monitor and detect screenshots. Expanding compatibility down to at least Android 10 (API 29) or Android 12 (API 31) would significantly broaden the app's user base, as many active devices still run these versions.
Proposed Solution / Changes:
- Update build.gradle Configuration:
Lower the minSdkVersion in the app-level build.gradle file:
android {
defaultConfig {
// Change from current target down to 29 (Android 10) or 31 (Android 12)
minSdkVersion 29
}
}
- Handle MediaStore & ContentObserver Backward Compatibility:
- Android 14 introduced specific enhancements for detecting screenshots, but for Android 10–13, the app can fall back on a broader ContentObserver tracking the MediaStore.Images.Media.EXTERNAL_CONTENT_URI.
- Implement a check to parse the file path or display name containing the word "Screenshot" for older API levels where explicit screenshot detection flags are unavailable.
- Manage Runtime Permissions:
- Ensure storage access works seamlessly across different versions (e.g., handling scoped storage variations introduced in Android 10/11 vs the granular media permissions in Android 13+).
Additional Context:
Many users who rely on open-source digital decluttering utilities run custom ROMs or older hardware still stuck on Android 10, 11, or 12. Providing a backward-compatible fallback for the screenshot detection mechanism would make this excellent utility accessible to a much larger community.
Currently, the app requires Android 14+ to monitor and detect screenshots. Expanding compatibility down to at least Android 10 (API 29) or Android 12 (API 31) would significantly broaden the app's user base, as many active devices still run these versions.
Proposed Solution / Changes:
Lower the minSdkVersion in the app-level build.gradle file:
android { defaultConfig { // Change from current target down to 29 (Android 10) or 31 (Android 12) minSdkVersion 29 } }Additional Context:
Many users who rely on open-source digital decluttering utilities run custom ROMs or older hardware still stuck on Android 10, 11, or 12. Providing a backward-compatible fallback for the screenshot detection mechanism would make this excellent utility accessible to a much larger community.