Qml React Demo
Minimal example of interaction with a React application from a native Aurora application. The example transfers data from the NFC adapter to a react application and translates the button click event into a native qml element.
Terms of Use and Participation
The source code of the project is provided under the license, which allows its use in third-party applications.
The contributor agreement documents the rights granted by contributors of the Open Mobile Platform.
Code of conduct is a current set of rules of the Open Mobile Platform which informs you how we expect the members of the community will interact while contributing and communicating.
Information about the contributors is specified in the AUTHORS file.
Project Structure
The project has a common structure of an application based on C++ and QML for Aurora OS.
- ru.auroraos.QmlReactDemo.pro file describes the project structure for the qmake build system.
- icons directory contains application icons for different screen resolutions.
-
qml directory contains the QML source code and the UI resources.
- cover directory contains the application cover implementations.
- icons directory contains the custom UI icons.
- pages directory contains the application pages.
- js directory contains the event listener source code.
- react directory containing the assembled React application.
- QmlReactDemo.qml file provides the application window implementation.
- rpm directory contains the rpm-package build settings. ru.auroraos.QmlReactDemo.spec file is used by rpmbuild tool.
-
src directory contains the C++ source code.
- main.cpp file is the application entry point.
- translations directory contains the UI translation files.
- ru.auroraos.QmlReactDemo.desktop file defines the display and parameters for launching the application.
- react-app directory contains the React source code.