{"id":3502,"date":"2020-07-17T04:34:00","date_gmt":"2020-07-17T04:34:00","guid":{"rendered":"http:\/\/www.appsgeyser.com\/blog\/?p=3502"},"modified":"2021-02-10T04:35:58","modified_gmt":"2021-02-10T04:35:58","slug":"how-to-send-push-notifications-android","status":"publish","type":"post","link":"https:\/\/appsgeyser.com\/blog\/how-to-send-push-notifications-android\/","title":{"rendered":"How to Send a Notification in Android with Firebase in 7 Simple Steps"},"content":{"rendered":"\n<p>As the Android framework is getting better and better, new ways are also coming to attract and engage your audience. One of the main features of the Android platform is its ability to show the push notifications to the users. There is a huge potential to use these notifications and reach to your app business goals.<\/p>\n\n\n\n<p>But, sending a notification is not that simple because it requires the knowledge of Android networking and other elements as well. Luckily, to help you in this complex task, AppsGeyser has come up with a step by step guide for answering the question of how to send a notification in Android.<\/p>\n\n\n\n<p>Surprisingly, you don\u2019t need to know about how Android networking works. It\u2019s an automated and easy way to make your push notifications sending process convenient as never before. Without any delay, let\u2019s see why sending notifications is that important.<\/p>\n\n\n\n<h2>How Can a Push Notification Make a Difference?<\/h2>\n\n\n\n<p>There are a lot of things you can do through push notifications. It is a great way to engage your users in your Android app. Push notifications can be used to notify your users about the new features in the app you have implemented.<\/p>\n\n\n\n<p>If your users have not used your app for a long time, you can pop up these notifications to get their attraction. There are a lot of chances that when the users see your notifications, they get engaged again. The goal here is to make app usability much higher than the previous records.<\/p>\n\n\n\n<p>As competition is all around the Android app market, push notifications have the potential to change the entire course of your app business. You can promote your app in a competitive environment where other app businesses are also striving to get a lot of user engagement. It will be a plus for you to win the competition through push notifications.<\/p>\n\n\n\n<p>You can also increase current sales when you know how to send a notification in Android. It is a great way to market your app, and you have the opportunity to show other relevant apps of your product line as well. For example, if you have an image editor app and a video editor as well, you can promote your video editor app if the user has the image editor and vice versa.<\/p>\n\n\n\n<p>External marketing has not been so simple before the arrival of this worthy push notifications feature. You can show ads on these notifications to your users and get the ultimate revenue. These ads could be of your own app business or external ones like embedding Google ads etc. into your notifications.<\/p>\n\n\n\n<p>If you have launched some new services with discounts, sending push notifications will be an impressive way to attract your target audience. You will observe that the number of sales will significantly increase with the help of these notifications.<\/p>\n\n\n\n<p>App businesses that deny the importance of Android notifications cannot be productive and successful as the ones with the sense of their importance. There are a lot of real-life examples of app businesses that made their business successful through these push notifications.<\/p>\n\n\n\n<h2>Steps to Send a Notification in Android<\/h2>\n\n\n\n<p>Finding the answer to how to send a notification in Android is easy, but actually doing the entire process is a complex one. Due to the network operations involved in this process, many app businesses avoid using it regularly.<\/p>\n\n\n\n<p>But, AppsGeyser is not going to tell you that it is difficult. You can use our guidelines to send notifications without any prior experiences. That\u2019s why we have come with these simple steps to get you started. Just follow them and make your app business fruitful as never before. Let\u2019s get straight into these seven steps now!<\/p>\n\n\n\n<h3>1.&nbsp; Visit the Firebase Console<\/h3>\n\n\n\n<p>Simply login to our website and if you are not already registered, you can sign up quickly as well. Create an app through one of our app development templates, which are free and easy to use and then go to the <a href=\"https:\/\/appsgeyser.com\/dashboard\/push\/keys\">link<\/a>. Now you are all set to configure your notification set up. You will see a similar screen as below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img  width=\"1024\" height=\"437\" src=\"data:image\/gif,GIF89a%01%00%01%00%80%00%00%00%00%00%FF%FF%FF%21%F9%04%01%00%00%00%00%2C%00%00%00%00%01%00%01%00%00%02%01D%00%3B\" data-layzr=\"https:\/\/appsgeyser.com\/blog\/wp-content\/uploads\/2020\/07\/Photo-1.1-5-1024x437.png\" alt=\"how to send push notifications on appsgeyser\" class=\"wp-image-10770\"\/><\/figure><\/div>\n\n\n\n<p>This is the complete dashboard you will see, and the app for which you are going to enable these notifications is selected on the top. In this case, we have selected the <em>2048 Game App, <\/em>which you can also create using our platform.<\/p>\n\n\n\n<p>You might have heard about the Firebase. It is a platform from where you can do numerous things. Sending app notifications is also quite convenient through it. We are going to use the Firebase platform because of its ease of use and effectiveness.<\/p>\n\n\n\n<p>Currently, you can see that you are on the Push Settings panel, which is specially developed to aid you throughout the notification sending process. Visit the Firebase Console on the link given above. You will find an interface like below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img  width=\"1024\" height=\"434\" src=\"data:image\/gif,GIF89a%01%00%01%00%80%00%00%00%00%00%FF%FF%FF%21%F9%04%01%00%00%00%00%2C%00%00%00%00%01%00%01%00%00%02%01D%00%3B\" data-layzr=\"https:\/\/appsgeyser.com\/blog\/wp-content\/uploads\/2020\/07\/Photo-1.2-4-1024x434.png\" alt=\"firebase for android app notifications\" class=\"wp-image-10771\"\/><\/figure><\/div>\n\n\n\n<p>At first, you will need to sign in to Google through the platform, and then you will be all set to click on the <em>Get Started<\/em> button. You can also click on <em>Go to Console<\/em> option at the top right corner of the screen.<\/p>\n\n\n\n<h3>2. Add a Project<\/h3>\n\n\n\n<p>Now you are going to add a new project in the Firebase Console. If you are a newbie to this, there is an option on the screen to <em>explore a demo project<\/em> to get things started. If you are confident with learning new things without prior instructions, you can straightly click on the <em>Add project<\/em> option to start adding your first project. You will see an interface like below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img  width=\"1024\" height=\"576\" src=\"data:image\/gif,GIF89a%01%00%01%00%80%00%00%00%00%00%FF%FF%FF%21%F9%04%01%00%00%00%00%2C%00%00%00%00%01%00%01%00%00%02%01D%00%3B\" data-layzr=\"https:\/\/appsgeyser.com\/blog\/wp-content\/uploads\/2020\/07\/Photo-1.3-4-1024x576.png\" alt=\"add project to fierbase\" class=\"wp-image-10772\"\/><\/figure>\n\n\n\n<p>Importing an already developed Google project has also been made easier through this, as you just need to click on the <em>Import Google Project<\/em> option.<\/p>\n\n\n\n<h3>3. Create a Project<\/h3>\n\n\n\n<p>After clicking on the Add Project option, you will see an interface just like the photo below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img  width=\"553\" height=\"545\" src=\"data:image\/gif,GIF89a%01%00%01%00%80%00%00%00%00%00%FF%FF%FF%21%F9%04%01%00%00%00%00%2C%00%00%00%00%01%00%01%00%00%02%01D%00%3B\" data-layzr=\"https:\/\/appsgeyser.com\/blog\/wp-content\/uploads\/2020\/07\/Photo-1.4-3.png\" alt=\"create project to send push notifications\" class=\"wp-image-10773\"\/><\/figure><\/div>\n\n\n\n<p>Write the name of your app or project in the textbox corresponding to the <em>Project Name<\/em> option. Select your country from the drop-down menu corresponding to the <em>Country\/region<\/em> option. It\u2019s the time when your project is created and ready to be configured for all the project settings. Click on the <em>Create Project<\/em> button to start the project creation process.<\/p>\n\n\n\n<h3>4. Modify Project Settings<\/h3>\n\n\n\n<p>Now you will be redirected to a brand new dashboard for your project. Our goal is to reach out to the cloud messaging section. Therefore we will have to go to the project settings at first. You can click on the settings logo on the top of the dashboard, like the picture below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img  width=\"678\" height=\"236\" src=\"data:image\/gif,GIF89a%01%00%01%00%80%00%00%00%00%00%FF%FF%FF%21%F9%04%01%00%00%00%00%2C%00%00%00%00%01%00%01%00%00%02%01D%00%3B\" data-layzr=\"https:\/\/appsgeyser.com\/blog\/wp-content\/uploads\/2020\/07\/Photo-1.5-3.png\" alt=\"set your project for app notifications\" class=\"wp-image-10774\"\/><\/figure>\n\n\n\n<p>Click on the Project Settings option from the menu to go to a new screen.<\/p>\n\n\n\n<h3>5.&nbsp;Visit the Cloud Messaging Tab<\/h3>\n\n\n\n<p>You will be redirected to the settings tab of Firebase in which you have to select the Cloud Messaging tab option. The interface will be just as shown below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img  width=\"1024\" height=\"336\" src=\"data:image\/gif,GIF89a%01%00%01%00%80%00%00%00%00%00%FF%FF%FF%21%F9%04%01%00%00%00%00%2C%00%00%00%00%01%00%01%00%00%02%01D%00%3B\" data-layzr=\"https:\/\/appsgeyser.com\/blog\/wp-content\/uploads\/2020\/07\/Photo-1.6-3-1024x336.png\" alt=\"Cloud Messaging to send app notifications \" class=\"wp-image-10775\"\/><\/figure><\/div>\n\n\n\n<p>As you can see, there is a tab named <em>Cloud Messaging<\/em> just after the <em>General<\/em> tab in Settings. You can adjust a lot of settings through the <em>General <\/em>tab as well, such as adjusting your project name or app name. Our primary goal is to reach the <em>Cloud Messaging<\/em> tab because the push notifications come under the department of it.<\/p>\n\n\n\n<h3>6.&nbsp;Configure the Server Settings<\/h3>\n\n\n\n<p>Configuring the server settings is the second last step to get to your notification sending goals. You will see a Server Key and Server ID of your Cloud Messaging platform like below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img  width=\"1024\" height=\"366\" src=\"data:image\/gif,GIF89a%01%00%01%00%80%00%00%00%00%00%FF%FF%FF%21%F9%04%01%00%00%00%00%2C%00%00%00%00%01%00%01%00%00%02%01D%00%3B\" data-layzr=\"https:\/\/appsgeyser.com\/blog\/wp-content\/uploads\/2020\/07\/Photo-1.7-2-1024x366.png\" alt=\"set your server for push notifcations\" class=\"wp-image-10776\"\/><\/figure><\/div>\n\n\n\n<p>Copy them and paste them into the space provided by the AppsGeyser\u2019s website like below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img  width=\"847\" height=\"444\" src=\"data:image\/gif,GIF89a%01%00%01%00%80%00%00%00%00%00%FF%FF%FF%21%F9%04%01%00%00%00%00%2C%00%00%00%00%01%00%01%00%00%02%01D%00%3B\" data-layzr=\"https:\/\/appsgeyser.com\/blog\/wp-content\/uploads\/2020\/07\/Photo-1.8-2.png\" alt=\"wait 30 minutes before sending first push notification\" class=\"wp-image-10777\"\/><\/figure><\/div>\n\n\n\n<p>Figure 8<\/p>\n\n\n\n<p>Copy and paste these values in the space provided and click on the <em>Save<\/em> button. Now you are very close to posting the notifications.<\/p>\n\n\n\n<h3>7. Create and Send Notifications<\/h3>\n\n\n\n<p>After clicking the <em>Save<\/em> button, you will be redirected to a screen that holds some instructions for you as follows.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img  width=\"1000\" height=\"330\" src=\"data:image\/gif,GIF89a%01%00%01%00%80%00%00%00%00%00%FF%FF%FF%21%F9%04%01%00%00%00%00%2C%00%00%00%00%01%00%01%00%00%02%01D%00%3B\" data-layzr=\"https:\/\/appsgeyser.com\/blog\/wp-content\/uploads\/2020\/07\/Photo-1.9-2.png\" alt=\"create and send push notification on appsgeyser\" class=\"wp-image-10778\"\/><\/figure>\n\n\n\n<p>Now, your server settings are saved, and you are all set to get to the notification creation panel. Click on the <em>Create Push<\/em> button to start the journey. You will see an interface like below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img  width=\"1024\" height=\"801\" src=\"data:image\/gif,GIF89a%01%00%01%00%80%00%00%00%00%00%FF%FF%FF%21%F9%04%01%00%00%00%00%2C%00%00%00%00%01%00%01%00%00%02%01D%00%3B\" data-layzr=\"https:\/\/appsgeyser.com\/blog\/wp-content\/uploads\/2020\/07\/Photo-1.10-2.png\" alt=\"write the text for android push notification\" class=\"wp-image-10779\"\/><\/figure><\/div>\n\n\n\n<p>It\u2019s the last step. Write the title of the notification in the edit text box given at the top, the body at the body section, and a button label. Click on the <em>Send Push<\/em> to get the answer to how to send a notification in Android.<\/p>\n\n\n\n<p>Congratulations! You have successfully sent the first push notification to your app users. You can see how simply you can send push notifications through the AppsGeyser\u2019s platform. We used the Firebase Console just to get cloud support for you, and it\u2019s been the best so far.<\/p>\n\n\n\n<p>Send notifications through our easy to use interface and let us know how your experience was. If you got into any trouble, please get in touch with us. Follow our Facebook page to get the latest updates on Android apps development. We will be happy to reply to you and get you out of trouble.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As the Android framework is getting better and better, new ways are also coming to attract and engage your audience. One of the main features of the Android platform is its ability to show the push notifications to the users. There is a huge potential to use these notifications and reach to your app business goals. But, sending a notification is not that simple because it requires the knowledge of Android networking and other elements as well. Luckily, to help you in this complex task, AppsGeyser has come up with a step by step guide for answering the question of <\/p>\n","protected":false},"author":744,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[703],"tags":[],"_links":{"self":[{"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/posts\/3502"}],"collection":[{"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/users\/744"}],"replies":[{"embeddable":true,"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/comments?post=3502"}],"version-history":[{"count":7,"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/posts\/3502\/revisions"}],"predecessor-version":[{"id":10973,"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/posts\/3502\/revisions\/10973"}],"wp:attachment":[{"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/media?parent=3502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/categories?post=3502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/tags?post=3502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}