A company uses a custom Android app that stores data locally. After a recent OS update, the app fails to write data to the internal storage, but it can read existing data. The app has all necessary permissions. What is the most likely cause?
Scoped storage limits direct file access; apps targeting older Android versions may not be able to write without using new APIs.
Why this answer
This question tests advanced knowledge of Android storage changes. Starting with Android 11, scoped storage restrictions limit how apps access shared storage. Even with permissions, apps may need to use specific APIs (like MediaStore or SAF) to write files.
The app likely needs an update to comply with the new storage model.