Migration to version 2.x
Mk5 edited this page Mar 22, 2019
·
2 revisions
Version 2.x brings some breaking changes so if you would like to update your gdx-fireapp version from 1.x to 2.x you should be prepared for some refactoring inside your application.
Breaking changes:
- No more callbacks. The gdx-fireapp use now some kind of promises to do async flow. More information here: Promises
- The API packaging had changed. It must happen at some point - version 2 brings breaking changes anyway so the new minor is a good place for such change.
- The GdxFIRStorage#upload has different signature now
Despite the breaking changes version 2 brings some general improvements and bug fixes. The main feature of v2 is "promises API", you can read about it here: Promises
- Getting started
-
Usage 2.x/3.x
- Promises
- Filtering API
- Google Sign in
- Apple Sign in
- Mock other platforms
- Debug
- Database POJO Conversion
-
Examples
- Anonymous authentication
- Create user
- Sign in / Sign out
- Google sign in
- User management
- Upload image to storage
- Download image from storage
- Upload bytes to storage
- Download bytes from storage
- Delete something from storage
- Analytics API methods
- Crash API methods
- Database read value
- Database read object
- Database set value
- Database limit equal
- Database reference listener
- Database read objects list
- Database child event
- Database transaction
- Database sharding
- Database onDisconnect
- General examples
- Kotlin
- Usage 1.x
- Donate