Likely am gonna revert for the stable just to save myself the headache
Limiting the new animations to Android 10+, new animations will still play on 10+ devices, but wont keep the view on low ram devices
Also added PreferenceStore/TrackPreferences and made the track username/password private
Updated kotlinSerialization to 1.6.0
Co-Authored-By: jmir1 <43830312+jmir1@users.noreply.github.com>
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
Updated the extension loader for support of it to match main (save for the private extension stuff, that's later)
* Rename new method in ConfigurableSource to get preferences (afb1ee2)
*Add more replacement suspend functions for source APIs (26c5d76)
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
Its a much easier target than 13, first time ive gotten to change compile and target at the same time
Also updating a bunch of libraries while i'm at it
One of them is material and using it have back button progress on bottom sheet for now
* starting workmanager updates
* Update Download service to download job
Also making downloader use suspend methods like upstream
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
* Make BackupRestorer a job
* Make LibraryUpdateJob a datasync service type
* Changing Extension auto installer to a job instead of service
* Changing App auto installer to a job instead of service
With it theres no more services, and nearly ready to up the target sdk
* Add runtime permission for notifications
Shows permission when adding to library, seeing the app update in app prompt, or loading library or recents
Tries to show the permission again (or a warning message) when trying to restore a backup or set library update timing
Same warning messages shows when not allowing notifications
* Set target sdk to 33
we made it.
* Clean up ContextExtensions
* Add notification check for incognito mode
* Add last updated timestamp to updates job
* Update LibraryUpdateJob.kt
minor changes to the notifier's placeholder, and making sure it uses localeContext for versions under A13
* update channel logic in library updater
* Change library update channel to just take a Long instead a whole Manga
* Use extensionManager flow in ExtensionInstallerJob
* Update MainActivity.kt
* Fixes to downloadFlow
* reworking running extensions after library update logic
* Change update channel to shared flow in library job
* More updates to the library updates flow
no longer using a suspend, instead holding a buffer for the flow
* updates to the flow in extensionInstaller
from state to shared, also using "tryEmit" less for it
* Fix extension auto installing notification not dismissing/dismissable
* Version 1.7.0
* Update AppDownloadInstallJob.kt
* Refactor DownloadJob
* Version 1.7.0-b02
* Fix uninstalling extensions not refreshing the list
* Show notification permission prompt when pressing update all
* Chunked the extension install job in case too many extensions are being updated at once
The limit is around 62 extensions, but to be safe it runs 32 per job (which jobs still update 3 at a time)
Closes #1584
* Update Java Version
---------
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Recents because its using the same logic as app shortcuts already use
Also added Compose + Kotlin 1.8.10 but no one cares about that
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Also fixed certain sources without a contenttype not loading
Also remove HTTP 103 interceptor
Also upgrade some serialization libraries
Look a lot of stuff got taken from upstream if you're reading this commit and you work on main your code is probably is in this commit
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
* Add StatsController and StatsDetailsController
* Add read duration to stats
* Add chipIcon
* Fix chips when orientation changes and cleanup
* Few fixes charts
* Fix charts too big on tablet
* Change category filter order to library's