EN ES BR

How to configure push notifications for Android

Configure push notifications for your Android app on Google Cloud

In this tutorial we will teach you how to configure the push notifications for you Android application on Google Cloud.

Let's start:

  1. First of all we need to activate the push notifications on the Easy Easy Apps editor by going to the Settings > Push Notifications and ticking the Push Notifications checkbox. This will activate the push notifications for your application.
  2. Activate push notifications on Easy Easy Apps editor
  3. Create a free account on Google Cloud by clicking the Try it Free button.
  4. Create Google Cloud account
  5. Pick your country, accept the terms and conditions and push Agree and continue.
  6. Accept terms and conditions on Google Cloud
  7. Insert your personal info.
  8. Insert your personal info
  9. Insert the billing info and push Start my free trial.
  10. Insert billing info
  11. On https://console.cloud.google.com/home/dashboard push the arrow upper right corner as it's shown in the image.
  12. Open projects menu
  13. Select Create a project.
  14. Select 'Create a project'
  15. Insert the name of your application and push Create.
  16. Insert the name of your application and push 'Create'
  17. As soon as the process is complete you should see the Dashboard.
  18. As soon as the process is complete you should see the 'Dashboard'
  19. You should now access the Firebase console on https://console.firebase.google.com/ and push the "or import a Google project" link.
  20. You should now access the Firebase console and push the 'or import a Google project' link
  21. Now you should select the name of the project you created previously (eg. My App name).
  22. Now you should select the name of the project you created previously
  23. Select the country and push the Add Firebase button.
  24. Select the country and push the 'Add Firebase' button
  25. On this screen you should push the cog icon and select the Project settings option.
  26. On this screen you should push the cog icon and select the 'Project settings' option
  27. Now you should select the Cloud Messaging tab and there you are now able to see the necessary credentials for the Easy Easy Apps Editor - Server Key and Sender ID.
  28. Now you should select the 'Cloud Messaging' tab
  29. You should now access the Easy Easy Apps Editor on the Publish tab. Click on Google Play and copy the Server key from Firebase to the GCM API Key input field. Copy the Server ID to the Project number input field and push the Publish button.
  30. You should copy the 'Server key' from Firebase to the 'GCM API Key' input field and the 'Server ID' for the 'Project number' input field and push the 'Publish' button

Congratulations! You finished configuring the push notifications.

From now on, once you publish your app you can go to Settings > Send message and write a message with Title and Message.

You should pick the Android checkbox in order to send the message to the Android devices and then push the Send button.

Send push notifications to your app's users

This way all your messages will reach all your app's users instantly!

Thank you for following this tutorial.
Leave your comments and we will contact you and if you liked it don't forget to share.