Firebase one to one chat

1,353 views
Skip to first unread message

Praveen Mohan

unread,
Dec 4, 2014, 12:17:44 AM12/4/14
to fireba...@googlegroups.com
I am building a simple chat application and i would like to know if there is a possibility of running a chat application(private) without the use of any external server except firebase. I have managed to write data to firebase and define to which parent should be added to.....Can someone give me a sample code of how to deliver the message from the server to a specific recepient.Is there a possibility

Jacob Wenger

unread,
Dec 4, 2014, 11:56:30 PM12/4/14
to fireba...@googlegroups.com
Praveen,

Yes, this is definitely possible and is exactly what Firebase is built for. Luckily for you, we have a lot of sample chat code for you to work with. For a simple little chat application, check out Firebase Cloud Chat. For a more full-featured example, take a look at Firechat. I'd also suggest you read through our Firebase guide docs to get a better understanding of how Firebase works. 

Jacob

On Wed, Dec 3, 2014 at 9:17 PM, Praveen Mohan <pro...@gmail.com> wrote:
I am building a simple chat application and i would like to know if there is a possibility of running a chat application(private) without the use of any external server except firebase. I have managed to write data to firebase and define to which parent should be added to.....Can someone give me a sample code of how to deliver the message from the server to a specific recepient.Is there a possibility

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/1ac2539a-9dfb-4519-9aa1-c26e4b01d94d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Praveen Mohan

unread,
Dec 6, 2014, 4:30:22 AM12/6/14
to fireba...@googlegroups.com
but is this possible for android application as wekk

Praveen Mohan

unread,
Dec 6, 2014, 4:32:08 AM12/6/14
to fireba...@googlegroups.com
and the examples you have given are for group chats....can u please if its possible for a private chat(one to one) and again in android


On Friday, 5 December 2014 10:26:30 UTC+5:30, Jacob Wenger wrote:

Jacob Wenger

unread,
Dec 6, 2014, 3:56:22 PM12/6/14
to fireba...@googlegroups.com
Hey Praveen,

We also have a similar Firechat implementation for Android. It is called AndroidChat.  Even if it is for group chats, you can easily add some Security and Firebase Rules to limit the number of participants to two. 

Jacob

Reply all
Reply to author
Forward
0 new messages