Commit Graph

2431 Commits

Author SHA1 Message Date
Colorful Rhino
23ca4ca5e9 Translated using Weblate (German)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/de/
2024-01-02 04:29:44 +00:00
Aayush Gupta
25f2b111c2 fixup! UpdatesPreference: Setup auto-updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-31 19:37:33 +05:30
Aayush Gupta
f851a5ad3e Improvements to download progress UI
Switch to LinearProgressIndicator where possible and show an indeterminate
progress bar while download progress is below 1%

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-31 15:54:05 +05:30
Aayush Gupta
fe88345734 DownloadWorker: Use appropriate reason for failure on API 31+
Don't show failure notification if download was cancelled by the user
on Android 12+ devices. Sadly the method is not backwards compt nor I
want to spend time on it.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-31 13:18:40 +05:30
Aayush Gupta
7005409010 AuroraApplication: Limit hidden API exemptions to required ones
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-31 12:56:23 +05:30
Aayush Gupta
f84ab072e5 OnboardingFragment: Create required notification channels
No need to keep them in application class anymore now that we have moved
away from services

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-31 12:42:06 +05:30
Aayush Gupta
e400dac915 Material3: Switch to M3 button everywhere
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-30 13:12:46 +05:30
Aayush Gupta
d3539f3772 Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!278
2023-12-30 07:11:06 +00:00
Aayush Gupta
e66c558f82 Updates: Use appropriate certificate to verify and purchase apps
* Only show updates for devices that has atleast one matching certificate
* On Android 9.0+ devices, purchase apps with latest certificate's hash while updating
  to support key rotations

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-30 12:39:17 +05:30
gallegonovato
820a133d52 Translated using Weblate (Spanish)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/es/
2023-12-29 23:28:48 +01:00
ShareASmile
8e0cd97286 Translated using Weblate (Punjabi)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pa/
2023-12-29 15:25:00 +00:00
Rex_sa
c4baa47250 Translated using Weblate (Arabic)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ar/
2023-12-29 15:24:59 +00:00
Ingo Brückl
ca52050645 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-29 15:24:58 +00:00
ShareASmile
e66c7b6c93 Translated using Weblate (Hindi)
Currently translated at 100.0% (385 of 385 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hi/
2023-12-29 15:24:57 +00:00
Aayush Gupta
8f788dc01f UpdatesFragment: Set Update All button's status based on downloads
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-29 19:36:55 +05:30
Aayush Gupta
2b8b1af8d1 view: Drop unused custom views
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-29 19:19:53 +05:30
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