cordova-plugin-local-notifications
cordova-plugin-local-notifications copied to clipboard
In android version 7.0.0 Ionic V1 the notification not firing if scheduled for future time
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: 0.9.2
- Platform: Android
- OS version: 7.0
- Device manufacturer / model: Samsung Galaxy s9
- Cordova version (
cordova -v):7.1.4 - Cordova platform version (
cordova platform ls):7.1.4 - Plugin config
- Ionic Version (if using Ionic) v1
Expected Behavior
if local Notification scheduled for future time with trigger parameter it should work.
Tell us what should happen if local Notification scheduled for future time with trigger parameter it is should work
Actual Behavior
Tell us what happens instead if local Notification scheduled without trigger parameter it is working perfectly. if local Notification scheduled for future time with trigger parameter it is not working the notification is not triggering, for the above sceanrio it is not working the notification being scheduled but not working
Steps to Reproduce
cordova.plugins.notification.local.schedule({ id: id, title: title, text: text, trigger:{at:new Date().getTime()+60*1000} }); Reproduce this issue; include code to reproduce, if relevant
- ...
- ...
- ...
- ....
Context
What were you trying to do?
Debug logs
Include iOS / Android logs
- ios XCode logs
- Android: $ adb logcat