Cordova Open Screen

Hi, i want to know how to make the screen on automatically when new order come i need something like when phone get phone call so the phone open and gives you the ability to response or reject the call i need something like that in cordova like a plugin or something any one help please ?

It sounds like you’re looking for a Push Notification. You won’t get another method to automatically open your app from a phone which is asleep. A Push Notification can alert your user to an action from your app, and give them the chance to open the app.

1 Like

Exactly, that what i need
how can i do that please ?

You’ll use a third-party plugin to integrate with Android or iOS push notifications. Try keywords:ecosystem:cordova push - npm search.