Awesome Open Source
Awesome Open Source

RxFirebase

Android Arsenal CircleCI codecov

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 <[email protected]>

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.


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (396,605
Kotlin (49,176
Firebase (21,573
Bindings (17,073
Rxjava2 (4,225
Rxjava (4,225
Rx (2,597