Commit Graph

1022 Commits

Author SHA1 Message Date
Aayush Gupta
df10c8b5eb fixup! AppDetails: Fix user review + minor cleanup
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-04 14:01:39 +07:00
Aayush Gupta
1be5944c8b AppPeekDialogSheet: Delete unused and unimplemented feature
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-02 12:59:26 +07:00
Aayush Gupta
9fa1c34e12 UpdateWorker: Log about available updates during install mode as well
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-02 11:30:45 +07:00
Aayush Gupta
b7a18c7bdc fixup! SettingsFragment: Add preference for permissions fragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-01 14:26:54 +07:00
Aayush Gupta
fbc6a13018 Partial Revert "Do not show account selection dialog, if there is only 1 account"
This reverts commit baa954eb20.

Reason for revert: If user has multiple accounts on microG but chooses to login
using one of them, they will not be prompted again for selecting accounts again as
Aurora Store can only see the permitted account from the first time.
2025-01-01 12:06:38 +07:00
Aayush Gupta
ea2f4b177a AuthProvider: Temporarily mirror auth validation logic from gplayapi
This should be switched to use the one from gplayapi when that is updated
on mavencentral

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-31 18:37:56 +07:00
Aayush Gupta
540054af13 AppDetailsFragment: Bring back installed to update version info
Dropped accidentally while reworking install buttons

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-31 18:27:09 +07:00
Aayush Gupta
9693a597c8 MoreDialogFragment: Better null-safety and localization for account header
In case AuthData has expired and user is inside Aurora Store, MoreDialogFragment
will keep crashing while trying to load account name and email.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-31 18:04:30 +07:00
Aayush Gupta
e36e3341f7 AppDetailsFragment: Localize app launch error
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-31 13:58:01 +07:00
Aayush Gupta
825ed174b2 SettingsFragment: Add preference for permissions fragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-31 13:51:06 +07:00
Aayush Gupta
e766c8000b AppDetailsFragment: Use requested version for shared libraries as well
This code might come to bite back if the apps are allowed to depend upon different
versions of shared libraries compared to the app's version code.

It would be nice to figure out and request appropriate shared library versions for apps
respective to the manual download version but honestly I haven't seen any app other than
Chrome and Android System WebView actually using shared libs, and Google, seems to keep
shared library and apps version same.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-31 13:00:16 +07:00
Aayush Gupta
316960c39a PathUtil: Use sharedLibrary's package name for directory
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-31 11:55:17 +07:00
Aayush Gupta
88e063641e AppsGamesFragment: Disable import button untill supported
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-27 14:38:04 +07:00
Aayush Gupta
b3f3170990 AppDetailsFragment: Disable open button when unsupported
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-27 14:33:24 +07:00
Rahul Patel
6b570ade13 CertUtil: Use a better approach to determine microG GMS 2024-12-24 17:04:25 +05:30
Rahul Patel
c287ceaef1 fixup! GMS signature 2024-12-24 16:40:19 +05:30
Aayush Gupta
d48e24f376 AppDetailsFragment: Also show Unarchive as primary action
Show action text as "Unarchive" if the package was archived instead of "Install"

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-21 12:41:47 +07:00
Aayush Gupta
42f87b5f64 DownloadWorker: Introduce a new verifying status for download
This would be useful we implement frosting block verification

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-20 12:56:50 +07:00
Aayush Gupta
7fdf06d73a DownloadWorker: Extract and simplify GPlayFile -> File logic
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-20 11:57:20 +07:00
Aayush Gupta
769511ae66 Revert "PackageInfo: Filter out more core AOSP system apps"
This reverts commit 214bc4ca37.
2024-12-20 10:26:53 +07:00
Aayush Gupta
b93bf688ae AppDetailsFragment: Don't modify original app object
Copy and use a new object for manual downloads with the requested version

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-18 22:21:58 +07:00
Aayush Gupta
3423fc3ecf Partial Revert "CertifitacePinning: Add toggle to enable/disable"
Disable certificate pinning for debug builds only.
This reverts commit fbeee2300c.
2024-12-18 22:08:28 +07:00
Aayush Gupta
e17dbb8f96 Revert "Offer selfupdate for nightlies"
Doesn't works properly, should be tested before deploying

This reverts commit 279be8af68.
2024-12-18 22:08:28 +07:00
Aayush Gupta
733ed0acc2 AppDetailsFragment: Improvements to action buttons
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-18 22:08:28 +07:00
Aayush Gupta
41cf4d56ff InstalledViewModel: Inject WebAppDetailsHelper using hilt
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-18 22:08:28 +07:00
Aayush Gupta
050f21373a MainActivity: Apply left and right inset padding
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-18 22:08:28 +07:00
Aayush Gupta
214bc4ca37 PackageInfo: Filter out more core AOSP system apps
Most core AOSP system apps have Android version as versionName and SDK level
as versionCode. Filter these system apps out.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-18 22:08:28 +07:00
Aayush Gupta
ca03ab3d7f view_toolbar_action: Switch to actual toolbar everywhere
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-18 22:08:28 +07:00
Aayush Gupta
fd134096c8 view_toolbar_search: Switch to native toolbar for search
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-18 22:08:22 +07:00
Aayush Gupta
3ec134279f view_toolbar_native: Switch to actual toolbar everywhere
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-18 21:15:41 +07:00
Rahul Patel
5d7d7c5ffa AppDetails: Show warning if app in unavailable for the device 2024-12-16 23:12:56 +05:30
Rahul Patel
d85bcfd2ac AppDetails: Do not clear menu instead don not inflate if not required 2024-12-16 22:58:37 +05:30
Rahul Patel
d03e87d02c Favourites: Minor improvements 2024-12-16 22:27:47 +05:30
Rahul Patel
dc20fbd67c AppDetails: Do not hide textviews 2024-12-16 22:20:40 +05:30
Rahul Patel
9540ac0c3b AppsGamesFragment: Allow exporting list as favourites
- This will allow isers to export there current installed app & then do bulk import as favourites
- Probably allowing a bulk install in favourites later would be a great addition
2024-12-16 22:07:53 +05:30
Rahul Patel
fbeee2300c CertifitacePinning: Add toggle to enable/disable
- Enabled by default
- Could be useful for people using VPN based ad blockers
- Option to make app usable, if at all Google's root certs gets changed/updated
2024-12-16 21:17:06 +05:30
Rahul Patel
cf1d709bf5 AppsGamesFragment: lets filter out blacklisted apps 2024-12-16 20:44:38 +05:30
Rahul Patel
110848a0ba AppsGamesFragment: show only what is available on PlayStore 2024-12-16 20:40:06 +05:30
Rahul Patel
dce752a0ff AppDetails: Update toolbar again once full app is fetched 2024-12-16 20:20:19 +05:30
Rahul Patel
9b0f106c3c AppDetails: Always offer manual downloads 2024-12-16 20:03:56 +05:30
Rahul Patel
a8dca26add AppDetails: Check icon itself instead of source 2024-12-15 00:17:43 +05:30
Rahul Patel
59a2ae5e08 AppDetails: Add reviews by latest 2024-12-15 00:16:58 +05:30
Rahul Patel
5e40f0cb53 AppDetails: Update header layout to better show unknown apps 2024-12-15 00:06:46 +05:30
Rahul Patel
c7fefb12c7 AppDetails: Fix user review + minor cleanup 2024-12-14 23:29:02 +05:30
Rahul Patel
d2145962d8 Add a check to ensure GMS is not from Google 2024-12-14 15:45:02 +05:30
Rahul Patel
acbb0f1a8c SplashFragment: Use null safe requireActivity() 2024-12-14 13:38:19 +05:30
Rahul Patel
baa954eb20 Do not show account selection dialog, if there is only 1 account 2024-12-14 13:16:35 +05:30
Aayush Gupta
b4d89d0658 Add support for fetching authTokens from microG
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-14 13:03:33 +05:30
Rahul Patel
279be8af68 Offer selfupdate for nightlies 2024-12-05 23:25:07 +05:30
Rahul Patel
852d9bdb85 Blacklist: Add select & remove all action 2024-12-05 22:00:49 +05:30