katzer / cordova-plugin-local-notifications

Cordova Local-Notification Plugin
Apache License 2.0
2.57k stars 1.76k forks source link

Local Notification scheduler time and voice Not working Ionic 4 #1915

Closed sohambhatt1411 closed 1 month ago

sohambhatt1411 commented 4 years ago

I have try to use Local Notification On my app.

-Android lower Version it’s working at started time.And app close then not show Notification and not play Mp3 sound.

-Android Higher Version :- It working scheduler time Local Notification but not show icon and sound.

I don’t know what is problem. I use service create Notification and I use set time to play song without run background service.so I found Local Notification but it did’t worked. Please Help me How to solve my problem any other option I will set time to Play MP3 On kill the app but MP3 play and then play music .

My ionic Info : -

Ionic:

Ionic CLI : 6.7.0 (C:\Users\abc\AppData\Roaming\npm\node_modules\@ionic\cli) Ionic Framework : @ionic/angular 5.3.1 @angular-devkit/build-angular : 0.901.12 @angular-devkit/schematics : 9.1.12 @angular/cli : 9.1.12 @ionic/angular-toolkit : 2.3.0

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 8.1.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 6 other plugins)

Utility:

cordova-res (update available: 0.15.1) : 0.14.0 native-run : 1.0.0

System:

Android SDK Tools : 26.1.1 (C:\Users\abc\AppData\Local\Android\Sdk) NodeJS : v12.16.3 (C:\Program Files\nodejs\node.exe) npm : 6.14.4 OS : Windows 10

sohambhatt1411 commented 4 years ago

I have found but it is working on all version but it is not working custom OS like Mi Note 5 pro or other. so i don't know what is problem for custom android OS.