GrapheneLover

From the google play store this is the version i have

version 2.23.14.79

com.whatsapp
versionCode 231479007

targetSdk 33
minSdk 21

Installed: Jul 27, 2023; 6:22 PM

[deleted] Whatsapp works with native code debugging disabled and also with exploit protection compatibility mode disabled.

    • [deleted]

    • Edited

    Implode8401 You can find the option to enable Native code debugging in the Settings app -> Security

      [deleted]

      It was on, I tried turning it off, and whatsapp is still crashing, I have google services installed, but other then that I don't think there's anything none standard about my install

        Implode8401 Have you by chance accidentally installed the beta? If you can’t find a solution you could backup the data. Delete and reinstall the app and restore backup.

          One other thing is that I don't seem to be able to backup my chats to google drive, it just takes me to a login screen, then if I try to log into my account it says I'm already logged in, which I am, but it doesn't let me select the account

            Implode8401 To setup and restore WhatsApp backups with Google Drive, you need to:

            • Enable full contacts permission for both the WhatsApp and Google Play Services apps (Contact Scopes do not suffice, at the time of writing)
            • Enable Storage Scopes for the WhatsApp app (Storage scopes are sufficient instead of full media permission)

            For more info about this, see: https://github.com/GrapheneOS/os-issue-tracker/issues/1122#issuecomment-1561085531

            Once you've done that, you will be able to select your Google account to backup and restore your WhatsApp database.

            If you don't want to do this, there is also the alternative method of doing manual backups of the Android/media/com.whatsapp folder.

              treequell

              Oh great thanks! I also found the workaround of used a different account you haven't logged into yet, then if you log in via the WhatsApp backup you can back up right from there

                Implode8401 Yes, you can do that to setup a backup on Google Drive. But you won't be able to restore from the backup on Google Drive, unless you give the permissions I outlined above.

                treequell changed the title to Whatsapp crashing and backups to Google Drive .

                treequell Enable full contacts permission for both the WhatsApp and Google Play Services apps (Contact Scopes do not suffice, at the time of writing)

                Weird… I thought that from the point of view of apps, contacts scopes looked like having full contact permissions but the user has 0 contacts.

                Does this mean that apps may be able to detect that contact scopes is in use and potentially prevent users from using the app unless they give real contact permission?

                  Titan_M2 I'm not sure, but allow me to provide some more information which might give some clues.

                  I am not sure if you have WhatsApp installed: if you do it's a little easier to follow this.

                  Open the App info for WhatsApp > Permissions > 3 dots > All permissions. Under Contacts, you will notice the permission "find accounts on the device".

                  Therefore it seems the contacts permission on Android includes more than just your address book, which may explain why Contact Scopes are not sufficient.

                  It seems that this permission only gets properly granted, and allows Google Play Services to check the Google account on your device, if and only if both WhatsApp and Google Play Services have the contacts permission.

                  This set-up seems to be specific to the way that WhatsApp requests the accounts on the device, because I have used other apps which backup to Google Drive via a Google account on my device, and have not needed the full contacts permission, and nor has Google Play Services. Cryptomator is one such app that comes to mind.