how to send push notification from device to device and receiver can open and read give reply to sender in ionic 2 please send any related link or example code.
User 1 types as message and hits “Send”.
Device 1 sends message to server.
Server gets Receiver (Use r2) from message, gets push token for Device 2
Server pushes information about message to Device 2
Device 2 receives Push message and gets message from server
User 2 can see message
Reply: The same thing in the opposite direction.