Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
revanmj authored Jul 8, 2018
1 parent 5e29e09 commit 74cc122
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ Android-WVersionManager
Things changed/added by this fork:
- Convert WVersionManager library to an Android Studio project and remove depency on deprecated org.apache.http library (replacing all calls with URLConnection or HttpURLConnection)
- Add option to download update using Android's Download Manager. Remember that your app must have "android.permission.WRITE_EXTERNAL_STORAGE" permission for this to work:
```versionManager.useDownloadManager(true);```
`versionManager.useDownloadManager(true);`
- Add option to automatically open downloaded APK file, as long as app has proper permissions in Oreo (android.permission.REQUEST_INSTALL_PACKAGES) or Unknown sources is enabled in case of lower versions. Otherwise Downloads app will be launched):
```versionManager.installAfterDownload(true);```
`versionManager.installAfterDownload(true);`
- Add option to force update check (by ignoring remind timer): `versionManager.checkVersion(true);`
- Instead of setting strings (like button labels) by code, let them be overridden by adding them to app's strings.xml file (list of all string ids from this library can be [seen here](https://github.com/revanmj/Android-WVersionManager/blob/master/library/wversionmanager/src/main/res/values/strings.xml))

Compiled .jar file can be downloaded from [releases tab](https://github.com/revanmj/Android-WVersionManager/releases) or added in build.gradle from jcenter repo:
```
dependencies {
implementation 'com.winsontan520.wversionmanager:wversionmanager:1.6'
implementation 'com.winsontan520.wversionmanager:wversionmanager:1.6.1'
}
```

Expand Down

0 comments on commit 74cc122

Please sign in to comment.