Implementing Push Notifications for iOS and Android using Flutter

Notification Sample App ( Android & IOS )

The Flutter notification sample app showcases push notification implementation for iOS and Android. It highlights using APNs for iOS and FCM for Android, demonstrating notification handling across different app states and allowing users to subscribe to various notification channels.

In this project we are using the clean architecture with following folder breakup -> Parent folder – ( View, Bloc, Network ). We are using the modular approach for reduce the modular dependency between the each module of the project. Clean architecture also decouple the presentation layer and business layer.

Logo

drawing

Features

  • Notifcation Hanldling (Background, Foreground, When App is Killed)
  • Android & IOS Notification

Screenshots

notification_app

Requirements

  • Any Operating System (ie. MacOS, Windows, Linux)
  • Flutter
  • Android Studio or Visual Studio Code
  • Basic knowledge of Flutter/Dart

Installation

Clone the repo

  git clone https://github.com/vksep07/notification_app.git

Install the dependencies

```bash
    flutter pub get

Run the App

    flutter run

Created and maintained by

Varun Kumar

If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of ☕"Buy Me A Coffee"

License

    MIT License

Copyright (c) 2022 Varun Kumar

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.

GitHub

View Github

Description of the image

Related Posts