Skip to content

[Bug]: Permission Not Granted #900

@arabnology

Description

@arabnology

What happened?

I'm using OneSignal 5.2.0.
The problem with this package on Android is that it always shows "Permission Not Granted" on the OneSignal dashboard, even though I have accepted the permission and successfully called the optIn() function.
The user appears on the dashboard but with the status "Permission Not Granted," and they do not receive any notifications.
The app is in release mode but has not been published in the Google Play Store.
Note: The same user logged in on multiple devices, like iOS device and other Android devices.

Tested on Android platform only.

Steps to reproduce?

1. Add OneSignal 5.2.0 package to pubspec.yaml
2. Init OneSignal
3. Login the user with Id on multiple devices and in release mode
4. Call optIn() function
5. Try to send a notification to that user

What did you expect to happen?

I'm expecting to successfully receive any notifications sent to that user.

OneSignal Flutter SDK version

5.2.0

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No log, everything ok in log section.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    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