I work for a company that developed an Android app, but since then the guys that wrote it have left. I am a beginner when it comes to Android development.
We have a situation where our customer has used the app and has data, but something has happened and the data can't be uploaded from the app (which it normally should do). The customer says the data is expensive and critical. We believe a database table has been corrupted.
I attempted to give them a build of the app which would download the file with the data, but when the link is tapped it gives the error "net::ERR_ACCESS_DENIED" because the file is in the app's protected storage (file:///data/user/0/com.mycompany.myapp/files/projects/projectname/data.sqlite).
I really am shooting in the dark as to what could be done to retrieve the file. Any suggestions?
Our app has allowBackup=true
and targetSdkVersion=31
in it's AndroidManifest.xml and the app is running on Android 12.