Skip to content

Commit 7b85149

Browse files
committed
Prepare the 2.0.0-alpha1 version of the library
Migration from old Firebase 2.5.2 to 9.4.0 by Google Issue: -
1 parent 0fe76da commit 7b85149

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ Contents
1717

1818
Usage
1919
-----
20+
21+
Currently library supports for new Google Firebase the followings:
22+
- Firebase Authentication `RxFirebaseAuth`
23+
- Firebase Database `RxFirebaseDatabase`
24+
2025
#### Use the project with your own Firebase instance
2126

2227
1. Clone this repository.
@@ -36,7 +41,7 @@ Usage
3641

3742
```java
3843
final Firebase firebaseRef = new Firebase("https://docs-examples.firebaseio.com/web/saving-data/fireblog/posts");
39-
RxFirebase.getInstance().observeValueEvent(firebaseRef).subscribe(new GetPostsSubscriber());
44+
RxFirebaseDatabase.getInstance().observeValueEvent(firebaseRef).subscribe(new GetPostsSubscriber());
4045

4146
private final class GetPostsSubscriber extends Subscriber<DataSnapshot> {
4247
@Override public void onCompleted() {
@@ -65,7 +70,7 @@ Download
6570
The project is available on jCenter. In your app build.gradle (or explicit module) you must add this:
6671
```
6772
dependencies {
68-
compile 'com.ezhome:rxfirebase:2.0.0'
73+
compile 'com.ezhome:rxfirebase:2.0.0-alpha1'
6974
}
7075
```
7176

rxfirebase/buildsystem/publish.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ publish {
22
userOrg = 'ezhome'
33
groupId = 'com.ezhome'
44
artifactId = 'rxfirebase'
5-
publishVersion = '1.0.0'
6-
desc = 'An RxJava implementation of Firebase Android client.'
5+
publishVersion = '2.0.0-alpha1'
6+
desc = 'An RxJava implementation for new Firebase Android client.'
77
website = 'https://github.com/ezhome/Android-RxFirebase'
88
}

0 commit comments

Comments
 (0)