Open mariia-skrypnyk opened 7 months ago
Assigning this one to myself since I have very recent experience in the permissions domain
Notable changes in the way Android OS has evolved since Android 13 -> https://source.android.com/docs/core/display/notification-perm#behavior-optin
https://github.com/status-im/status-mobile/pull/18884 should fix case 1 in the excel sheet. Will take care of case 2 soon.
Freeing this one up so that others can pick this up
Bug Report
Problem
This issue describes the behavior of the app when enabling push notifications both within the app (on onboarding and in profile) and in the device settings: it was discovered that notifications permissions behave differently on different devices, and in some cases, this leads to issues in the work of push notifications themselves.
Here are the main examples of undesirable behavior:
At the moment, we observe the following behavior on some devices listed here
Expected behavior
Android 13.0, API level 33 Adds runtime permission. For your app to send notifications, the user must grant this permission to your app.
Actual behavior
https://github.com/status-im/status-mobile/assets/147824399/224320c8-387b-4f78-93bf-c961c83d25ff
https://github.com/status-im/status-mobile/assets/147824399/8760d596-cf02-416b-920e-3dfd689b1f0d
*list of the devices is mentioned here
Reproduction
Additional Information
*this issue contains several moments that don't work as expected and grouping them may be helpful but in any case let me know if it is better do divide them