Permit Whatsapp to access all files (not only media)

  • Thread starter Thread starter Swamp Thing
  • Start date Start date
  • Tags Tags
    files
Click For Summary

Discussion Overview

The discussion revolves around the permissions settings for WhatsApp on Android devices, specifically the desire to allow the app access to all files rather than just media files. Participants explore the implications of these permissions on local backup functionality and the technical aspects of app permissions in Android.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses a need for WhatsApp to access all files to create local backup files, contrasting it with other apps that have broader permission options.
  • Another participant explains that WhatsApp developers have not included the permission for full storage access in the app's Manifest.xml file, adhering to best practices that favor granular media permissions.
  • A participant mentions that WhatsApp can still perform local backups without full access, questioning whether a SecurityException is occurring on the user's device.
  • One user reports that their backup process fails silently without any error messages, suggesting that permission issues might be a factor.
  • Another participant argues that if granular permissions are granted, the inability to create a local backup is likely unrelated to permissions, indicating that the app can still read/write files.

Areas of Agreement / Disagreement

Participants do not reach a consensus on whether the inability to create local backups is due to permission issues or other factors, indicating multiple competing views on the matter.

Contextual Notes

The discussion highlights limitations in the permissions model for Android apps and the specific choices made by WhatsApp developers regarding storage access. There are unresolved questions about the exact cause of the backup failure.

Swamp Thing
Insights Author
Messages
1,047
Reaction score
786
When I look at the permissions settings for Whatsapp on my Android phone, I see these options:

* Allow access to media only
* Deny

Now, I want to allow access to all files, not just media, because without that WhatsApp is not able to create local backup files. I do see that some apps like Adobe Acrobat have the following permission options:

* Allow management of all files
* Deny.

How can I allow WhatsApp to do "management of all files"?
 
Computer science news on Phys.org
In the Manifest.xml file, developers are able to list the permissions their apps require. Some permissions are automatically granted by the system and it's not visible to you, like permission to vibrate the phone and permission to use the network. Sensitive permissions are required to be requested at runtime.

WhatsApp developers have not listed the permission to access full storage. This is done keeping in mind the current best practices, which advises not to use the READ_EXTERNAL_STORAGE permission unless necessary, but to use the granular media permissions instead. You cannot change this, unless you reverse engineer the app.

But WhatsApp can backup to local storage properly even without the full access permission. I can see on my device that the local backup is saved properly. Is WhatsApp on your device throwing a SecurityException when trying to backup to local storage?
 
  • Like
Likes   Reactions: Swamp Thing
It doesn't show any error, but silently fails to create any backup file. A google search turned up some suggestions that this could be due to permission issues.

I could finally do the backup/restore via Google Drive, so I'm good now. (I wanted to have a local backup just in case drive didn't work... that's just how I am :smile: )
 
Swamp Thing said:
A google search turned up some suggestions that this could be due to permission issues.
If you have already allowed all the granular file and media permissions, then that issue is not related to permissions. If WhatsApp can download and upload any files from your device, the app already has the permission to read/write files. Not being able to create a local backup is definitely a different issue. You cannot give a permission to an app which it hasn't asked for.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 16 ·
Replies
16
Views
8K
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 22 ·
Replies
22
Views
5K
  • · Replies 23 ·
Replies
23
Views
3K