Skip to content

Releases: mikehardy/react-native-update-apk

v5.0.0 - AndroidX migration, drop Android 4 support, semver for version compare

12 Jun 16:57
5940969
Compare
Choose a tag to 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...v5.0.0

v4.5.1 - Xcode 12 build compatibility

17 Sep 21:02
bf4b869
Compare
Choose a tag to compare
  • fix(ios): depend directly on React-Core instead of transitively via React 1553a9f
  • chore: yarn upgrade --latest f16aa78
  • chore(CHANGELOG): prepare release notes for 4.5.1 6bd7205
  • chore: update dependencies / refresh example 5cc07da
  • chore: upgrade dependencies d8581e9

v4.5.0...v4.5.1

v4.5.0 - apkOptions, similar to apkVersionOptions - custom headers for APK fetch

27 Jun 04:20
97d6f3b
Compare
Choose a tag to compare

v4.5.0

  • feat: add apkOptions for custom HTTP method/headers in APK fetch (#34, thanks again @rejunges!)

  • 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...v4.5.0

v4.4.0 - custom HTTP options, better App Store URL, 'whats new' info

25 Jun 18:35
94a8022
Compare
Choose a tag to compare

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...v4.4.0

v4.3.2 - change internal variable name for unknown babel compatability issue

08 May 20:16
eb04c57
Compare
Choose a tag to compare
  • chore: yarn upgrade --latest && refresh-example.sh 6f8e8d5
  • Capital GET breaks babel compile 95e6c41
  • chore: upgrade dependencies / refresh-example.sh 2c17fe9

v4.3.1...v4.3.2

v4.3.1 - allow appCompatVersion as gradle var vs supportLibVersion

05 Mar 10:17
10db4e0
Compare
Choose a tag to compare
  • fix: allow precise specification of appCompatVersion as gradle variable e0721db
  • chore: prepare for release 4.3.1 6c91987
  • chore: update dependencies be1b6f2

v4.3.0...v4.3.1

v4.3.0 - progress callback enhancement, android compile fix

08 Dec 15:42
aede4de
Compare
Choose a tag to compare
  • 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...v4.3.0

v4.2.1 - np as devDependency, updated example

08 Dec 15:27
88b65a3
Compare
Choose a tag to compare
  • chore: set np dependency as devDependency (thanks @nuKs!) ca870fd
  • chore: update example using refresh-example.sh script 19ab0b2
  • chore: update refresh-example.sh script to pin new android versions 318f56c
  • chore: yarn upgrade --latest a692609
  • chore: prepare for 4.2.1 release f337608

v4.2.0...v4.2.1

v4.2.0 - can compare by build number (not version name) now, cleanups

22 Sep 00:18
48f6aee
Compare
Choose a tag to compare
  • 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

v4.1.0...v4.2.0

v4.1.0 - added Pod support for react-native 0.60+

22 Sep 00:19
bb2355e
Compare
Choose a tag to compare