V
V
Victor2017-03-28 17:38:33
phonegap
Victor, 2017-03-28 17:38:33

How to make the application launch when a push notification arrives in cordova?

I am making a messenger application and I want to make it so that when a push notification arrives, instead of this notification being displayed on the screen in the notification area, the application itself is launched.
For example, when someone tries to call through my application, I want it to be like Skype, that is, the application opens with the ability to answer the call, and not just a push pops up with the text that someone is calling me.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Seva, 2017-03-28
@Zewkin

No way. iOS will not let you do such tricks.

A
Andrey Myvrenik, 2017-03-28
@gim0

I can't say anything about Cordova, but the Android API has the ability to draw elements on top of other applications (requires the SYSTEM_ALERT_WINDOW permission ). With the help of this, various filters are implemented and not only .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question