- BREAKING: remove patchSSLProvider() - was only needed for Android 4.x, react-native no longer supports 4.x
- BREAKING: forward port to AndroidX, depends on androidx.appcompat only now
- BREAKING: use semver.lt method to compare versions (PR #41, thanks @gaodeng!)
If you need to support Android 4.x with APK updates over SSL, do not update to v5 here.
If you have versions that are not semver-compatible, fix those so that installed apps and your updates have semver-compatible versions, and then update to v5 here.
If you still cannot update to AndroidX, either run jetifier in reverse mode on this library, or stay on v4 here.
- fix(ios): depend directly on React-Core instead of transitively via React (@mikehardy)
- feat: add apkOptions for custom HTTP method/headers in APK fetch (#34, thanks again @rejunges!)
- feat: add apkVersionOptions for custom HTTP method/headers (#33, thanks @rejunges!)
- feat: add whatsNew to version object definition (#32, thanks @bshubham80!)
- fix: use different / more generic URL for iOS app lookup (#30, thanks @jiapeng007!)
- fix: Capital GET breaks babel compile (#28, thanks @gstcyr!)
- fix: obtain android appcompat library from appCompatVersion gradle variable if possible (@mikehardy)
- chore: update dependencies (@mikehardy)
- feat: expose content length and bytes written to progress call back as args 2 & 3 (thanks @cani1see!)
- fix: use implementation vs compileOnly for android react-native dep (thanks @ilianamarcano!)
- fix: 'np' package should be a dev dependency (thanks @nuKs!)
- chore: update refresh-example to use modern android libraries
- chore: update example using refresh-example
- feat: compare by version code first, fallback to version name (Fixes #9)
- fix: handle openURL deprecation warning with iOS9 protection (Fixes #15)
- fix: attempt fix onError() not called when reading APK info fails after download (Fixes #14)
- fix: attempt to eliminate main queue setup warning in iOS
- build: only define android project for module maintenance, not in projects (react-native-community/discussions-and-proposals#151 (comment))
- chore: prefix all log output with
RNUpdateAPK::<method name>
- chore: switch to yarn from npm
- Add cocoapods support / example fix for iOS
- Backwards-compatible support for react-native 0.60
- Allow seperate versioning for Play Services auth
- Altered return object shape of previous xxxApps() APIs to return more info
- Added getApps() and getNonSystemApps() to list installed packages
- Correctly call onError() when getApkInfo has a native error (like corrupt download)
- Enhanced the README, changed TODO to match current state of the project
- Continuing to add FileProvider example notes, better exception handling This is easily the part that can trip people up the most
- Added extensive notes to the example about purpose of each demonstrated feature
- Altered example FileProvider name to be consistent with rn-share-blob to help users
- Fix issue introduced in v3.0.0 with installing package on old devices This works now in my testing from API16 to API28, assuming API16-20 have Google Play Services if you want to download over SSL
- Switch to non-deprecated Play Services availability APIs
- Attempt to use Play Services to patch SSL for Android <5
- Example updated to show how to handle SSL download errors
- Fix (and upload) new example, with download progress
- Expose certificate signing info on installed and downloaded package
- Bugfix on FileProvider / API24 changes
- Use FileProvider so API24+ works
- Expose lots of information about the package
- Basically working post-fork
- Includes a usage example now
- First release post-fork - basic compilation, reorganization