Client-side validation of data is dangerous because the client might be malicious.
... GCM, of course, does all the client side connection ...