Commit Graph

2415 Commits

Author SHA1 Message Date
Aayush Gupta
bc252fae1f DownloadWorker: Create and use scaled bitmap for notification icon
Old android versions get binder transaction errors otherwise. Also move out the
logic to fetch icon into the Worker to avoid fetching it 100 times. Keep the install
logic in place as that method is only called once after installation.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-29 19:13:04 +05:30
Aayush Gupta
4d4429fd7a DownloadWorker: Verify downloaded files using SHA256 or SHA1
This lets us avoid downloading same files again

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-29 00:41:13 +05:30
Aayush Gupta
c99d213df3 gradle: Sync gplayapi from our gitlab package registry
jitpack is having frequent build issues and their github has over 1.5k+
open issues with majority having no replies. Better use something we can
manage and fix when required.

We are still dependent over jitpack for libsu though.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-29 00:41:13 +05:30
Aayush Gupta
48b61f1bad InstallActivity: Use SessionInstaller with callback to install apps
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-29 00:41:13 +05:30
Aayush Gupta
494c86c200 Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!277
2023-12-28 19:10:35 +00:00
Oğuz Ersen
d5415b89a1 Translated using Weblate (Turkish)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/tr/
2023-12-28 20:09:50 +01:00
Bandit0s
4e37a70fa8 Translated using Weblate (Finnish)
Currently translated at 94.8% (365 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/fi/
2023-12-28 20:09:50 +01:00
J. Lavoie
6767c6cbdc Translated using Weblate (Finnish)
Currently translated at 94.8% (365 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/fi/
2023-12-28 20:09:50 +01:00
J. Lavoie
023ecce781 Translated using Weblate (Italian)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/it/
2023-12-28 20:09:50 +01:00
J. Lavoie
822af84063 Translated using Weblate (Italian)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/it/
2023-12-28 20:09:50 +01:00
Spearman5572
92543249ac Translated using Weblate (Italian)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/it/
2023-12-28 20:09:50 +01:00
Spearman5572
30dfa23a12 Translated using Weblate (Italian)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/it/
2023-12-28 20:09:50 +01:00
Spearman5572
61eda2530a Translated using Weblate (Italian)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/it/
2023-12-28 20:09:50 +01:00
Dan
89b6fd0937 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/uk/
2023-12-28 20:09:50 +01:00
Fjuro
2bc786a97a Translated using Weblate (Czech)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/cs/
2023-12-28 20:09:50 +01:00
NEXI
f7bb4fac2e Translated using Weblate (Serbian)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sr/
2023-12-28 20:09:50 +01:00
Eric
8a60051c43 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/zh_Hans/
2023-12-28 20:09:50 +01:00
Mirosław Żylewicz
0e583b131d Translated using Weblate (Polish)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pl/
2023-12-28 20:09:50 +01:00
v1s7
89b79c795a Translated using Weblate (Russian)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ru/
2023-12-28 20:09:50 +01:00
Spearman5572
f7d64d8083 Translated using Weblate (Italian)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/it/
2023-12-28 20:09:50 +01:00
J. Lavoie
f74131d332 Translated using Weblate (Italian)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/it/
2023-12-28 20:09:50 +01:00
joaooliva
67d3660e58 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pt_BR/
2023-12-28 20:09:50 +01:00
J. Lavoie
65ea7f9cd2 Translated using Weblate (German)
Currently translated at 99.7% (384 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/de/
2023-12-28 20:09:49 +01:00
J. Lavoie
460bf3435a Translated using Weblate (French)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/fr/
2023-12-28 20:09:49 +01:00
Aayush Gupta
c82f4fc8ee Merge branch 'master' into 'master'
Fix typo.

See merge request AuroraOSS/AuroraStore!276
2023-12-28 19:08:40 +00:00
Kanha Kanhaiya
d1e61c1897 README: Fix typo 2023-12-28 19:08:40 +00:00
Aayush Gupta
96c10df255 DownloadWorkerUtil: Properly collect flow to cancel downloads
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
87dc309d35 PackageManagerReceiver: Rework package install actions
Notify on package installation and delete the downloaded directory

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
e0cda7eadf UpdatesFragment: Listen to install & uninstall events
Similar logic as AppDetailsFragment to update list of updates

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
14c8da2db5 DownloadWorker: Move app installation logic to new onSuccess method
Move app installation logic to onSuccess method in worker under a NonCancellable
context and convert the receiver class to be a generic status handler for anything
except success which should be handled in PackageManagerReceiver.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
763bf45a70 gradle: Drop dependency upon unused libraries
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
396a3659fb gradle: Drop jcenter from repositories
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
e9080614af Drop dependency upon Fetch2 library
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
a796c4c381 SelfUpdateWorker: Move self-updates logic into dedicated worker
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
59309783b1 UpdatesPreference: Setup auto-updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
97b145e2e5 DownloadWorker: Download required shared libs for apps
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
231d39867b Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!275
2023-12-27 11:50:23 +00:00
Software In Interlingua
8737999454 Translated using Weblate (Interlingua)
Currently translated at 40.5% (155 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ia/
2023-12-27 12:13:16 +01:00
Software In Interlingua
f7dac22e53 Translated using Weblate (Interlingua)
Currently translated at 33.5% (128 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ia/
2023-12-25 14:45:55 +01:00
Software In Interlingua
dd9481e357 Translated using Weblate (Interlingua)
Currently translated at 27.2% (104 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ia/
2023-12-25 14:45:55 +01:00
Aayush Gupta
fbc31ff2ff gradle: Bump dependencies to latest stable release
Skip dagger-hilt 2.50 as release notes mention of potential breaking change.
We will upgrade the next major version.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-25 14:25:17 +05:30
Aayush Gupta
d15a82cde0 Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!274
2023-12-22 08:40:57 +00:00
Andrey
2dacff3dc4 Translated using Weblate (Russian)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ru/
2023-12-22 00:20:33 +01:00
Andrey
849ade0429 Translated using Weblate (Russian)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ru/
2023-12-21 12:55:14 +01:00
ssantos
4141cede5b Translated using Weblate (Portuguese)
Currently translated at 100.0% (17 of 17 strings)

Translation: Aurora Store/Fastlane
Translate-URL: https://hosted.weblate.org/projects/aurora-store/fastlane/pt/
2023-12-21 12:55:14 +01:00
bittin1ddc447d824349b2
97360e1fe4 Translated using Weblate (Swedish)
Currently translated at 99.2% (379 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sv/
2023-12-21 12:55:13 +01:00
ssantos
751a8dab17 Translated using Weblate (Portuguese)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pt/
2023-12-21 12:55:13 +01:00
v1s7
0fdbce7150 Translated using Weblate (Russian)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ru/
2023-12-21 12:55:13 +01:00
Aayush Gupta
e915c5060b DownloadWorker: Address race condition on download complete
Sometimes when download gets completed, the progress hasn't been updated which
results in no notification data and downloads showing status as completed with
a progress less than 100%.

Set progress manually to 100% and avoid checking progress in notificationUtil if
download has succeded. Also avoid calling onProgress again if download has finished.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-20 21:07:54 +05:30
Aayush Gupta
010dde2896 values-{in|id}: Switch locale code for indonesia
Android otherwise cannot see the translations and continues to use english

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-19 11:36:14 +05:30