Local notification not working when app is close

Ask, and ye shall receive.
nursyafiah
Posts: 2
Joined: 06:42, 18 Dec 2015

Local notification not working when app is close

Postby nursyafiah » 06:46, 18 Dec 2015

Hi,

I followed the tutorial on the following evothing links: https://evothings.com/hands-on-guide-to ... g-cordova/

I am developing a beacon mobile application.
Based on the link above, I install the cordova plugin add https://github.com/katzer/cordova-plugi ... ions#0.8.1 as my local notification.

Currently, the notification doesn't appear when I swipe away the app from the recent list. I've turned on my phone and the iPOD (which act as a beacon) 's Wifi & bluetooth.

Do you know the problem as to why notification are not received when the app is close (not force stop)? The notification is working well when the app is part of the recent list and i lock my phone.

Thank you for taking your time reading and replying to my email.

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Local notification not working when app is close

Postby micke » 22:00, 29 Dec 2015

Hi,

Are you using Android?

When you swipe away perhaps the app is closed (not active in the background anymore)?

Best regards, Mikael

nursyafiah
Posts: 2
Joined: 06:42, 18 Dec 2015

Re: Local notification not working when app is close

Postby nursyafiah » 03:15, 30 Dec 2015

Hi,

Yes i am developing the mobile application using Cordova, Android platform.
Yes, i guess when I swipe away the app is close. Is there a way to make the mobile scan for beacons even when app is close (not force stop)?


Return to “Questions and answers”

Who is online

Users browsing this forum: No registered users and 18 guests