Chat Android Socket x Firebase

Asked

Viewed 69 times

0

I have a question about creating a chat simple(never implemented a ), I have been researching and saw the implementation of Firebase, it provides me a whole structure for creation, I am in doubt what advantages and disadvantages of one and the other. thank you in advance

  • This is a question that depends a lot on the planned architecture. To do both, the difference is that the socket you have only p2p communication directly between the devices. In firebase, you will send it to a repository, and then read these values. But you can also leave listeners open so that this communication is automatic.

  • @Grupocdsinformática exactly! I say in terms of performance and the advantages and disadvantages, I’m still analyzing

  • I think with Firebase it would be simpler, because it takes the weight of having to, for example, plan temporary storage on the device, and keep checking if you have new messages and tauz with Jobs.

  • @Grupocdsinformática Hmmm! that’s what I’m analyzing, I think I’m going to implement both ways

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.