Push Catcher
Description
The application allows you to receive push notifications. The example is intended to familiarize developers with the work of the plugin
push aurora and shows how to integrate it into an application.
Push notifications can work both when the application is open and when the application is closed or minimized (working in the background).
All notifications delivered to the device are received via push service push-daemon.service
and for each of them a graphical representation is created using Notifications API.
representation with the help of Notifications API. It can be displayed as a popup or placed in the notifications curtain.
Clicking on any of them launches a GUI application.
The following dependencies are used for the application:
Table of Contents
- Build features
- Branch info
- Install and launch
- Screenshots
- Project Structure
- Terms of Use and Participation in Development
Build features
Go to the directory with the application, first update the dependencies:
flutter-aurora pub get
Launch build:
flutter-aurora run
Branch info
Application versions conform to the branch naming convention
Install and launch
Install
Before launching the application you should read the documentation, which describes how to work with the push server and get the necessary .yml config files and applicationIDs for this application.
It is recommended to read the README file of the plugin before running the application.
Launch
After getting the applicationID, you need to put it in the .env file in PUSH_APPLICATION_ID
. After startup, make sure that the registrationID is received by the application.
Screenshots
Project Structure
The project has a standard application structure based on Dart and Flutter for Aurora OS.
- aurora directory contains C++ source code and resources needed for installation.
- lib directory contains Dart plugin source code.
- The pubspec.yaml file describes the dependencies and settings of the plugin name.
Terms of Use and Participation in Development
The source code of the project is provided under license, which allows to use it in third-party applications.
To participate in the development of the project, please read the member agreement. If you plan to submit your own source code for inclusion in the project, you will need to accept the CLA terms and conditions.
Participant information is listed in the AUTHORS file.
The Code of Conduct is the current set of rules of the Open Mobile Platform Company, which informs about the expectations for interaction between community members when communicating and working on projects.