How to distinguish between notification received when app are running and app are in backgroud (or off)


#1

Hey Guys,
I have a question: In onNotification(), how to distinguish notification was received when user are using app and app are running background or turn off?