1
I am building a project that will use Google’s GCM, something new in my projects, and I would like to know the following.
At the time the user makes his registration who will request the first data of the server will be the client, and after the user is registered who will request new information will be the Google Cloud Messaging. But I was wondering if it wouldn’t be interesting right after the user registered on the system, the GCM was the one who sent the initial information and system settings to the client, leaving the code responsible for the synchronizations all in one place, in this case, in the logic of GCM, but I do not know if with this way it would take for the user to have the first access to the system.
There is also another option, to create a Java file in which they are called from the business rule of both the server to client call, and the client to server call.
If you have examples about standardization with Apis, mainly from GCM, as for other business rules of a system I also thank you.