Skip to content
/ notify Public

Flutter sample app having push notification integration

License

Notifications You must be signed in to change notification settings

sbis04/notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Flutter sample app having push notification integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published