Releases: HeyPouya/AndroidAppUpdater
11.0.2
11.0.1
What's Changed
Fixed crash when only directDownloadList is provided
In previous versions, the SDK would crash if storeList was not set, even when directDownloadList was provided.
This update ensures the SDK works correctly as long as at least one of the two lists (storeList or directDownloadList) is provided. A crash will now only occur if both are missing.
11.0.0
📦 Version 11.0.0 - Release Notes
⚠️ Breaking Change:
This release includes significant changes that are not backward-compatible with previous versions.
To update, you will need to reimport and use new classes.
Please refer to the updated README for updated usage examples.
✅ What’s New
-
Improved Code Coverage:
Unit test coverage has been increased to 85%, ensuring all critical parts of the codebase are tested. -
UI Test Support:
Added UI tests to ensure future changes do not introduce regressions and to improve overall reliability for contributors. -
Simplified Integration API:
The integration process is now easier and better defined, making it more developer-friendly. -
Better Image Quality & Size:
Default image assets are now higher quality while reducing their file size for performance optimization. -
Modernized Dependencies:
All library dependencies have been upgraded to their latest stable versions. -
Rewritten Internal Architecture:
Major refactoring of internal code structure to make the library more scalable, maintainable, and testable. -
New Error Callback:
Introduced anonErrorcallback to provide meaningful feedback to developers in case of failures, replacing silent toast messages. -
Minimum SDK Increased:
minSdkVersionis now 23 (was 16), aligning with modern Android development standards. -
UI Enhancements:
Improved layout with better paddings, optimized image sizes, and updated text truncation for a more polished user experience. -
Internal APIs Scoped:
Many internal classes have been marked asinternalto prevent accidental usage by developers. -
Support for SDK 35 (Android 15):
The library is now compatible with the latest Android SDK version. -
Improved Downloader State Handling:
The APK downloader now reflects its state more accurately, enhancing transparency for users and developers. -
Updated Demo App:
The sample/demo app has been refreshed with a modern look and feel.
10.0.0
Added:
- Added feature to set the dark or light mode automatically based on SYSTEM_DEFAULT's theme
- Made dialog's width cover 80% of the screen
- If there is only 1 store to show, now dialog shows it in the center for a symmetric look
Fixed:
- Fixed screen states getting emitted by phone rotation
- Fixed status bar color was getting set by library's compose theme
Removed:
- Removed
- dsl library is removed and merged into main library
- core library is removed and there is no need to declare dependency to it anymore
Upgraded:
- All dependency versions to the latest version
- Upgraded compose library to Material3
Depricated:
- AppUpdaterDialog.getInstance() is deprecated and is replaced with the overload that accepts UpdaterDialogData as argument
- AndroidAppUpdater() in compose module is deprecated and is replaced with the overload that accepts UpdaterDialogData as argument
9.5.0
Added:
- Added support for
ZTE App Center - Added support for
Lenovo App Center - Added onDismissRequested for compose module
- Renamed
UpdaterStoreList.kttoStoreListItem.kt - Upgraded dependencies to the latest version
Fixed:
- Fixed update in progress dialog not respecting the dark theme
- Made the dialog scrollable for better accessibility in small
9.0.0
Added:
- Added Support for Amazon App Store
- Added Support for Aptoide App Store
- Added Support for F-Droid App Store
- Added Support for Xiaomi GetApp Market
- Added Support for OneStore App Market
- Added Support for Oppo App Market
- Added Support for Vivo V-AppStore
- Added Support for 9-Apps Market
- Added Support for Tencent App Store
Fixed:
- Improved GooglePlay to prevent other apps from intercepting it's intent
- Fixed update in progress dialog not showing after rotation in compose
- Added try/catch block when showing urls to avoid crashes
- Updated Cafe bazaar's default icon
- Updated Google Play's default icon
Removed:
- Removed IranApps as the store is closed