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

Notification doesn't appear in Android 12 or more #8

Open
albertocanca opened this issue Feb 23, 2023 · 0 comments
Open

Notification doesn't appear in Android 12 or more #8

albertocanca opened this issue Feb 23, 2023 · 0 comments

Comments

@albertocanca
Copy link

WARNING: IF YOU IGNORE THIS TEMPLATE, WE'LL IGNORE YOUR ISSUE. YOU MUST FILL THIS IN!

Provide a general summary of the issue.

Your Environment

  • Plugin version: 7.8.3
  • Platform: Android
  • OS version: Android 12
  • Device manufacturer / model:
  • Cordova version (cordova -v): 11.0.0
  • Cordova platform version (cordova platform ls): cordova-android-11
  • Plugin config
  • Ionic Version (if using Ionic): 6.20.3

Expected Behavior

When the notification is received, must be appear in the device.

Actual Behavior

The notification doesn't appear. Any sounds, any badge, nothing,.

Steps to Reproduce

  1. Send a notification
  2. The notification arrives to the device, but doesn't appear.
  3. if I add the subscribe onNotification, the console is shown.

fcm.onNotification().subscribe((opt: INotificationPayload) => { console.log('Notification received event with: ', opt); });

Context

If i install the same file .apk in Android 10, the notifications is shown.

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

1 participant