-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android: no prompt to enable notifications #2507
android: no prompt to enable notifications #2507
Comments
I am reopening this issue because there are two additional matters to discuss:
or whether we'd like another approach. Specifically, we may want to: ask for permission to send notifications and wrap the system dialog into our own model explaining why we need to send notifications.
|
We're going to ship the above popup in the upcoming v3.8.3 ooni/probe-android release. We're having an internal conversation regarding how it's best to proceed in terms of organizing dynamic permissions. |
Fixes ooni/probe#2507 ## Proposed Changes - Create views to match designs ( https://www.figma.com/file/G0MMzbEyAUEYpAgV9ZEzTC/OONI-Probe-Mobile-Android?type=design&node-id=48-900&mode=design&t=NPmXdEojkX3gqQRg-0 ) - Add action to request for system notification when `Sounds great` is clicked. - Update preference fragment to request for system notification if option is toggled. | .| . | . | . | . | |-|-| -| -|-| | ![Screenshot_20230822_202406](https://github.com/ooni/probe-android/assets/17911892/cbbfa6cf-e288-40c2-92aa-f41937e20a9c) | ![Screenshot_20230822_202514](https://github.com/ooni/probe-android/assets/17911892/1f1d2d54-8923-4de8-97dd-8cb7267b865f) | ![Screenshot_20230823_140954](https://github.com/ooni/probe-android/assets/17911892/e1a1e55c-14d1-4a68-8fb4-d2b22178b60d) | ![Screenshot_20230822_202527](https://github.com/ooni/probe-android/assets/17911892/c242648f-0723-4b39-90fa-04e6d3254228) | ![Screenshot_20230823_140044](https://github.com/ooni/probe-android/assets/17911892/da76f553-d37d-4225-bb55-a9fd6fde640a) |
Describe the bug
It seems I cannot get the app to prompt me to enable notifications in the system settings.
To Reproduce
I compiled the app for myself using the procedure at #2504 (which entails using a custom signing key as opposed to the official one—perhaps we can improve this part of the process?). I installed the app accepting all the default settings. I verified that the settings did not contain notifications enabled for OONI Probe. I went into the settings were notifications were not enabled. I clicked to enable notifications but the settings still showed the notifications as disabled.
Expected behavior
Per the pre-release check-list that I am following, I should be prompted like I am prompted when I enable running in the background, i.e., with a system settings popup asking me to enable notifications.
Screenshots
System information (please complete the following information):
Additional context
I wonder whether linking a library for a functionality we do not use (i.e., notifications) is preferable over removing this dependency considering that we do seldomly use this functionality and we're not sure whether it would even work in countries with lots of censorship.
The text was updated successfully, but these errors were encountered: