Onesignal notification clicks opens the app again

Hello,
I am working on a radio app(live audio URLs).
I am using Exoplayer for online streaming.
I send onesignal push notifications. If the app is still running in the background and someone clicks(open) the notification, it opens the app again(from starting) and results in double voice.

Please help me.

Use “When other player starts” block and set ExoPlayer to stop and close screen.

BTW, welcome to the community!

Hii, this is my second ID, I was not able to reply you from that ID.

BTW, I am already using the block you suggested, it doesn’t detect the second player.

07%20PM

Please any other suggestions, Can I set the onesignal push notifications target to null?

I had the same problem… my solution:
I used the blocks::
WHEN SCREEN1 ON APP PAUSE
CLOSE APPLICATION
to close app when minimized.
and when notification is trigged, app opens, and clear pushnotifications.