I am using push api from OneSignal.com to send notifications. It's working perfectly but I want to receive notifications only if app is Active. If app is closed or not active then Onsignal notifications should be stopped.
Is this possible with this service?
I'll really appreciate for any contribution.
Thanks