Commit Graph

216 Commits

Author SHA1 Message Date
Aayush Gupta
90d48af71e Drop incompatiable java annotations
Both Nullable and NonNull are java annotations and doesn't work on Kotlin.
Drop them to make lint happy.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +05:30
Aayush Gupta
f54e1e13ad Switch to IntentBuilder's constructor for specifying parameters
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +05:30
Aayush Gupta
3fe0ea719e Switch from toLowercase() to lowercase() method
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +05:30
Aayush Gupta
163ecd146b fixup! SpoofDeviceProvider: Filter packed .properties with specific regex
We cannot rely on name of the file as on non-debug builds, resource optimization
renames the filename to a random string. Thus, we read the said property file
and only consider it if it has a valid UserReadableName.
2023-04-25 14:03:26 +05:30
Aayush Gupta
e8fcb85727 Show shimmer animation while fetching search results
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-24 15:38:14 +05:30
Aayush Gupta
2e024150de Notify user when they are ratelimited
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-24 15:38:09 +05:30
Aayush Gupta
2daa434dea SpoofDeviceProvider: Filter packed .properties with specific regex
Certain build time files also ends with .properties extension that results in
showing null otherwise. We are only shipping files supplied to us from
gplayapi library, so filter them with a matching regex.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-24 12:31:45 +05:30
Aayush Gupta
53854a8a67 Bump gplayapi to 3.1.0
Also, override required responseCode StateFlow for HttpClient

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-24 12:31:40 +05:30
Aayush Gupta
b590edacce Switch to tagged gplayapi and protobuf-javalite
- Going forward we aim to tag the gplayapi for better versioning.

- 3.0.1 which is the current version uses protobuf-javalite causes
  issues when used with protobuf-java, so also switch to lite.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-22 22:00:57 +05:30
Aayush Gupta
797f0eb2b0 Rework exit logic
- If drawer is open, always close it first (existing)
- If drawer is closed, quick exit is enabled, close the app (only on apps, games or updates fragment)
- If drawer is closed, quick exit is disabled, ask to press back twice (existing)

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-20 21:17:57 +05:30
Aayush Gupta
a78287c006 Switch to setupWithNavController and selectedItemId for navigation
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-20 11:15:45 +05:30
Aayush Gupta
04ae2cb91d Create notification channels prior to starting service
We don't need notification permission to start services however
channels must still exist and notification must be sent regardless.

Trying to do this in service results in crash, thus do it before
service is triggered.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-19 23:43:34 +05:30
Aayush Gupta
56c142bf9e Enable forward button on 4th screen
!175 added a new check to enable forward button that broke
4th screen after !147 was merged. This check enables the 4th
button that has special handling.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-11 13:14:37 +08:00
Aayush Gupta
55972cf0a0 Merge branch 'skip-setup' into 'master'
Show TOS on launch and allow skipping permissions fragment

See merge request AuroraOSS/AuroraStore!147
2023-04-08 12:38:53 +00:00
Aayush Gupta
2b04c54e25 Merge branch 'onbarding-enable-forward-button' into 'master'
Enable Forward Button on Onboarding when going back

See merge request AuroraOSS/AuroraStore!175
2023-04-08 04:54:09 +00:00
Oliver Scott
e2f651ccb9 Set session installer package source to STORE type 2022-12-19 18:47:00 +01:00
Rahul Patel
42d0d89368 Merge branch 'master' into 'master'
Allow for better localization

See merge request AuroraOSS/AuroraStore!190
2022-09-25 01:12:03 +00:00
Rahul Patel
451f396c79 Merge branch 'default-blacklist' into 'master'
Read system xml blacklist as default

See merge request AuroraOSS/AuroraStore!150
2022-09-24 00:59:27 +00:00
Ingo Brückl
302f062417 Enable localization of the title of available updates
Choose also a suitable string in singular or plural.
2022-08-30 08:02:58 +02:00
Ingo Brückl
42ffd1a49e Enable localization of session related strings 2022-08-30 07:52:27 +02:00
Aayush Gupta
852cba87b1 Add permission and guard for notifications on Android 13
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-29 19:33:56 +05:30
Aayush Gupta
298fcb1150 Use external storage access description for storage manager as well
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-29 15:10:35 +05:30
Aayush Gupta
392ffb705f Refactor storage related permissions setup
On Android 11+, MANAGE_EXTERNAL_STORAGE permission is all we need to work
nicely with storage

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-29 15:10:35 +05:30
Aayush Gupta
ecf16661dc Refactor gradle configuration and update dependencies
- Enable java 11 language features
- Switch to groovy syntax
- Switch to new gradle plugins and dependency configuration
- Drop deprecated properties
- Switch from buildscript to project.ext closure for version property
- Update dependencies to latest stable versions
- Address build errors arising due to dependencies update

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-28 19:30:40 +05:30
Rahul Patel
fd693bf9d8 Do not use new GSF & Vending versions 2022-07-24 23:36:34 +05:30
Rahul Patel
7509ae34e0 Merge branch 'onboarding-installer-checkbox-to-radiobuttons' into 'master'
Replace Checkboxes in Onboarding-Installer with Radiobuttons

See merge request AuroraOSS/AuroraStore!176
2022-07-24 17:59:36 +00:00
Rahul Patel
db186dea96 Merge branch 'onboarding-themes-checkbox-to-radiobuttons' into 'master'
Fix no-theme bug in Onboarding by using Radiobuttons

See merge request AuroraOSS/AuroraStore!178
2022-07-24 17:59:32 +00:00
nwuensche
9fef0624f3 Use arrow instead of less-than symbol 2022-05-28 10:39:44 +02:00
nwuensche
af93f6a604 Fix no-theme bug in Onboarding by using Radiobuttons
It was possible to de-select all Themes in the Onboarding as
Checkboxes where used. Now this is not possible anymore because we use
Radiobuttons
2022-05-28 10:24:38 +02:00
nwuensche
62333c7fa1 Replace Checkboxes in Onboarding-Installer with Radiobuttons 2022-05-28 09:26:56 +02:00
nwuensche
1c6757ca0e Enable Forward Button on Onboarding when going back
On the last Onboarding Screen, when going back the forward button
is disabled. This blocked you from finishing the Onboarding.
2022-05-28 08:43:02 +02:00
Ingo Brückl
f58d47d006 Show the correct title on the 5th onboarding page
It showed "Installer" instead of "Permissions".

This fixes gitlab issue #745.
2022-02-21 15:10:33 +01:00
Rahul Kumar Patel
e40b0f3a44 Fix FCs in case of missing urls 2022-02-19 22:54:51 +05:30
Rahul Kumar Patel
5c929e73ac Fix tab navigation when cutom tab is selected 2022-02-19 22:18:08 +05:30
Rahul Kumar Patel
25c0c8b32d Bump SDK to 32 + update gradle 2022-02-13 00:41:35 +05:30
Satvik Gaikwad
55b6c243cf Fix broken link
The Disclaimer link was giving 404 error.
2022-01-12 08:49:11 +00:00
Rahul Kumar Patel
26f5d4fd55 Get rid of CTT 2021-12-27 22:02:34 +05:30
Rahul Patel
7a8e0fdb6d Merge branch 'android12' into 'master'
Android 12 updates

See merge request AuroraOSS/AuroraStore!153
2021-12-18 17:34:27 +00:00
Rahul Patel
fbeb4f69eb Merge branch 'insecure-anonymous-button' into 'master'
Add Insecure Anonymous login button

See merge request AuroraOSS/AuroraStore!149
2021-12-18 17:30:46 +00:00
Rahul Patel
0552e9198f Merge branch 'am_installer' into 'master'
Am installer

See merge request AuroraOSS/AuroraStore!139
2021-12-18 17:12:31 +00:00
Oliver Scott
f83d26df58 Android 12 updates
* Updated gradle version and dependencies
* Bumped compileSdkVersion and targetSdkVersion to 31
* Added support for updates without user action
* Bumped versionCode and versionName

Changes required by API level 31:
 * Added explicit exported tags to activities and receivers
 * Added explicit IMMUTABLE|MUTABLE flags to PendingIntents
2021-11-12 09:46:00 -05:00
Oliver Scott
a550a4dddc Read system xml blacklist as default 2021-10-01 15:32:14 -04:00
Oliver Scott
6842893902 Add Insecure Anonymous login button 2021-09-30 19:06:57 -04:00
Oliver Scott
9a94e81bc0 PermissionsFragment: allow to go forward without granting permissions 2021-09-30 14:53:31 -04:00
Oliver Scott
2def492c1e Show Terms of Service prompt on launch 2021-09-30 14:53:31 -04:00
Rahul Kumar Patel
934a96fb11 Fix null download units
Resolves : #687, #674
2021-09-12 14:51:07 +05:30
darkkey
22ddce0571 Fix issue when install single apk 2021-07-22 21:49:38 +07:00
darkkey
1a02e4221e Add AM installer 2021-07-10 03:49:40 +07:00
Konstantin Tuev
bcdfb2b8f7 Revert "remove useless ThreadPoolExecutor in ServiceInstaller.kt" as it is needed for consistent and manageable ServiceConnection 2021-06-17 20:52:27 +03:00
Konstantin Tuev
014d3478f2 Fix issue with installing being called multiple times when a completed download is queue again, fix issues with UpdateService.kt stiopping when it might be needed (extended stopSelf timeout (5 secs) & made all calls to the service stack in a HashSet in case the service was not running when it was needed - AppDetailsActivity.kt & UpdatesFragment.kt), remove useless ThreadPoolExecutor in ServiceInstaller.kt, made the installing list in UpdateService.kt a set and made it concurrency-proof with a lock and dynamic thread creation when needed 2021-06-15 14:11:29 +03:00