Skip to content

Commit

Permalink
Prepare the 2.0.0-alpha1 version of the library
Browse files Browse the repository at this point in the history
Migration from old Firebase 2.5.2 to 9.4.0 by Google

Issue: -
  • Loading branch information
spirosoik committed Aug 18, 2016
1 parent 0fe76da commit 7b85149
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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<DataSnapshot> {
@Override public void onCompleted() {
Expand Down Expand Up @@ -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'
}
```

Expand Down
4 changes: 2 additions & 2 deletions rxfirebase/buildsystem/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}

0 comments on commit 7b85149

Please sign in to comment.