Android Set Up For Flutter Push Notifications

This is the third article in series which describes how to set up Firebase push notifications with Flutter framework. In the last blog post we have covered how to set up WordPress website for sending push notifications.

Table of Contents:

  1. How To Configure Push Notifications With Flutter
  2. Wordpress Set Up For Flutter Push Notifications
  3. Android Set Up For Flutter Push Notifications
  4. iOS Set Up For Flutter Push Notifications

Please note that this tutorial applies only to building apps with Flutter Deco News app template.

In this blog post we will cover how to set up receiving Android push notifications with Flutter framework. Navigate back to Firebase Console where we left in first article from this series. At the bottom of project settings page you will have list of added applications, which is probably empty at this point.

Step 1. Click on Android button to add Android application to your Firebase project.

Step 2. Fill out package name and optionally add application name.

Step 3. Download google-services.json file.

Step 4. Click "Continue" button to finish Firebase configuration.

Step 5. Open project with your favourite IDE, like Android Studio or IntelliJ IDEA. Open "android" folder, and after that "app" folder, in app folder you will find "google-services.json" file. Replace it with the file you downloaded from Firebase.

Now you should have everything configured for receiving push notifications on Android.

In the next article we will cover how to set up iOS for receiving push notifications in Flutter.

Read next on DevsPush Blog:

Ionic 5 Templates Top 10
Monday 27 April 2020 by DevsPush

Ionic 5 Templates Top 10

For beginners or experienced developers, here are the top picks for Ionic 5 templates!

Going Native for the Holidays
Wednesday 22 April 2020 by DevsPush

Going Native for the Holidays

What’s the best attitude for the New Year?

How to add Firebase to your web app
Tuesday 24 March 2020 by DevsPush

How to add Firebase to your web app

Add Firebase to your Cloud project, configure your authentication settings, and then add Firebase to your web service.

deco shop

Subscribe for discounts, updates & new products!

We’ll never ever share your email address with anyone.