Open EvPut opened 6 years ago
@EvPut - Try this
cordova.plugins.notification.local.setDefaults({ led: { color: '#FF00FF', on: 500, off: 500 }, });
@Ankitkumar7, does not help, we are talking about this:
@EvPut - Try this
cordova.plugins.notification.local.setDefaults({ led: { color: '#FF00FF', on: 500, off: 500 }, });
wr to use
Your Environment
Plugin version: 0.9.0-beta.2
Platform: Android
OS version: 6.0 MRA58K
Device manufacturer / model: Xiaomi Redmi Note 4
Cordova version (
cordova -v
): 8.0.0Cordova platform version (
cordova platform ls
): android 7.0.0Plugin config: cordova-plugin-badge 0.8.7 "Badge" cordova-plugin-device 2.0.2 "Device" cordova-plugin-ionic-webview 1.1.19 "cordova-plugin-ionic-webview" cordova-plugin-local-notification 0.9.0-beta.2 "LocalNotification" cordova-plugin-network-information 2.0.1 "Network Information" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-statusbar 2.4.2 "StatusBar" cordova-plugin-whitelist 1.3.3 "Whitelist" ionic-plugin-keyboard 2.2.1 "Keyboard"
Ionic Version (if using Ionic): 3.20.0
Notification received, but is not displayed on the lockscreen (only on top) and the LED-indicator does not turn on. Added: After installing the application on the device, Settings -> Notifications and status bar -> Application notification -> My application - the lock screen and the light indicator are disabled. After enabled, it works. How to make the default, after the installation they have been enabled?
Me code:
Thankful in advance for the help.