Skip to content
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

[Bug]: OneSignal can't get subscription status for Android devices with android 12 and lower #839

Open
2 of 3 tasks
tortamque opened this issue Feb 21, 2024 · 6 comments
Open
2 of 3 tasks

Comments

@tortamque
Copy link

tortamque commented Feb 21, 2024

What happened?

Hello. I'm facing an issue where OneSignal for Flutter (onesignal_flutter: ^5.1.0) can't get subscription status for Android devices with android 12 and lower (API Level 32 and lower). Therefore these android devices can't receive any push notifications. Tested on Realme 7 5G (Android 10), Pixel 3a (Android 12) and Android emulator (Android 12). They being displayed on "Subscriptions" menu, but "Subscription Status" is empty.

However, it works on android emulator with Android 13.

I can provide additional information or code snippets if needed.
Screenshot 2024-02-21 at 17 59 34

Steps to reproduce?

1. Add latest version of one signal flutter SDK (5.1.0).
2. Configure OneSignal in the app and launch it on device with android 12 or lower.
3. The device will appear on the "Subscriptions" menu, but "Subscription Status" is empty.

What did you expect to happen?

I expected to see checkmark, "Permission Not Granted" or any other subscription status.

OneSignal Flutter SDK version

5.1.0

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@nan-li
Copy link
Contributor

nan-li commented Feb 21, 2024

Hi @tortamque thank you for reporting.
I will try to reproduce with your steps, and follow up if I have any other questions.

@Chhay67
Copy link

Chhay67 commented Feb 26, 2024

I am also face this issue.

@MuhamadHaydar
Copy link

I am facing the same issue,
Have you got any solution?

@seydidemir
Copy link

Any solution?

@tortamque
Copy link
Author

Unfortunately, I didn't find any solution for this issue, so I had to move the push notification functionality to Firebase

@mariamalbarghouti
Copy link

i'm facing the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants