bhandaribhumin / cordova-plugin-local-notification-12

Apache License 2.0
17 stars 35 forks source link

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

Open albertocanca opened 1 year ago

albertocanca commented 1 year ago

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

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.