Commit Graph

38 Commits

Author SHA1 Message Date
Rahul Patel
012f4dcc26 Restructure notification channels by intent and importance
Notifications were too intrusive: install-success and export sat on
IMPORTANT_HIGH channels and produced heads-up alerts for every app,
while genuine download failures were buried in the IMPORTANCE_MIN
downloads channel where they were easily missed.

Restructure the channels around user intent:

- Download progress -> MIN, silent, no badge
- Installed apps    -> LOW, silent (was HIGH)
- Updates available -> DEFAULT, silent
- App export        -> LOW, silent (was HIGH)
- Errors & alerts   -> HIGH (new, the only heads-up channel)

Failed downloads, installer-status errors and the unarchive auth prompt
now route to the high-importance alerts channel so they aren't lost,
while successful installs/exports stay quiet.

Android ignores importance edits on an already-created channel, so the
install/export channels get new IDs and the retired IDs (including the
folded-in account channel) are deleted on next launch.
2026-05-30 17:54:59 +05:30
Rahul Patel
d13d50e442 Surface self-updates through the regular updates list
Fold Aurora Store's self-update back into the existing update pipeline
instead of a dedicated sheet/viewmodel/helper. The feed entry is mapped
to a regular App and added to the update list, reusing the standard
download + install path; it is never auto-installed silently.

- Add a dedicated "Self-update" section in the Updates tab with the
  app-details navigation disabled (it's served from the Aurora OSS feed).
- Gate eligibility via PackageUtil.isSelfUpdateSupported(): vanilla/preload
  flavors, not debug, not F-Droid (huawei excluded by flavor).
- Add a build-aware Settings toggle as the opt-out, removing the row
  immediately when disabled.
- Exempt nightly self-updates from deleteInvalidUpdates (static version
  code) and drop any stale self-update row when none is offered, so a
  phantom update doesn't linger after a self-install.
2026-05-29 23:28:09 +05:30
Aayush Gupta
37793ee67d ktlint: Final formatting fixes
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-01 12:37:07 +08:00
Rahul Patel
434d285732 use microGInstaller if available & minor ui state fix 2025-12-24 15:16:10 +05:30
Aayush Gupta
3c01dd28fa compose: spoof: Migrate spoof menu to compose
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-12-08 15:08:37 +08:00
Aayush Gupta
b993700f8f compose: accounts: Initial migration
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-18 12:17:21 +05:30
Rahul Patel
aea945491d Allow huawei variants to install microG & support silent installs. 2025-07-05 14:59:41 +05:30
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
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
Aayush Gupta
8024b4a8f0 AppDetailsViewModel: Extract exodus API key and url
Allow it to be overriden easily for different build types

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-11-05 20:09:12 +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
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
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
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
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
5f714e624b MainActivity: Use NavigationRail on large screen devices
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-04-16 10:45:14 +05:30
Aayush Gupta
c3963519e0 MainActivity: Move navigation drawer items into dialogfragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-04-16 10:37:38 +05:30
Aayush Gupta
687b8f0e68 Constants: Drop unused variables
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-04-04 13:46:39 +05:30
Aayush Gupta
ac3065ab2c Improve and fix proxy setup/usage
* Switch connectivitycheck URL to HTTPS as cleartext communication is disabled
* Use GlobalScope to verify and setup proxy URL
* Ignore proxy setup in HttpClient if its empty

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-05 14:17:11 +05:30
Aayush Gupta
2f5d39106a UpdateWorker: Merge self-updates logic for non-fdroid builds
Treat Aurora Store as a normal app for non-fdroid builds and check
for its updates based on auto-update preference.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-02 13:26:54 +05:30
Aayush Gupta
c562f4351e IInstaller: Use Download object for installing apps
Contains all required data for us to install an app making things easier
to work with.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-01-26 13:15:26 +05:30
Aayush Gupta
8c7377efd6 AppDetailsFragment: Link exodus analysis submission page
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-01-08 21:01:25 +05:30
Aayush Gupta
01dee174bc DownloadWorker: Trigger app installation on success
* Transparent dummy activity to trigger installation of apps from notification

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-11-29 18:59:17 +05:30
Rahul Patel
f19631ad6a Add support for proxies - 2/3 2023-10-22 14:27:13 +05:30
Aayush Gupta
9b8e3cf9c4 Implement automated updates check
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-06-18 17:56:50 +05:30
Aayush Gupta
6b2f22350c Add preference to open custom tab for searching apps
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-04 12:13:34 +05:30
Rahul Kumar Patel
26f5d4fd55 Get rid of CTT 2021-12-27 22:02:34 +05:30
Konstantin Tuev
b7ebb772dd Enable fetching of app download urls in the background (AppDetailsActivity.kt), force granting of all permissions in OnboardingActivity.kt by disabling finish until PermissionsFragment.kt notifies successfully granted permissions, handle currently installing apps better by saving them in multi-thread proof list in UpdateService.kt, add own notification group for UpdateService.kt and all required UpdateService.kt strings, add ability to pass file list to service installer for more advanced, non-system service installers, save downloaded files in getExternalFilesDir by default for more useful file list for more advanced, non-system service installers without compromising security because of Android's restrictions on the Android/data directory 2021-06-14 20:58:58 +03:00
Rahul Kumar Patel
c530c223bf Use https for shared URLs
Resolves : https://gitlab.com/AuroraOSS/AuroraStore/-/issues/652
2021-05-27 00:08:48 +05:30
Rahul Kumar Patel
88d4742b24 Remove network connectivity before downloads 2021-04-12 03:03:10 +05:30
Rahul Kumar Patel
e2141aac72 Skip self update for nightlies 2021-04-07 00:40:41 +05:30
marchingon12
e5533eab80 Use blobs instead of raws
Using raws with Markdown is not appealing to the user and hard to read. Using blobs will render Markdown readable on GitLab itself.

Requested from someone in Telegram group.

Signed-off-by: marchingon12 <augustthegreat.cool@gmail.com>
2021-03-22 06:19:38 +01:00
Rahul Kumar Patel
b202025cbb Add dialog to read TOS 2021-03-02 01:09:26 +05:30
Rahul Kumar Patel
90113ab338 Add legacy self-update so v3 users can get v4 update 2021-03-01 22:02:09 +05:30
Rahul Kumar Patel
dfc706b13e Initial v4 2021-02-15 05:37:36 +05:30