REPRODUCIBILITY: always
BUILD ID = OS VERSION: 4.1.0.23
HARDWARE: XA2 Ultra
UI LANGUAGE: Finnish (Suomi)
REGRESSION: Yes
DESCRIPTION:
WhatsApp can restore the latest backup on first startup after app install. WhatsApp doesn’t ask for permissions before trying to read the backup file, which leads to failed backup restore.
PRECONDITIONS:
- Have WhatsApp uninstalled
- Have a WhatsApp backup database in correct location
STEPS TO REPRODUCE:
- Install WhatsApp
- Start the app
- Register the phone number
- Start restoring the backup
EXPECTED RESULT:
- The backup is detected
- The backup file info is shown correctly
- The backup is restored succesfully
ACTUAL RESULT:
- The backup is falsely detected
- The file date is 1.1.1970, size 0kb
- Restoring the backup fails
ADDITIONAL INFORMATION:
WhatsApp doesn’t ask - for whatever reason - the necessary permissions before actually trying to use them. Using these steps it works, however:
- Install WhatsApp
- Go to Settings > Apps > WhatsApp > Android Settings
- Give the app (at least) storage permission (preferably others, too)
- Start WhatsApp
- Restoring backup works now