Monday, 12 November 2018

Client to client short messaging

I am implementing small communication between two clients in Android. Currently I am using Firebase Realtime Database that holding all my users with push tokens. Then I use Firebase Cloud Messaging to send push messages from one to other using REST embedded in my code. This is not so good practice due to that I need to save my server key hardcoded in the app. I thought about using XMPP but its bit overkill for what I need. I need small communication between the users for one asking the other for their location and gets the coordinates in return. The messages do not needed to be saved on server and it just one time request and response. As I previously said I am currently using FCM for that. Can you suggest maybe better solution for this, without XMPP?



from Client to client short messaging

No comments:

Post a Comment