Releases: solrudev/SimpleInstaller
5.0.0
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
andDISABLE_KEYGUARD
permissions were removed. Also it allowed to makeDEFERRED
confirmation's behavior consistent on old and new Android versions, as on old versions full-screen intent behaved likeIMMEDIATE
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
- Fix falling back to using
ContentResolver
instead of Java File API when file path hasmnt/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
- 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
- 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
- Introduce
ApkSource.openAssetFileDescriptor()
method. - Deprecate
ApkSource.length
andApkSource.openInputStream()
. - Update kotlinx.coroutines to 1.7.1.
Full Changelog: 4.2.4...4.3.0
4.2.4
- 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
- Fix not using value of
AssetFileDescriptor
length when getting APK length ifApkSource
isUriApkSource
. - 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
- 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
- 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
- Update
compileSdk
andtargetSdk
to 33. - Set
maxSdkVersion
forWRITE_EXTERNAL_STORAGE
permission. - Update AGP to 7.3.1.
- Update Kotlin to 1.7.20.
Full Changelog: 4.1.3...4.2.0