Local Notification scheduler time and voice Not working Ionic 4

我与影子孤独终老i 提交于 2020-08-10 20:39:03

问题


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

来源:https://stackoverflow.com/questions/63085357/local-notification-scheduler-time-and-voice-not-working-ionic-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!