Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit c524ba0

Browse files
committed
Update readme
1 parent 3c69526 commit c524ba0

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

readme.MD

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
## Purpose of library
44
Many applications have need to tell users to update current application because they have outdated version. Google Play doesnt support any API for that so we need to use custom solution. This library will compare current application version number to the versions that are stored in remote locations (Api request/Firebase Remote Config, ...) and show dialog to user with prompt to update his app.
55

6+
7+
This library is based on RxJava2
68
## Usage
79
The simplest way for use this library is
810
```java
@@ -54,19 +56,19 @@ Two basic implementation are provided in separate modules - Firebase Remote Conf
5456
### Firebase Remote Config
5557
Class `FirebaseVersionFetcher` takes optional argument for cache expiration of fetched data from Firebase Remote Config. Default names of attributes are `minimal_version_android` and `current_version_android` but you can modify that with constructor attributes.
5658
```groovy
57-
compile "cz.ackee.updatechecker:firebase-fetcher:x.x.x"
59+
compile "cz.ackee.updatechecker:firebase-fetcher2:x.x.x"
5860
```
5961

6062

6163
### Rest Api
6264
Class `RestVersionFetcher` accepts as argument base url of server. On url GET ${baseUrl}/app-version is expected response with attributes `minimal_version_android` and `current_version_android` (names can be also modified)
6365
```groovy
64-
compile "cz.ackee.updatechecker:rest-fetcher:x.x.x"
66+
compile "cz.ackee.updatechecker:rest-fetcher2:x.x.x"
6567
```
6668
## Dependencies
6769
For current version check `gradle.properties` file
6870
```groovy
69-
compile "cz.ackee.updatechecker:status-resolver:x.x.x"
71+
compile "cz.ackee.updatechecker:status-resolver2:x.x.x"
7072
```
7173

7274

0 commit comments

Comments
 (0)