From 7b851494cd193c4644c80fceb8378989c5da953c Mon Sep 17 00:00:00 2001 From: Spiros Oikonomakis Date: Thu, 18 Aug 2016 11:35:45 +0300 Subject: [PATCH] Prepare the 2.0.0-alpha1 version of the library Migration from old Firebase 2.5.2 to 9.4.0 by Google Issue: - --- README.md | 9 +++++++-- rxfirebase/buildsystem/publish.gradle | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 74b3ad3..8da267e 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,11 @@ Contents Usage ----- + +Currently library supports for new Google Firebase the followings: +- Firebase Authentication `RxFirebaseAuth` +- Firebase Database `RxFirebaseDatabase` + #### Use the project with your own Firebase instance 1. Clone this repository. @@ -36,7 +41,7 @@ Usage ```java final Firebase firebaseRef = new Firebase("https://docs-examples.firebaseio.com/web/saving-data/fireblog/posts"); - RxFirebase.getInstance().observeValueEvent(firebaseRef).subscribe(new GetPostsSubscriber()); + RxFirebaseDatabase.getInstance().observeValueEvent(firebaseRef).subscribe(new GetPostsSubscriber()); private final class GetPostsSubscriber extends Subscriber { @Override public void onCompleted() { @@ -65,7 +70,7 @@ Download The project is available on jCenter. In your app build.gradle (or explicit module) you must add this: ``` dependencies { - compile 'com.ezhome:rxfirebase:2.0.0' + compile 'com.ezhome:rxfirebase:2.0.0-alpha1' } ``` diff --git a/rxfirebase/buildsystem/publish.gradle b/rxfirebase/buildsystem/publish.gradle index f9081f3..911e76e 100644 --- a/rxfirebase/buildsystem/publish.gradle +++ b/rxfirebase/buildsystem/publish.gradle @@ -2,7 +2,7 @@ publish { userOrg = 'ezhome' groupId = 'com.ezhome' artifactId = 'rxfirebase' - publishVersion = '1.0.0' - desc = 'An RxJava implementation of Firebase Android client.' + publishVersion = '2.0.0-alpha1' + desc = 'An RxJava implementation for new Firebase Android client.' website = 'https://github.com/ezhome/Android-RxFirebase' } \ No newline at end of file