Commit graph

10 commits

Author SHA1 Message Date
2b46f94a5a
revert: Revert "Revert "Modularize the app""
This reverts commit f59f2346dc.
2024-06-16 18:44:15 +07:00
f59f2346dc
revert: Revert "Modularize the app"
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...
2024-06-16 13:26:29 +07:00
Ahmad Ansori Palembani
24ce2683d4
refactor: Modularize the project (#97)
* 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
2024-06-16 09:34:02 +07:00
d086df7287
feat: Onboarding screen (partial) 2024-05-26 16:52:06 +07:00
Jays2Kings
3140361452
Targeting SDK 33 (Android 13) (#1525)
* 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>
2023-07-31 16:19:43 -04:00
Carlos
1519395267
Chapter cleanup (#210)
* clean up chapterholder and reader chapter item to use a helper class for colors

* update gradle.properties to cache and have larger memory

* fixed bug causing some chapters that were swiped to crash app

* add relative date to chapter util
reference colors instead of attrs in color.xml
add a bookmarked and read alpha

Co-authored-by: Jays2Kings <jays@outlook.com>
2020-04-23 21:57:04 -04:00
arkon
78689e7443
Migrate to AndroidX (#2424)
* Migrate to AndroidX (automatic conversion by Android Studio)

* AndroidX dependency code updates

* Fix source preference reparenting

* fixes the androidx prefererences icon spacing issue

(cherry picked from commit b76a15d960ec2cdf771be16377db0348b66b3179)

* Fix source preference screen heading size/list padding

Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
len
55de2b7d97 Remove gradle properties and fix travis build 2016-04-17 17:33:47 +02:00
J2ghz
16037dd9bd try https://github.com/travis-ci/travis-ci/issues/4185 2016-04-09 11:52:36 +02:00
inorichi
b69510e972 Initial commit 2015-09-24 17:27:43 +02:00