Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Releases: solrudev/SimpleInstaller

5.0.0

04 Dec 12:53
Compare
Choose a tag to compare

Deprecated!

SimpleInstaller is deprecated in favor of Ackpine, a robust package installer library with more rich API. SimpleInstaller won't receive updates anymore.

  • Remove deprecated methods.
  • Remove intrusive behavior of DEFERRED confirmation: dismissing keyguard, using full-screen intent. USE_FULL_SCREEN_INTENT and DISABLE_KEYGUARD permissions were removed. Also it allowed to make DEFERRED confirmation's behavior consistent on old and new Android versions, as on old versions full-screen intent behaved like IMMEDIATE confirmation.
  • Enable vibration and lights for library's notification channel.
  • Bump compileSdk to 34.
  • Update androidx.lifecycle to 2.6.2.
  • Update Gradle to 8.5.
  • Update AGP to 8.2.0.
  • Update Kotlin to 1.9.21.

Full Changelog: 4.4.1...5.0.0

4.4.1

03 Sep 15:59
Compare
Choose a tag to compare
  • Fix falling back to using ContentResolver instead of Java File API when file path has mnt/media_rw in the middle.
  • Update Gradle to 8.3.
  • Update AGP to 8.1.1.
  • Update Kotlin to 1.9.10.

Note: check out Ackpine, a robust package installer library with more rich API. All new features will be introduced there, SimpleInstaller is now in maintenance mode.

Full Changelog: 4.4.0...4.4.1

4.4.0

09 Aug 06:53
Compare
Choose a tag to compare
  • Raise deprecations level to ERROR.
  • Implementation now uses only ApkSource.openAssetFileDescriptor().
  • Update kotlinx.coroutines to 1.7.3.

Note: check out Ackpine, a robust package installer library with more rich API. All new features will be introduced there, SimpleInstaller is now in maintenance mode.

Full Changelog: 4.3.1...4.4.0

4.3.1

28 Jun 08:04
Compare
Choose a tag to compare
  • Don't throw if underlying file descriptor is not readable when handling Uri.
  • Update Gradle to 8.1.1 and AGP to 8.0.2.
  • Update Kotlin to 1.8.22.

Full Changelog: 4.3.0...4.3.1

4.3.0

26 May 18:44
Compare
Choose a tag to compare
  • Introduce ApkSource.openAssetFileDescriptor() method.
  • Deprecate ApkSource.length and ApkSource.openInputStream().
  • Update kotlinx.coroutines to 1.7.1.

Full Changelog: 4.2.4...4.3.0

4.2.4

23 May 19:39
Compare
Choose a tag to compare
  • Avoid creating temporary copy of APK on API level < 21 when passing Uri if possible.
  • Parallel streaming of split APKs into PackageInstaller.Session.
  • Fix InstallLauncherActivity on API level >= 21 hanging if navigating back happens just right when system package installer Activity starts.
  • Abort session if InstallLauncherActivity was finished by user by navigating back before system package installer Activity started.
  • Remove Okio dependency.

Full Changelog: 4.2.3...4.2.4

4.2.3

21 May 12:46
Compare
Choose a tag to compare
  • Fix not using value of AssetFileDescriptor length when getting APK length if ApkSource is UriApkSource.
  • Fix sessions failing after first session completion in some cases.
  • Remove app bar from launcher activities and add loading spinner to them.
  • Update Kotlin to 1.8.21.
  • Update Gradle to 7.6.1.
  • Update AGP to 7.4.2.
  • Update dependencies.

Full Changelog: 4.2.2...4.2.3

4.2.2

14 Dec 22:21
Compare
Choose a tag to compare
  • Fix issues with coroutine cancellation (e.g. if uninstallation coroutine was canceled, next uninstallPackage() call will hang indefinitely even after session is completed).

Full Changelog: 4.2.1...4.2.2

4.2.1

07 Nov 16:12
Compare
Choose a tag to compare
  • Remove unnecessary reflection when trying to get application label of an APK to install.

Full Changelog: 4.2.0...4.2.1

4.2.0

31 Oct 14:05
Compare
Choose a tag to compare
  • Update compileSdk and targetSdk to 33.
  • Set maxSdkVersion for WRITE_EXTERNAL_STORAGE permission.
  • Update AGP to 7.3.1.
  • Update Kotlin to 1.7.20.

Full Changelog: 4.1.3...4.2.0