Commit Graph

980 Commits

Author SHA1 Message Date
Aayush Gupta
124aa9bd55 viewmodel: Get rid of unused lint supress
The false-positive issue seems to have been fixed

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-28 10:37:11 +01:00
Aayush Gupta
9468ea7533 AuthViewModel: Switch from livedata to stateflow
* Also make authdata init private

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-28 10:37:11 +01:00
Aayush Gupta
9e8dd03cee AuthProvider: Extract authData generation logic
* Partially revert 51c4beba8e
* Extract the AuthData generation logic to Authprovider and AccountProvider classes

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-28 10:37:11 +01:00
ggabr
b2238af5e6 Handle "socks5" proxy urls correctly
They previously ended up being considered HTTP proxies
2024-09-26 17:18:58 +02:00
Aayush Gupta
029a693ad3 AppUtil: Check updates for nightly builds too
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-24 10:39:00 +02:00
Rahul Patel
d54f8696b8 DownloadWorker: Report download failure when app is not purchased 2024-09-24 10:39:00 +02:00
Aayush Gupta
b198421203 CommonUtil: Improve proxy protocol regex
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-19 10:08:32 +05:30
Aayush Gupta
2ccfcd6c02 fixup! HttpClient: Enable SSL pinning for google domains
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-19 10:05:24 +05:30
Aayush Gupta
6056cd16b4 AuroraApp: Configure coil to use to our okhttpclient too
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-12 13:59:36 +05:30
Aayush Gupta
0e6ee6a121 network: Cleanup logic and move required instances to separate modules
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-12 13:39:40 +05:30
Aayush Gupta
388a61f131 DownloadWorker: Move possible blocking call to IO dispatcher
Also use okhttpclient instead

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-12 12:41:08 +05:30
Aayush Gupta
f6a6f34a81 Switch to getSystemService's extension method everywhere
Null-safe and avoids type-casting

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-12 12:41:08 +05:30
Aayush Gupta
a0c9e398cb AppUtil: Do update filtering on init instead
Also deal with the case of app being updated when app wasn't in foreground

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-12 12:41:08 +05:30
Aayush Gupta
a45dafc3d9 AppDetailsFragment: Move targetSdk info to more details fragment
Since past few years Google has a target SDK requirement making this info
not so useful as apps will sooner or later always target latest SDK.

Ref: https://developer.android.com/google/play/requirements/target-sdk

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-12 12:41:08 +05:30
Aayush Gupta
ecfd53b758 Revert "Update download every 5% progress to avoid noise"
This reverts commit 18dd3480cf.

When file sizes are big, progress may look stuck
2024-09-12 12:41:08 +05:30
Aayush Gupta
0149753cc5 DownloadWorker: Use OkHttpClient for downloading files as well
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-12 12:41:08 +05:30
Aayush Gupta
38b9794919 SessionInstaller: Keep original application enabled setting
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-12 12:41:08 +05:30
Aayush Gupta
6af927276d HttpClient: Enable SSL pinning for remaining domains
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-12 12:41:08 +05:30
Aayush Gupta
d727333202 HttpClient: Enable SSL pinning for google domains
.pem file obtained from https://pki.goog/roots.pem

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-12 12:41:08 +05:30
Aayush Gupta
49a22ceff3 PathUtil: Use existing method for app download dir
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-12 12:41:08 +05:30
Rahul Patel
6dcc38d49b EglExtensionProvider: Filter out empty extensions 2024-09-12 12:41:08 +05:30
Rahul Patel
25aea3766a Improve EglExtensionProvider 2024-09-12 12:41:07 +05:30
Rahul Patel
59b404309a Move from NetworkProvider to NetworkViewModel 2024-09-12 12:41:07 +05:30
Rahul Patel
377a45f213 Improve text style & appearance [2/2] 2024-09-12 12:41:07 +05:30
Rahul Patel
08d174b445 Get rid of unused extensions 2024-09-02 10:42:45 +05:30
Rahul Patel
20b507b029 Dynamic colors [2/2] 2024-09-02 03:23:24 +05:30
Rahul Patel
3546ed8a54 Dynamic colors [1/2] 2024-08-31 02:33:07 +05:30
Aayush Gupta
4107eed2d9 search: Use our custom httpClient with web helpers too
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-29 12:12:29 +05:30
Aayush Gupta
e7c4571302 Revert "Schedule and cancel auto-updates properly"
This reverts commit 73921df71e.
2024-08-29 11:50:09 +05:30
Rahul Patel
0b81d5c6d9 Updates: Fix invalid button states 2024-08-29 11:48:17 +05:30
Rahul Patel
0389570f19 Blacklist: Add search to quickly find apps 2024-08-29 11:48:17 +05:30
Rahul Patel
74373d478b MainActivity: Handle E2E with a different approach 2024-08-29 11:48:17 +05:30
Aayush Gupta
ed42572128 HttpClient: Inject using hilt
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-24 09:47:49 +05:30
Aayush Gupta
e7e5e3399d fixup! *Activity: Enable edge to edge display for all versions
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-24 09:47:49 +05:30
Aayush Gupta
766bd3a1c7 androidTest: Add tests for SpoofProvider
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-24 09:47:49 +05:30
Aayush Gupta
1e98baea3e SpoofProvider: Switch to hilt for injection
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-24 09:47:49 +05:30
Aayush Gupta
e5d2c66405 Log: Switch to android's log class everywhere
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-24 09:47:49 +05:30
Aayush Gupta
1542a282b0 ApkProvider: Drop unused class
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-24 09:47:49 +05:30
Aayush Gupta
00713f961c ExodusTracker: Switch from var to val for properties
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-24 09:47:49 +05:30
Aayush Gupta
57ccf6ef50 *Activity: Enable edge to edge display for all versions
- Adjust MainActivity view to not draw over the status bar

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-24 09:47:49 +05:30
Aayush Gupta
944917191d SplashFragment: Fix parsing shared app link
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-14 19:22:40 +05:30
Aayush Gupta
177b145cc8 AppDetailsFragment: Fix isExternal logic
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-14 18:38:03 +05:30
Rahul Patel
c8d701feb4 Address search fab color issue 2024-08-14 18:19:28 +05:30
Rahul Patel
8cfec71259 Address filter fab color issue 2024-08-14 18:19:28 +05:30
Rahul Patel
2f30d53312 Address filter sheet color issue 2024-08-14 18:19:28 +05:30
Rahul Patel
a5c7a23547 Address bottomsheet background color issue 2024-08-14 18:19:27 +05:30
Rahul Patel
5f9e381754 Address as Epoxy related memory leaks
- Thanks to @theimpulson for adding stupid but useful LeakyCanary <3
2024-08-14 18:19:27 +05:30
Rahul Patel
c6e7166618 Improve NativeDeviceInfoProvider
-- Export unstripped configs
  -- Simplify code
2024-08-14 18:19:27 +05:30
Rahul Patel
33b398cb3b Fix file exporter worker on devices running android < 12 2024-08-14 18:19:27 +05:30
Rahul Patel
71aabe8509 MoreDialog: Improve colors 2024-08-14 18:19:27 +05:30