MVVM is definitely not required
for push notifications. Your code seems fine. I assume that you replaced google project ID and your API key with fake values just for the post.
Can you check the push token for the registered device in the portal? Does it seem like a valid push token? You can try if the token itself is valid by using this app:
This will help us narrow down the problem area - is it a problem with the push token(e.g. with the registration) or is it some server issue with sending the notification to GCM.
Do you enjoy Icenium? Vote for it as your favorite new product here (use short code H048S).
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.