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:
- How To Configure Push Notifications With Flutter
- Wordpress Set Up For Flutter Push Notifications
- Android Set Up For Flutter Push Notifications
- 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.