Cakaaa
Lurker
I want to write an application for android with groupchat functionality with notifications and such included ofcourse.
The problem is that I dont know exactly where to start because there is a lot of information about XMPP and GCM.
I have managed to create a simple chat app which lets users register to my server using XMPP through Google Cloud Messaging.
My question exactly: Do I need Google Cloud Messaging for the chat functionality or would it be better to let users connect to my server directly.
My questions arises because of conflicting information I have found although they are all viable implementations and everything can be made to work but I am looking for the most efficient way to handle these connections.
I was thinking of letting the chat connections go to my server directly and send notification and information that is alike through the Google-Cloud-Messaging servers, basically splitting the chat functionality from the Notifications although i am not sure how much complexity this will add. I assume it will not be hard.
I was actually thinking of letting it all go through GCM but I found this link, which says that using GCM for chat is not a good option. Why that is I am not sure of, that is also why I am asking this question on stack.
The problem is that I dont know exactly where to start because there is a lot of information about XMPP and GCM.
I have managed to create a simple chat app which lets users register to my server using XMPP through Google Cloud Messaging.
My question exactly: Do I need Google Cloud Messaging for the chat functionality or would it be better to let users connect to my server directly.
My questions arises because of conflicting information I have found although they are all viable implementations and everything can be made to work but I am looking for the most efficient way to handle these connections.
I was thinking of letting the chat connections go to my server directly and send notification and information that is alike through the Google-Cloud-Messaging servers, basically splitting the chat functionality from the Notifications although i am not sure how much complexity this will add. I assume it will not be hard.
I was actually thinking of letting it all go through GCM but I found this link, which says that using GCM for chat is not a good option. Why that is I am not sure of, that is also why I am asking this question on stack.