Commit Graph

1042 Commits

Author SHA1 Message Date
Aayush Gupta
f424f58c1b fixup! Initial support for caching updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-19 19:30:15 +07:00
Aayush Gupta
e7762e6d15 AppDetailsFragment: Require extended updates for incompatible apps too
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-19 19:20:56 +07:00
Aayush Gupta
58da7e14c3 GoogleFragment: Drop databaseEnabled setting from webview
Deprecated and will be soon removed from Android System WebView similar to Chrome

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-19 12:59:50 +07:00
Aayush Gupta
e844023506 ThemeEngine: Don't apply color to systembar on Android 15+
Android 15 enforces transparent colors on system bars

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-19 12:59:50 +07:00
Aayush Gupta
e24d5d08e8 Resolve null-safety errors with newer compileSdk
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-19 12:59:50 +07:00
Aayush Gupta
840c2f0b10 UpdatesFragment: Restore menu action sheet for quick actions
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-18 13:00:04 +07:00
Aayush Gupta
1fbf3cf56e NoAppView: Make new action button optional
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-18 13:00:04 +07:00
Aayush Gupta
2deece0117 Move InstalledApps & Blacklist fragment's viewModel owner to fragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-18 13:00:04 +07:00
Aayush Gupta
6a7d4f6e3e UpdatesFragment: Restore update all button as action button
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-18 13:00:04 +07:00
Aayush Gupta
d4995c73e2 MainActivity: Run migrations if required
Thanks to OEMs breaking the MY_PACKAGE_REPLACED API, migrations haven't been
running on some devices. To mitigate this, trigger the same via MainActivity too.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:31 +07:00
Aayush Gupta
2a68f58e70 BlacklistFragment: Emit event when new apps are blacklisted
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
e9843a6b45 MainActivity: Add view binding type hint for navigation bar
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
8b341c088c Initial support for caching updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
bec1bea05a Optimize imports treewide
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
2813d28120 Adapt for data class changes
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
04e2e69c54 {SplashFragment|NetworkPreference}: Updates to AuthData building
* Always generate GSF ID on device regardless of login type
* Switch to new method for building AuthData

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Rahul Patel
c426c3b7a7 Disable AppPeekSheet, enable only when ready 2024-07-17 13:45:30 +07:00
Rahul Patel
388e2d9a35 Improve fliters & chip styles
-- Removed filter apply & close, filter is saved on dismiss
2024-07-17 13:45:30 +07:00
Aayush Gupta
ec9e237a4d AuthProvider: Return null instead of invalid AuthData
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
1c701ec7f0 NetworkPreference: Move out and simply proxy logic
No need to check connectivity as soon as URL is set as SplashFragment will
only let you login when a valid connection is available.

Use a modern dialog and EditText to do set the URL with minimal verification.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-14 19:24:33 +07:00
Aayush Gupta
ab39597296 AccountFragment: Ask for confirmation before logout
Avoid user clicking the logout button accidentally

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-14 19:24:33 +07:00
Rahul Patel
64a02c483f Show app size if available else show downloads 2024-07-13 21:44:19 +07:00
Rahul Patel
e7d8960997 Fix ClusterStreamBrowse links - uses WebAPI 2024-07-13 04:52:42 +05:30
Rahul Patel
7917163a7c Use WebCategoryStream helper to fetch bundles as default 2024-07-13 04:52:22 +05:30
Rahul Patel
2dd77cc3aa Akkad nhi Bakkad 2024-07-12 21:54:06 +05:30
Rahul Patel
e49d838377 Use simpler names for event handling methods 2024-07-12 21:52:05 +05:30
Rahul Patel
0af93474ed Remove AppsOnsale page
Why?
- Unecessary bloat, lets stick to only what is important
2024-07-12 21:47:41 +05:30
Rahul Patel
588a1f9edf Remove non-functional pages - EditorChoise, Library, PurchaseHistory
- Will adapt GPlayApi to new API & re-implement
2024-07-12 21:42:11 +05:30
Rahul Patel
b28c961c8f Always use WebAPI to fetch ForYou & TopChart streams 2024-07-12 20:25:21 +05:30
Rahul Patel
dae20af9e8 Improve event data classes 2024-07-12 20:16:28 +05:30
Rahul Patel
f5d5fc1305 AppDetails: Show ongoing installation 2024-07-12 16:37:02 +05:30
Rahul Patel
e8032b1448 Improve SessionInstaller#stageInstall() 2024-07-12 14:28:27 +05:30
Rahul Patel
a5f4f53dcb Fix AppUpdate progress glitch 2024-07-12 04:34:11 +05:30
Rahul Patel
ad304820c1 Improve AppUpdate pregressbar UI
- All thanks to @Jacob640 (https://t.me/Jacob640)
2024-07-12 02:48:25 +05:30
Aayush Gupta
1c9167cdd2 Preferences: Use ktx extension to edit shared preferences
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 13:53:49 +07:00
Rahul Patel
660c544f18 AppDetailsFragment: Improve data states 2024-07-11 11:51:20 +07:00
Rahul Patel
83d9895f17 AppDetailsFragment: House Keeping 2024-07-11 11:50:43 +07:00
Rahul Patel
7110a4a77b Improve viewbinding - [3/3] 2024-07-11 11:44:25 +07:00
Rahul Patel
4919fbd4db Improve viewbinding - [2/3] 2024-07-11 11:44:25 +07:00
Rahul Patel
47760b7407 Improve viewbinding - [1/3] 2024-07-11 11:44:23 +07:00
Aayush Gupta
cb4f36c2d5 treewide: Optimize imports
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 11:43:09 +07:00
Aayush Gupta
ede4b46c6e fixup! model: Relocate State and Enumerations to model package
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 11:41:27 +07:00
Rahul Patel
a2fef6a897 Improve - Installed Apps, Updates & Blaclists 2024-07-11 11:41:25 +07:00
Rahul Patel
a43779ed79 Stash updates 2024-07-11 11:40:12 +07:00
Rahul Patel
c16ae15540 Stash categories + code improvements 2024-07-11 11:38:50 +07:00
Rahul Patel
8a12ffcd96 Add stashing to SubCategory Streams 2024-07-11 11:38:50 +07:00
Rahul Patel
6f425fe641 Experiment with stashing 2024-07-11 11:38:49 +07:00
Rahul Patel
2325b6e4a3 POC: Retain streambundle across fragment navigations 2024-07-11 11:38:49 +07:00
Rahul Patel
c6850b176e Show downloads & ratings, size no longer available on web apis 2024-07-11 11:38:49 +07:00
Rahul Patel
bdf5658acf Fetch data from web-api for anonymous logins 2024-07-11 11:38:49 +07:00