0

I want to develop a one-to-one chat in android by using Firebase. By using crazzyhit code one-to-one chat is working.

But device to device push notification is not working. I googled device to device notification, but all are showing about sending notification from firebase console. Can anyone give some device to device chat notification tips?

CDspace
  • 2,639
  • 18
  • 30
  • 36
dekrins
  • 11
  • 2
  • Recommending off-site tutorials is off-topic on Stack Overflow. That said: you could do worse than starting with the approach I outlined here: https://firebase.googleblog.com/2016/08/sending-notifications-between-android.html. Note that this requires you have an app server, since [Firebase Cloud Messaging doesn't support sending messages directly from one device to another](http://stackoverflow.com/questions/37634046/is-it-possible-to-send-pushnotifications-using-firebase-cloud-messaging-fcm-t). – Frank van Puffelen Feb 21 '17 at 14:23

3 Answers3

0

It's possible, you can try OnseSignal. It lets you sending push notifications from device to device.

Valentino
  • 2,125
  • 1
  • 19
  • 26
0

You have to create php webservices which will let you send notifications to specific devices on behalf of device tocken.

Learn Pain Less
  • 2,274
  • 1
  • 17
  • 24
0

Please Check FireChat to make Person to Person Chat app.

Ashish
  • 371
  • 3
  • 18