Page 1 of 1

On Notification - identify if app is currently open or not?

Posted: Fri Feb 05, 2016 3:04 pm
by Chris6743166

Is it possible to identify whether the app is in the foreground or background when a push notification is received? I'd like an app to behave differently depending on whether the app is in focus or not. Thanks!


On Notification - identify if app is currently open or not?

Posted: Sat Feb 06, 2016 5:56 pm
by Serhii Kulibaba

Hello Chris,

You recieve nofifications even the app in the background.


On Notification - identify if app is currently open or not?

Posted: Sun Feb 07, 2016 10:21 am
by Chris6743166

Hi Sergiy,

Thanks for the reply. Perhaps I did not make myself clear. I know that the app receives push notifications even when the app is in the background, but I'd like to know whether it is possible to identify whether the app is in the background or not so that the app can respond differently when in the background.


On Notification - identify if app is currently open or not?

Posted: Sun Feb 07, 2016 11:40 am
by Alena Prykhodko

On Notification - identify if app is currently open or not?

Posted: Sun Feb 07, 2016 12:08 pm
by Chris6743166

Thanks Alena. I'll give it a go.