GDX Fireapp
A libGDX cross-platform API for Firebase.
Getting Started
The first thing you should do is installing Firebase SDK and add gradle dependencies.
Android guide - iOS guide - HTML guide - ProGuard required rules
Core
implementation "pl.mk5.gdx-fireapp:gdx-fireapp-core:$gdxFireappVersion"
Android
implementation "pl.mk5.gdx-fireapp:gdx-fireapp-android:$gdxFireappVersion"
iOS
implementation "pl.mk5.gdx-fireapp:gdx-fireapp-ios-moe:$gdxFireappVersion"
GWT
implementation "pl.mk5.gdx-fireapp:gdx-fireapp-html:$gdxFireappVersion"
The latest version was built using libGDX 1.9.8, multi-os-engine 1.4.3, gwt 2.8.0, iOS firebase sdk 5.x, android firebase sdk 16.x
Basics
API is something like bridge between libGDX app and firebase sdk. It's cover firebase functionality so if you have some knowledge about firebase SDK - using this API should be intuitive for you.
To initialize Firebase SDK just put this line somewhere in your app initialization code:
GdxFIRApp.inst().configure();
Firebase Analytics should start working just after this step.
If you added Fabric/Crashlytics to your project you should initialize it also:
GdxFIRCrash.inst().initialize();
Examples
To see some examples please go to examples wiki page.
Useful links
What's next?
- roboVM ios backend
- Better wiki/documentation
- Cloud Firestore
- Facebook, github authorization
- Messaging
- Upload task monitoring
Features
- Analytics
- Authentication
- Database
- Storage
- Crash raporting (Crashlytics)
- Messaging
Platforms
- Android
- iOS (Multi-os Engine)
- GWT
License
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.