Wake my cordova application even app not in background or screen locked

Hi Team,
We developing an food order delivering application in cordova. when customer placed a order we want to notify seller by any sound even app not in background or killed. Help us to achieve this functionality.
Currently we using push notification to trigger sound it working perfectly when app in live or app in background but if I clear the app from background sound not triggers.

You need to provide more details. What Cordova plugin are you using for push notifications? What platform are you testing on, iOS or Android? What does your code look like?

Also, as an aside, Ionic is the creator of Capacitor which is separate from Cordova, though it supports using most Cordova plugins. However, since you are using Cordova and not Capacitor and have Cordova specific questions, you might have better luck asking in the Cordova community.

1 Like