Releases: mikehardy/react-native-update-apk
Releases · mikehardy/react-native-update-apk
v5.0.0 - AndroidX migration, drop Android 4 support, semver for version compare
5.0.0
- 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.
automated changelog follows
- chore: commit yarn.lock from semver install b97e7d8
- docs(CHANGELOG): prepare for v5 release 37be46c
- BREAKING: use semver.lt to compare versions, handle error messages better (#41) 5071946
- chore: refresh example 276f870
- BREAKING: drop support for API<21, no SSL patch needed now 3841279
- chore: yarn upgrade --latest to bump all dependencies f57ab3f
- chore: update dependencies ebda923
v4.5.1 - Xcode 12 build compatibility
v4.5.0 - apkOptions, similar to apkVersionOptions - custom headers for APK fetch
v4.5.0
- chore: prepare for 4.5.0 release 0384360
- Added apkOptions to UpdateApk. apkOptions is optional and complements or replaces the DownloadFileOptions (from react-native-fs) to download the new Apk 2a22bfb
- Add headers param to download the new APK file. 1ce5a66
- docs(CHANGELOG): fix changelog formatting 09fa9aa
v4.4.0 - custom HTTP options, better App Store URL, 'whats new' info
4.4.0 Changelog
- 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!)
Commit log follows
- Added what news text 6e446bf
- Add apkVersionOptions to UpdateAPK options. apkVersionOptions should be used if you need to pass options to fetch request. Method get calls fetch with url and options now. 3d27bf8
- Update index.js 372e6e6
- Update index.js 5db090f
- docs: add download counts in readme 4bda32e
- chore: prepare for release 4.4.0 91df196
- chore: yarn upgrade --latest 0f8b049
- chore: yarn upgrade --latest / refresh-example.sh 49fba5e
v4.3.2 - change internal variable name for unknown babel compatability issue
v4.3.1 - allow appCompatVersion as gradle var vs supportLibVersion
v4.3.0 - progress callback enhancement, android compile fix
- feat: expose content length and bytes written in progress callback (thanks @cani1see!) fa10ae7
- chore: use implementation vs compileOnly for react-native dependency (thanks @ilianamarcano!) 23a8381
- chore: prepare for release 4.3.0 dfd20ea
v4.2.1 - np as devDependency, updated example
v4.2.0 - can compare by build number (not version name) now, cleanups
- feat: compare by version code first, fallback to version name (Fixes #9) eb42978
- fix: attempt to eliminate main queue setup warning in iOS 856bba2
- fix: handle openURL deprecation warning with iOS9 protection (Fixes #15) c6e7fb7
- example: use SafeAreaView in place of View so notch etc is respected 2b45ac0
- fix: only attempt to get apps for android, app method exports are async 3fe12fe
- fix: re-throw error when APK info read fails, should call correct handlers now (Fixes #14) b2be80e
- docs: prepare CHANGELOG for 4.2.0 release 18d1e48
- build: only define android project for module maintenance, not in projects 6de6985
- logging: prefix all log output with 'RNUpdateAPK::' ac1b70c
- example: fix comment grammar, output apps content correctly in log a223dc6
- test: push new test-version.json that includes versionCode for testing 947a8aa
- test: define test lifecycle script, but it is empty for now b88bbe3
- chore: update Podfile.lock after example update to RN60 cd14296
- chore: alter module maintainence command from dev-copy to dev-sync fe2fb37
- chore: switch from npm to yarn ae872ee
- chore: refresh example, switch to yarn (fixes vulnerabilities in dependencies) 8dc765a
- chore: npm update 3a59605