RxFirebase

Additional

Language
Java
Version
N/A
Created
Jul 14, 2015
Updated
Apr 20, 2017
Owner
Andrew Chen (yongjhih)
Contributors
Andrew Chen (yongjhih)
Taeho Kim (kunny)
b3er
3
Activity
Badge
Generate
Download
Source code

Blurb

RxFirebase

RxJava binding APIs for Firebase Android SDK.

Usage

RxFirebaseAuth.changes(FirebaseAuth.getInstance()).subscribe();
FirebaseAuth.getInstance().changes().subscribe()
RxFirebaseRemoteConfig.fetches(firebaseRemoteConfig).subscribe();
firebaseRemoteConfig.fetches().subscribe();
RxFirebaseAuth.getCurrentUser(FirebaseAuth.getInstance()).subscribe();
RxFirebaseAuth.getCurrentUser(FirebaseAuth.getInstance()).subscribe();
RxFirebaseAuth.signInAnonymous(FirebaseAuth.getInstance()).subscribe();
RxFirebaseUser.updateProfile(user, new UserProfileChangeRequest.Builder()
        .setDisplayName("Andrew Chen")
        .setPhotoUri(Uri.parse("https://github.com/yongjhih/rxfirebase/art/rxfirebase.png"))
        .build())
        .subscribe();
RxFirebaseDatabase.dataChanges(ref).subscribe();
RxFirebaseDatabase.data(ref).subscribe();

See official documentation for the details.

Installation

compile 'com.github.yongjhih.rxfirebase:rxfirebase2-config:-SNAPSHOT'
compile 'com.github.yongjhih.rxfirebase:rxfirebase2-config-kotlin:-SNAPSHOT' // for kotlin
compile 'com.github.yongjhih.rxfirebase:rxfirebase2-auth:-SNAPSHOT'
compile 'com.github.yongjhih.rxfirebase:rxfirebase2-auth-kotlin:-SNAPSHOT' // for kotlin
compile 'com.github.yongjhih.rxfirebase:rxfirebase2-database:-SNAPSHOT'
compile 'com.github.yongjhih.rxfirebase:rxfirebase2-database-kotlin:-SNAPSHOT' // for kotlin
compile 'com.github.yongjhih.rxfirebase:rxfirebase2-storage:-SNAPSHOT'
compile 'com.github.yongjhih.rxfirebase:rxfirebase2-storage-kotlin:-SNAPSHOT' // for kotlin

// TODO: compile 'com.github.yongjhih.rxfirebase:rxfirebase2-messaging:10.2.1'
// TODO: compile 'com.github.yongjhih.rxfirebase:rxfirebase2-messaging-kotlin:10.2.1'
// TODO: compile 'com.github.yongjhih.rxfirebase:rxfirebase2-crash:10.2.1'
// TODO: compile 'com.github.yongjhih.rxfirebase:rxfirebase2-crash-kotlin:10.2.1'

// TODO: compile 'com.github.yongjhih.rxfirebase:rxfirebase2-invites:10.2.1'
// TODO: compile 'com.github.yongjhih.rxfirebase:rxfirebase2-invites-kotlin:10.2.1'
// TODO: compile 'com.github.yongjhih.rxfirebase:rxfirebase2-ads:10.2.1'
// TODO: compile 'com.github.yongjhih.rxfirebase:rxfirebase2-ads-kotlin:10.2.1'
// TODO: compile 'com.github.yongjhih.rxfirebase:rxfirebase2-appindexing:10.2.1'
// TODO: compile 'com.github.yongjhih.rxfirebase:rxfirebase2-appindexing-kotlin:10.2.1'

Comparison

Multiple Libs RxJava2 Kotlin Unit Test RxTasks jitpack auth database storage config crash messaging
yongjhih/rxfirebase x x x x x x x x x x * *
nmoskalenko/RxFirebase - - - x - - x x x - - -
kunny/RxFirebase x x x x - - x x - - - -
ezhome/Android-RxFirebase - - - x - - x x - - - -
b3er/RxFirebase2 x x x x ! - x x x - - -
ashdavies/rx-firebase - x - x x - x x - - - -
FrangSierra/Rx2Firebase - x - x - x x x x - - -

See Also

License

Copyright 2017 Andrew Chen
Copyright 2016-2017 Taeho Kim <jyte82@gmail.com>

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.