Skip to content

OneSignal.Notifications.requestPermission(true) does not open Settings on Android #25

Description

@latata

Bug: OneSignal.Notifications.requestPermission(true) does not open Settings on Android

Description

When calling:

OneSignal.Notifications.requestPermission(true);

and notification permissions were already denied by the user, nothing happens on Android.

Expected behavior

The system Settings / App Notification Settings screen should open when fallbackToSettings is set to true.

Actual behavior

Nothing happens on Android after permissions were previously denied.

Notes

  • Works correctly on iOS.
  • Does not work as expected on Android.

Reference

https://documentation.onesignal.com/docs/en/mobile-sdk-reference#requestpermission-fallbacktosettings-push

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions