I'm developing my team along with an application that must run in the background when an event called by sockets should put the application in the foreground .
The application must come to foreground similar to viber or whatsapp call. I stopped at this point. My application can now call an audio and vibrate, but I have to draw the screen to the foreground.
I'm using version 5.1.1 phonegap.
I am this plugin: https://github.com/katzer/cordova-plugin-background-mode
Could someone give me a hand? Very grateful this already.