li3p / QtFirebase

An effort to bring the Firebase C++ API to Qt + QML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QtFirebase

An effort to bring the Firebase C++ API to Qt 5

QtFirebase aims to bring all the features of the Firebase C++ SDK to Qt 5 - both as C++ wrappers and as QML components.

Please bear in mind that the Firebase C++ SDK currently only supports the mobile platforms Android and iOS.

You can still build QtFirebase on other platforms as the project provides "empty shells" or placeholder components - they just return default/empty values when used. Because of this you won't see e.g. ads from AdMob in your desktop builds.

This is due to Google's own limitations in the Firebase C++ SDK implementation.

Features / Status

The following features have a working Qt 5 C++ and QML counterpart

Feature Library C++ QML Credits
Base libapp.a Lars Pontoppidan
AdMob libadmob.a Lars Pontoppidan
Analytics libanalytics.a Lars Pontoppidan
Authentication libauth.a in progress 🔧 Isy
Realtime Database libdatabase.a in progress 🔧 greenfield932
Invites and Dynamic Links libinvites.a
Cloud Messaging libmessaging.a Isy
Remote Config libremote_config.a greenfield932
Storage libstorage.a

Contributors

Without these good people this project would not exist.

Lars Pontoppidan (Maintainer, project founder), greenfield932 (Remote Config, Misc.), Isy (Cloud Messaging, Misc.), Andrew Dolby (adolby) (Cloud Messaging, Misc.), li3p (Bugs, Misc.), morebest (Bugs, Misc.)

Tested Firebase C++ SDK versions

Base, AdMob, Analytics Up until commit cb52be83

  • v2.1.0
  • v2.1.1
  • v2.1.2

RemoteConfig

  • v3.1.0
  • v4.0.1

Cloud Messaging

  • v4.0.3
  • v4.1.0

We recommend you build against the latest version of the Firebase C++ SDK.

Stability

The Firebase C++ SDK has a lot of stability issues - which QtFirebase does its best to work around by wrapping the API into more Qt/C++ friendly classes that prevent some of the bugs and crashes found so far. Please use the latest SDK version to get the latest fixes.

Setup

For a working and up-to-date example please follow the Quick start section found in the QtFirebaseExample README.

Please see SETUP.md for instructions on how to set up QtFirebase in your Qt Creator project.

Examples

Please look at the QtFirebaseExample repository. In SETUP.md you will find details on what to add to your project files (gradle.build, Info.plist, etc.).

Documentation

Under heavy construction.

Support

Possible ways of getting support:

Possible ways of giving support

  • Comment helpfully on issues
  • Fork, Change, Make a Pull Request
  • Share online
  • Buy QtFirebase ❤'s You'll get a personal email full of hearts from Black Grain!

In the wild

The following is a list of software that uses QtFirebase

About

An effort to bring the Firebase C++ API to Qt + QML

License:MIT License


Languages

Language:C++ 93.7%Language:QMake 5.0%Language:Objective-C++ 1.1%Language:Objective-C 0.1%Language:Shell 0.1%Language:C 0.0%Language:QML 0.0%