integreat-app icon indicating copy to clipboard operation
integreat-app copied to clipboard

IGAPP-854: Explain opening of settings for push notification permission to user

Open jira-to-github-migrator[bot] opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. As a user I would like to know why the system settings are opened if I try to enable push notifications but permissions are blocked.

Describe the solution you'd like Show an alert as shown in the design. The alert should explain the necessary steps on android or ios and have buttons to cancel or proceed to settings.

The systems dialog should be used, DO NOT implement an own component for this. All used strings should be translated.

Describe alternatives you've considered None.

Additional context Take a look at the way we show a alert in the JpalTracking, perhaps you can copy some stuff: https://github.com/digitalfabrik/integreat-app/blob/94e21eebe136b7c60ff2e53f220ce93a0fc01312/native/src/routes/JpalTracking.tsx#L74

Old description:

If the user declines the permission to receive push notifications, it is not possible to request permission again. Instead, the user has to change it manually in the settings. If a user wants to enable push notifications, we therefore just open the app settings without telling the user why or what to do there (see video). Maybe it makes sense to show a message to the user first.

Currently we only have a snackbar component to do so which may not be the best choice.

(more but not needed information for this ticket: ttps://chat.tuerantuer.org/digitalfabrik/pl/98dnizpqnfbxpd9ribui6wmdoh)

Environment: - Linked issues:

  • Relates: IGAPP-850

https://github.com/digitalfabrik/integreat-app/assets/28013368/9122b2b7-45cf-4086-b6f7-a977d578444a

sarahsporck avatar Aug 21 '23 13:08 sarahsporck

📍 design proposal can be found here

hauf-toni avatar Sep 18 '23 10:09 hauf-toni