Sending Notification b/w devices using OneSignal

Viewed 3060

Hello I'm trying to send Push notification between two users A & B of my android app. Using the OneSignal Website is a manual way and I want to send notification via the app itself , say user A Presses a button and a notification is sent to user B. Any help will be appreciated.

4 Answers

I have low reputation so I am answering instead commenting.

thanks got it working , now I just need to figure out how to target a specific user . – Ali Lal Din

On how to target a specific user, you can remove included_segments attribute and send include_player_ids instead.

Related