Commit Graph

1042 Commits

Author SHA1 Message Date
ggabr
6e3913d8e6 Database, support migration from v2 to v3
SQL code taken (and verified and adapted) from
https://gitlab.com/ggabr/AuroraStore/-/jobs/9073627105/artifacts/external_file/app/schemas/com.aurora.store.data.room.AuroraDatabase/3.json
2025-02-07 14:31:55 +01:00
ggabr
a04acce906 Database, support migration from v1 to v2
SQL code taken (and verified and adapted) from
https://gitlab.com/ggabr/AuroraStore/-/jobs/9073120823/artifacts/external_file/app/schemas/com.aurora.store.data.room.AuroraDatabase/2.json
2025-02-07 14:14:51 +01:00
Aayush Gupta
516269e830 AuroraApp: Configure logging level for debug builds
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-02-05 15:57:03 +07:00
Aayush Gupta
84d980b1ac Revert "PackageUtil: Filter out shared libraries from packages list"
This reverts commit 0bc8e76f9f.
2025-02-04 23:22:54 +07:00
Aayush Gupta
bb5da23409 view: ui: Fix search button visibility on top fragments
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-30 17:11:13 +07:00
Rahul Patel
1aeae36fc0 PackageUtil: Load package infos in smaller chunks
-- This fixes issue with loading apps when number of apps on device is fairly very large
2025-01-28 02:26:09 +05:30
Rahul Patel
52e8b0891b SearchResult: Fix filter fab moving up on IME visibility change
Fixes: https://gitlab.com/AuroraOSS/AuroraStore/-/issues/1256
2025-01-28 01:20:09 +05:30
Aayush Gupta
e3ebbe37d2 Move hilt injected objects into viewmodels everywhere
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-23 20:06:23 +07:00
Aayush Gupta
fdafdd39ad MinimalHeaderView: Drop unused custom view
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-21 16:43:30 +07:00
Aayush Gupta
29ec9280c2 HorizontalDividerView: Drop unused custom view
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-21 16:34:36 +07:00
Aayush Gupta
bfb650f0c4 fixup! Remove non-functional pages - EditorChoise, Library, PurchaseHistory
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-21 16:28:42 +07:00
Aayush Gupta
5d8e614c4b fixup! NoAppView: Use string resources directly to show messages
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-20 23:34:28 +07:00
Aayush Gupta
c4b859f32d NoAppView: Use string resources directly to show messages
Also localize "No apps available" string

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-19 11:53:37 +07:00
Aayush Gupta
baf08d600b ExportWorker: Split FGS notification ID from export notification ID
On old Android versions, WorkManager runs expedietd works on FGS and it
automatically removes the notification when work is finished resulting in
users never seeing the export finished notification.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-14 11:28:32 +07:00
Aayush Gupta
1cb1905b48 AppsGamesFragment: Localize header string for installed apps
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-14 10:12:46 +07:00
Aayush Gupta
b749920e40 PermissionsFragment: Use string resources for app links too
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-14 10:07:39 +07:00
Aayush Gupta
34833abb50 DownloadWorker: Avoid passing download data as input
Parsing the data otherwise pukes error on old Android versions due to size

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-12 09:26:54 +07:00
Aayush Gupta
d69ec391ed DispenserFragment: Add missing navigation listener
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-12 09:09:01 +07:00
Aayush Gupta
4e0fc54d6e DevInfoLayout: Switch to property access syntax everywhere
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-11 17:54:58 +07:00
Aayush Gupta
516af19172 AppDetailsFragment: Implement compatibility section using plexus
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-11 17:41:33 +07:00
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