I’m stuck in a problem and I’d like some suggestions on how to solve this.
I have a requirement to make the app wake up from background when a new order is received and start to play an alarm/sound until the order is accepted/rejected.
Currently, I’ve used background plugin with local notification to keep app opened in background, but the problem is to make the app wake up to achieve the goal.
Tried sending push notification from firebase but, unfortunately, I was not able to handle it in background for changing app to foreground.
Tried all on the last ionic/capacitor version.
Any idea/suggestions is appreciated.