Commit Graph

235 Commits

Author SHA1 Message Date
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
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
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
59a2ae5e08 AppDetails: Add reviews by latest 2024-12-15 00:16:58 +05:30
Rahul Patel
852d9bdb85 Blacklist: Add select & remove all action 2024-12-05 22:00:49 +05:30
Rahul Patel
d3d30100a0 Blacklist: Add support for import & export 2024-12-05 20:25:06 +05:30
Rahul Patel
baaac89662 Restart app post onboarding 2024-12-01 19:02:09 +08:00
Aayush Gupta
b7cf4c5918 UpdatePreferences: Drop Google apps filter
Doesn't covers all possible apps nor makes sense as lot of
android core system apps are developed by Google. Users should
blacklist apps manually which they don't want to be updated instead.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-11-22 19:29:19 +07:00
Aayush Gupta
277198762b UpdateWorker: Merge and simplify logic for checking updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-11-22 19:28:41 +07:00
Aayush Gupta
bc3e1b0d1b FiltersPreference: Merge into UpdatesPreference
They only apply to updates as we try to show all available apps in
installed and blacklist fragment to be clear about all possible apps
aurora store can check updates for.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-11-22 19:28:41 +07:00
Aayush Gupta
84cd577a3c SpoofProvider: Refactor and adjust a bit
* Show default device on top under different category
* Remove spoof configuration when default is selected

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-11-22 19:28:41 +07:00
Aayush Gupta
20e7b13851 Rework permission flow for updates
* Rename CHECK_ONLY to CHECK_AND_NOTIFY to better reflect it's name

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-11-06 10:47:25 +05:30
Aayush Gupta
3b5a958be6 ManualDownloadSheet: Change button text from check to install
We trigger installation if the app is available. Be more clear about it.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-26 13:05:01 +05:30
Aayush Gupta
10635519fc AboutFragment: Localize made with love string
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-26 11:45:33 +05:30
Aayush Gupta
0eb58a4e9e Rework updates check & install setup
Merge updates checking logic into UpdateWorker and move trigger
methods to UpdateHelper class, similar to how DownloadHelper works.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-21 19:32:54 +05:30
Aayush Gupta
98322b3358 Support unarchiving apps on Android 15+ devices
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-19 13:52:31 +05:30
Aayush Gupta
499449b306 DownloadStatus: Localize download status
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-13 11:44:19 +05:30
Aayush Gupta
d066e070bf InstallationPreference: Drop setting to abandon sessions manually
Sessions are always abandoned on app start similar to downloads

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-08 18:38:55 +05:30
Aayush Gupta
a5c85939ed DownloadPreference: Move APK post-install setting to InstallationPreference
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-08 18:15:52 +05:30
Aayush Gupta
2eb129fbb7 NotificationUtil: Split and rename notification channels for install & exports
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-08 17:06:30 +05:30
Aayush Gupta
ddfa99ec6d NotificationUtil: Rename general channel to downloads
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-08 17:06:30 +05:30
Aayush Gupta
8abb358f6c NotificationUtil: Drop unused updater service notification channel
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-08 17:06:30 +05:30
Rahul Patel
3546ed8a54 Dynamic colors [1/2] 2024-08-31 02:33:07 +05:30
Rahul Patel
33b398cb3b Fix file exporter worker on devices running android < 12 2024-08-14 18:19:27 +05:30
Aayush Gupta
86a7fce277 Force restart when proxy URL is changed
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-06 17:42:06 -07:00
Aayush Gupta
8aeec0c082 AppDetailsFragment: Add data safety section
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-29 23:42:00 +07:00
Rahul Patel
a6760b45d5 Do a manual check for OBB directory R/W access before attempting to download apps with OBB files 2024-07-29 19:25:44 +07:00
Rahul Patel
a4567a6460 AppDetails: Make install app permission check a must before requesting an install 2024-07-29 02:28:41 +05:30
Rahul Patel
44b9a1a7b2 Redo Permissions [1/2] 2024-07-29 01:11:20 +05:30
Rahul Patel
6a01825a4f Do not allow ESA & ESM prompt without Installer Permission
- This avoids OBB dir permission bakchodi!
2024-07-29 01:11:19 +05:30
Rahul Patel
2b65eeb742 Resource house keeping + color cleanup 2024-07-29 01:11:16 +05:30
Aayush Gupta
14aa476313 UpdatesFragment: Add missing "for" in check_updates button
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-18 13:00:04 +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
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
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
dae20af9e8 Improve event data classes 2024-07-12 20:16:28 +05:30
Aayush Gupta
d75f70590a ExportWorker: Show notification on export status when finished
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-10 18:29:13 +07:00
Aayush Gupta
81d3b15ce2 Add favourites apps [2/2]
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-09 11:22:16 +07:00
Rahul Patel
bbedb30d46 Add favourites apps [1/2]
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-09 11:22:16 +07:00
Rahul Patel
37b3d2f2db DetailsFragment: Do not enqueue download if app is not supported
- This would be more relevant when we migrate to web APIs
 - Web stream are not device specific so it may list unsupported apps
2024-06-26 23:50:58 +05:30
Aayush Gupta
1fc5f3b87b FilterPreference: Drop persistant search filter setting
Filters should persist for a single search only to ensure users can view all available
apps when starting a new search

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-12 10:25:17 +05:30
Aayush Gupta
66045bceac Context: Drop leftovers of custom tab intent
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-11 12:15:33 +05:30
Aayush Gupta
df45048757 SplashFragment: Reword session_login string to request login
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-10 14:52:51 +05:30
Aayush Gupta
925cfac7c9 Add details about Aurora Store in welcome and about fragments
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-09 20:45:33 +05:30
Aayush Gupta
6bf75bb68a AccountFragment: Throw users on splashFragment on logout
We have multiple checks implemented at this point in splashFragment to ensure
proper validation and navigation. If a user logs out and hits back button, he still
gets to browse Aurora Store which is an unintended behaviour.

Instead of handling same logic twice everywhere, make AccountFragment minimal and only
handle logging out here.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 13:42:40 +05:30
Aayush Gupta
3fb0c45574 AboutFragment: Rearrange links to prioritise support URLs
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 11:24:39 +05:30
Aayush Gupta
dd5f443e1f AboutFragment: Add link to GitLab wiki
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 11:16:47 +05:30
Aayush Gupta
446b8213ee DispenserFragment: Show info if no dispensers are available
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 10:28:20 +05:30
Aayush Gupta
453f6f24c2 Initial support for third-party dispensers
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 09:46:20 +05:30