Skip to content

Crash when revoking notification permission #4484

@mahibi

Description

@mahibi

With #4476 there will be a bug introduced:

The app crashes whenever notification permission for the app is set to false in in the android settings. This crash happens immediately when doing the change in the android settings, so not when navigating back.

As it should not happen that often that users disable the permission it's not a blocker.

I did not figure out the reason, it might be some architecture related and/or async problems..

I only found this similar/same issue for another app:
OneSignal/react-native-onesignal#1629

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care of (should be only set by nextcloud employees)bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions