Govind Chunchula
Posts: 0
Joined: Fri Jun 13, 2014 6:06 am

notification callback is not firing when app is in background mode.

Hi,

Notification callback of the app is not firing when application is running in background or when my mobile is in power off mode.

Notifications are coming but callback is not firing. Messages not reaching to the app. We are doing the message append based on the notifications callback only. So we are missing these messages in the app.

Can you please suggest any solution for this ?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

notification callback is not firing when app is in background mode.

Hello Govind,

Work of phonegap application in the background is not possible by default. To realize this you should use special plug-ins. Please look at the discussion here:
http://stackoverflow.com/questions/14...

Govind Chunchula
Posts: 0
Joined: Fri Jun 13, 2014 6:06 am

notification callback is not firing when app is in background mode.

Hi Evgene,

Thanks for the update. I will check and add the plugin if needed.

Thanks.

Govind Chunchula
Posts: 0
Joined: Fri Jun 13, 2014 6:06 am

notification callback is not firing when app is in background mode.

Hi Evgene,

Can't we use Resume event in appery ?

When it calls, we can fetch data from server for updates. Please suggest.

Thanks.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

notification callback is not firing when app is in background mode.

Govind,

Yes, you can use this phonegap event, as it is specified in the docs:
http://docs.phonegap.com/en/3.3.0/cor...

Return to “Issues”