Flutter push notifications with Firebase Cloud Messaging.

Overview

Notify

A Flutter sample app demonstrating how to send push notifications using Firebase Cloud Messaging (FCM).

Screenshots

Notification while the app is running in the foreground:

Notification while the app is running in the background:

Plugins

The Flutter plugins used in this project are as follows:

Add the following to your pubspec.yaml file:

dependencies:
  firebase_core: ^1.2.0
  firebase_messaging: ^10.0.0
  overlay_support: ^1.2.1

Usage

In order to run this project, you have to follow the steps below:

  1. Clone the project:

    git clone https://github.com/sbis04/notify.git
  2. Complete Firebase project setup for both Android & iOS platforms by going to the Firebase console.

  3. For running on iOS, you have to do some configurations from Xcode. Follow the guide here.

  4. Get Flutter packages:

    flutter pub get
  5. Run the app:

    flutter run

License

Copyright (c) 2021 Souvik Biswas

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You might also like...

Project demonstrates building a simple chat application using Flutter framework and Firebase cloud

Project demonstrates building a simple chat application using Flutter framework and Firebase cloud

Flutter Chat on Firebase Project demonstrates building a simple chat application using Flutter framework and Firebase cloud. App does not poll for new

Feb 2, 2022

A font loader to download, cache and load web fonts in flutter with support for Firebase Cloud Storage.

A font loader to download, cache and load web fonts in flutter with support for Firebase Cloud Storage.

Dynamic Cached Fonts A simple, easy to use yet customizable font loader to use web fonts. Demo: https://sidrao2006.github.io/dynamic_cached_fonts 👋 I

Dec 21, 2022

A Flutter application that demonstrate simple CRUD operations with Firebase cloud database.

A Flutter application that demonstrate simple CRUD operations with Firebase cloud database.

Cricket Team A Flutter application that demonstrate simple CRUD operations with Firebase cloud database. Preview Home Empty Swipe Add Player Update Pl

Jun 19, 2021

A cached Flutter ImageProvider for Firebase Cloud Storage image objects

🔥 Firebase Image Provider A cached Flutter ImageProvider for Firebase Cloud Sto

Nov 2, 2022

Gcloud-flutter-dota-app - Dota 2 App using Firebase and Google Cloud

Gcloud-flutter-dota-app - Dota 2 App using Firebase and Google Cloud

Dota 2 App using Firebase and Google Cloud This is a pet project that born with the idea of having a nice subject to go through some Live Coding sessi

Dec 15, 2022

Notey - A noteApp build using flutter with firebase cloud firestore

Notey - A noteApp build using flutter with firebase cloud firestore

notey A project to create and store notes for later purposes. Notey is built usi

Aug 14, 2022

The prime objective of this app is to store the real time information of the user using firebase cloud firestore and also can delete, remove and update the customer information

crud_firestore A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started i

Mar 15, 2022

Dota 2 App using Firebase and Google Cloud

Dota 2 App using Firebase and Google Cloud

Dota 2 App using Firebase and Google Cloud This is a pet project that born with the idea of having a nice subject to go through some Live Coding sessi

Dec 15, 2022

A starter example of a Flutter + Mobx + Notifications

A starter example of a Flutter + Mobx + Notifications

flutter-example A starter example of a Flutter + Mobx + Firebase Nofitications Before Debug $ flutter packages pub run build_runner watch --delete-con

Feb 3, 2021
Owner
hebaabdelwhab
I’m a Computer Science student
hebaabdelwhab
Arissendpushntfctns - Send Push notifications with Flutter and Firebase messaging II

Push notifications with Firebase messaging II Send push notifications on Android

Behruz Hurramov 6 Feb 11, 2022
Aprendendo a usar notificações Push com o Firebase Cloud Messaging

Notificações Push com Firebase Esse projeto foi desenvolvido com base no curso "Flutter: Push notifications com Firebase Cloud Messaging", da Alura. P

Roger Bernardo De Melo Lima 0 Dec 28, 2021
Ahmed Elsayed 257 Jan 7, 2023
Plugin to implement APNS push notifications on iOS and Firebase on Android.

apns Plugin to implement APNS push notifications on iOS and Firebase on Android. Why this plugin was made? Currently, the only available push notifica

null 0 May 14, 2022
Build an example app for receiving notification from Firebase Cloud Messaging (FCM)

notify Build an app demo for receiving notifications from Firebase Cloud Messaging. Check more information: https://firebase.google.com/docs/cloud-mes

TAD 3 Dec 9, 2022
Flutter Local Notifications - Learn how to implement local notifications into both Android and iOS using flutter_local_notifications plugin.

Flutter Local Notifications Example Flutter Local Notifications - Learn how to implement local notifications into both Android and iOS using flutter_l

Sandip Pramanik 12 Nov 29, 2022
Flutter Push Notifications

Flutter Push Notifications Flutter applications implementing push notifications.

Shametha K G 5 Oct 17, 2022
Push notification in Flutter using Firebase.

push_notification [1]Firebase Integration in Flutter project. [2]Parsing message in the app using on Message Stream while the app is foreground. [3]Ha

hebaabdelwhab 2 Dec 29, 2021
Create flutter project with all needed configuration in two minutes (theme, localization, connect to firebase, FCM, local notifications, safe API call, error handling, animation..etc)

Flutter GetX Template Flutter Getx template to make starting project fast and easy . Introduction We all face the same problem when we want to start a

Emad Beltaje 150 Jan 7, 2023
Send notification to flutter app using firebase messaging

Welcome Push Notification with Flutter & Firebase ⚠️ ⚠️ there is no google-services.json file attached in this project because of security issues, you

Dineth Siriwardana 1 Aug 28, 2022