Skip to content

jayadevpanthaplavil/pushnoti_firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Push Notifications using Firebase

This Flutter project demonstrates the implementation of push notifications using Firebase Cloud Messaging (FCM). With this setup, you can send notifications to your Flutter app from the Firebase console or your server using Firebase Cloud Messaging.

Screenshots

Home Page Notification Handling Demo

What's inside

  • Firebase cloud Messaging
  • Token Handling
  • Notification Handling

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1. Clone

# Clone the repo
git clone https://github.com/jayadevpanthaplavil/pushnoti_firebase.git

2. Open cmd and install dependencies

npm install -g firebase-tools

3. Firebase configuration

Create a new Firebase project on the Firebase console

firebase login
dart pub global activate flutterfire_cli

Add environment variable

flutterfire configure
flutter pub add firebase_core
flutter pub add firebase_messaging

4. Test Notifications

Use the Firebase console to send test notifications

Contributing

Feel free to contribute to this project by opening issues or submitting pull requests. Any suggestions or improvements are welcome!

License

This project is licensed under the MIT License - see the MIT License file for details.