Epic fail, not sure what happened, but I am sure that I don't want to spend the rest of the day debugging no error crash, I'll just try again later. It is what it is, I guess...
* refactor: Modularize the project
* chore: Move okhttp stuff back to androidMain
OkHttp decided to cancel multiplatform plan on 5.0
REF: https://square.github.io/okhttp/changelogs/changelog/#version-500-alpha13
* feat: Start using moko for i18n
* fix: Solve some errors
* chore: Remove manga from domain module
We'll do this later
* fix: Duplicate error
* fix: Conflict function name error
* fix: Target SManga
* fix: Breaking changes after the split
* fix: Not enough heap memory
* chore: Update proguard rules
Sorta similar to upstream
* refactor: Fix namespace
* chore: Preparing SQLDelight
* chore: Specify some config for SQLDelight
* fix: Commit the thing bruh
* refactor: Migrate (some) sql to SQLDelight
* refactor: Migrate the rest of sql migration to SQLDelight
* chore: Update SQLite to v3.45.0
* refactor: Retrofitting StorIO to work with SQLDelight
* refactor: Removed unnecessary code, already handled by AndroidSqliteDriver
* fix: Database lib too old to use FrameworkSQLiteOpenHelper
* chore: Revert downgrade
* 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 bumping up to kotlin 1.4.20 and using jsetbrains kotlin for parcelize (needed for mass migration)
With this we can close #684 because we are TRULY finished
Lotta cleanup to do, but that's a later commit
Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
update to kotlin 1.3.70
updated jsoup to 1.12.2
updated evernote android job to 1.4.2
updated sqlite-android to 3.31.0
updated junit to 4.13
updated coroutines to 1.3.3
removed packaging options since these were required for travis releases
added logic for formatter but kept it commented out
switch everything to build.kts