How to send one-to-one upstream messaging using not not using FCM without hosting a server?

孤街醉人 提交于 2019-12-12 03:48:25

问题


Sending messages from one device directly to another device it not supported through Firebase Cloud Messaging. -- Frank van Pufflenen - JUNE 23 2016

That was quite some time ago, and there aren't any updates in the docs. However:

  • Has there been any changes?
  • Is Firebase the only option? Are there any other app servers (Like Firebase and the shut-down Parse)?
  • I don't want to find/buy a server just for this. But is the Firebase Server SDK suitable for this?
  • Can this be implemented using GCM?

回答1:


There have been lots of changes.

But:

  1. Sending a message from one device to another still requires the use of a server key, which means you will need a trusted server.

  2. Recommending services is off-topic here on Stack Overflow.

  3. The Firebase Server SDK is for use on a trusted server.

  4. No, sending device to device messages was only possible with Google Cloud Messaging by using a trusted server.



来源:https://stackoverflow.com/questions/40723864/how-to-send-one-to-one-upstream-messaging-using-not-not-using-fcm-without-hostin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!