johanw666 / Signal-Android

Fork from a private messenger for Android with extra options added: full backup and (partial, ony text) xml backup of messages. Restore can happen at any time, not only after a fresh install. Import SMS database. Import of (unencrypted) WhatsApp databases. Removed apk expire. Choose between passphrase protection and the Android screenlock. Choice for the backup location (internal or removable storage on Android < 11 (on 11 and higher this is already possible)). Set the maptype in the place picker. Option to treat view-once media as normal media. Option to ignore remote deletion. Choose between FCM or websocket notification delivery.
https://johanw.home.xs4all.nl/Signal/signal-jw.html
GNU Affero General Public License v3.0
250 stars 16 forks source link

Doesn't work on A11 #23

Closed nikhilbadyal closed 3 years ago

nikhilbadyal commented 3 years ago

Bug description

App doesn't work on Android 11 in sense that If i grant storage permission then backup option doesn't work and if revoke that storage permission then I can't share media.

I know this is strange. I can record and share the video if you ask. But backup option and storage access can't co exist.

And strangely signal can write the storage without write storage access. \0/

I have tested , things are OK in offical app

Steps to reproduce

Or

Actual result: We can either enable backup or give storage access to share media (photos/files)

Expected result:

Screenshots

Revoked storage access permission

Revoked storage access

Backup working fine

Strange that with revoked storage permission. Signal can write the storage. \0/

Signal ask for storage access

Singal asks for permission to access

And now if i grant that

Granted access

Media access working fine

Access granted so it works fine

Backup doesn't work anymore

Backup doesn't work anymore

Device info

Device: Redmi note 7 pro. Android version: 11 Signal version: 5.4.6 jw

Debug log

With storage access granted

https://debuglogs.org/5c29492479e307d735af8d9c0d9e1e81f6007ccfb25c57a71b4d63f4acdd6d60

With Revoked access

https://debuglogs.org/8136dd917bf032bc48a99b0ed2a091340f6789927a464a956bd14597e6aae872

sabogalc commented 3 years ago

I'm also having problems on Android 11

ehsan18t commented 3 years ago

I have faced the same issue yesterday. I fixed it by giving it full file access. Initially the permission this app gets is *only media. All you have to do to fix this issue is, give the app all files access. Check the screenshot below,

Screenshot_20210503-134005781