Backup BKP file not working on new phone
Moving from a Pixel 8 Pro to S26 Ultra. Made a backup and moved the file to the new phone but the app will not see the backup when I click restore.
If I create a new backup in the same location from the new phone, that is visible to restore. I can see both backups with file manager, but the app only see the ones created on new phone.
I'm having the same issue. The AI, analysing the code, suggests that it may be caused by a "scoped storage problem on Android 10+ (API 29+)". The suggested solution would be:
Use the Storage Access Framework (SAF) to let users pick the backup file directly, bypassing the scoped storage restrictions.
In case a rescan fixed the issue, I tried to trigger Media Scan via ADB, using the command:
adb shell am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file:///storage/emulated/0/Download/WeightLogger/20260331_1011.bkp
The output was:
Broadcasting: Intent { act=android.intent.action.MEDIA_SCANNER_SCAN_FILE dat=file:///... flg=0x400000 }
Broadcast completed: result=0
Unfortunatelly, the issue was not fixed.
Can anybody provide an alternative approach that allows to enable visibility from the WeightLogger app to *.bkp files that have been created from other mobile?