You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Add RxGcm dependency and Google Services plugin to project level build.gradle.
15
15
apply plugin: 'com.google.gms.google-services'
16
16
17
17
dependencies {
18
-
compile 'com.github.VictorAlbertos:RxGcm:0.2.8'
18
+
compile 'com.github.VictorAlbertos:RxGcm:0.2.9'
19
19
compile 'io.reactivex:rxjava:1.1.5'
20
20
}
21
21
```
@@ -198,7 +198,7 @@ public class RxSampleApp extends Application {
198
198
RxGgm asks to Google for a token. But if the token is already cached, the observable will complete without emitting the item.
199
199
200
200
### Threading
201
-
RxGcmuses internally [RxAndroid](https://github.com/ReactiveX/RxAndroid). Thanks to this, each observable created by RxGcm observes on the Main Thread and subscribe on an IO thread.
201
+
`RxGcm.register` method uses internally [RxAndroid](https://github.com/ReactiveX/RxAndroid). Thanks to this, the observable provided observes on the Main Thread and subscribes on an IO thread.
202
202
This means you do not need to worry about threading and sync. But if you need to change this behaviour, you can do it easily setting in which scheduler the observable needs to observe and subscribe.
0 commit comments