Skip to content

emericg/MobileNotification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

MobileNotification

MobileNotification allows Qt / QML mobile applications to post notifications and set app icon badges.

You can see it in action in the MobileNotification demo.

Supports Qt 6.8+ with CMake.

Supports iOS 16+. Tested up to iOS 17.7 devices.

Supports Android 9+ (API 28). Tested up to Android 16 (API 36) devices.

Warning

Still a work in progress at the moment...

Features

  • Android notifications
  • Android application icon badge number (best effort)
  • iOS notifications
  • iOS application icon badge number

Quick start

Build

To get started, simply checkout the MobileNotification repository as a submodule, or copy the MobileNotification directory into your project, then include the CMakeLists.txt CMake project file:

add_subdirectory(MobileNotification/)
target_link_libraries(${PROJECT_NAME} PRIVATE MobileNotification MobileNotification_plugin)

You might need some hacks so the QML Language Server recognize the MobileNotification module:

set(QML_IMPORT_PATH "${CMAKE_BINARY_DIR}/MobileNotification/" CACHE STRING "QML Modules import paths" FORCE)
set(QT_QML_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})

Setup

TODO

Use

TODO

Documentation

TODO

Caveats

TODO

Licensing

This project is licensed under the MIT license.

Copyright (c) 2026 Emeric Grange (emeric.grange@gmail.com)

About

Allows Qt / QML mobile applications to post notifications and set app icon badges

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors