Open
Description
Expected Behaviour
A notification must be shown after new Notification("test", {body:"hello World"})
Actual Behaviour
The constructor returns a notification object, but there is no notification
Reproduce Scenario (including but not limited to)
Tested on a Oneplus 5 and Android 8.0
Maybe it persists in another devices with Oreo.
Steps to Reproduce
cordova create test
cordova plugin add phonegap-plugin-local-notification
cordova platform add android
cordova run android
Platform and Version (e.g. Android 5.0 or iOS 9.2.1)
Android 8.0.0
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Oneplus 5
Cordova CLI version and cordova platform version
cordova 8.0.0
cordova-android 7.0.0
Plugin version
phonegap-plugin-local-notification 1.0.1
Sample Code that illustrates the problem
new Notification("test", {body: "Test body"});
Logs taken while reproducing problem
04-25 15:19:33.663 1417 13559 E NotificationService: No Channel found for pkg=tk.mrvik.test, channelId=null, id=0, tag=, opPkg=tk.mrvik.test, callingUid=10172, userId=0, incomingUserId=0, notificationUid=10172, notification=Notification(channel=null pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0x00000000 vis=PRIVATE)