https://github.com/bryanoliveira/flutter-fcm-receiver
A Flutter app to receive Firebase Cloud Messaging notifications
https://github.com/bryanoliveira/flutter-fcm-receiver
Last synced: 7 months ago
JSON representation
A Flutter app to receive Firebase Cloud Messaging notifications
- Host: GitHub
- URL: https://github.com/bryanoliveira/flutter-fcm-receiver
- Owner: bryanoliveira
- License: mit
- Created: 2020-01-18T17:55:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-26T17:03:01.000Z (over 5 years ago)
- Last Synced: 2025-01-03T01:54:44.557Z (9 months ago)
- Language: Dart
- Homepage:
- Size: 227 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flutter Firebase Cloud Messaging Receiver
A Flutter app to receive Firebase Cloud Messaging notifications. It was built to be used with [Firebase Cloud Messaging Notifier](https://github.com/bryanlincoln/fcm-notifier), a package I made to notify about Machine Learning models training status.
![]()
![]()
> App's view (left), notification center (center) and smartband (right). This is the way I use it.
The main motivation is that monitoring machine learning models' training status can be time consuming (specially when SSH-ing from the phone). Using this, monitoring becomes passive.
## Requirements
- [Flutter](https://flutter.dev/)
- A Firebase Cloud Messaging project token (see https://firebase.google.com/docs/cloud-messaging)## Usage
- Clone this repository
- Download `google-services.json` from your Firebase project and place it in `android/app`
- Connect your phone to your computer and run `flutter run`
- On the app, click the floating button to copy your device's token
- Use the token to send notifications to your phone via [FCM Notifier](https://github.com/bryanlincoln/fcm-notifier)## Contributing
This app (and [Python package](https://github.com/bryanlincoln/fcm-notifier)) are far from complete. There are some ways I imagine they could be better:
- Saving historic data, when new notifications arise
- Plotting charts with historic data
- Automatic device token synchronization between phone and reporter machine
- Easier project configuration, using some service other than Firebase.Fell free to fork this project and improve it for your needs.
## Credits
- [Flutter FCM](https://github.com/Kashifalaliwala/Flutter-FCM) was used as a starting point for notification handling.