Commit Graph

1269 Commits

Author SHA1 Message Date
darkkey
1a02e4221e Add AM installer 2021-07-10 03:49:40 +07:00
Konstantin Tuev
bcdfb2b8f7 Revert "remove useless ThreadPoolExecutor in ServiceInstaller.kt" as it is needed for consistent and manageable ServiceConnection 2021-06-17 20:52:27 +03:00
Konstantin Tuev
014d3478f2 Fix issue with installing being called multiple times when a completed download is queue again, fix issues with UpdateService.kt stiopping when it might be needed (extended stopSelf timeout (5 secs) & made all calls to the service stack in a HashSet in case the service was not running when it was needed - AppDetailsActivity.kt & UpdatesFragment.kt), remove useless ThreadPoolExecutor in ServiceInstaller.kt, made the installing list in UpdateService.kt a set and made it concurrency-proof with a lock and dynamic thread creation when needed 2021-06-15 14:11:29 +03:00
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
Konstantin Tuev
4e111fa9f4 Fix AppInstaller spawning useless instances by preserving the original instance of every instantiated installer type (fixes wrongly started or concurrent installs/uninstalls), implement service based install for new downloads (integrated in the UpdateService.kt and the AppDetailsActivity.kt), prevent multiple calls for install by using ThreadPoolExecutor (applied only to ServiceInstaller.kt for now), fix timer issues in the UpdateService.kt 2021-06-09 23:09:27 +03:00
Konstantin Tuev
ca4f8d939e Updating apps is done in a separate foreground service so that AuroraStore doesn't need to be open for updating to work, every app downloaded is fetched with a unique random but saved and constant groupID based on appID and versionCode (prevents install issues with updated apps while keeping history), fix double install calls by finishing the implementation of the install queue (ServiceInstaller only for now), fix issues with ServiceInstaller (uninstall calls wrong bus event, service connection was not detached properly) and more + more to come 2021-06-08 22:22:25 +03:00
Rahul Patel
37c00973d1 Merge branch 'master' into 'master'
Set default version code values ​​for manual download

See merge request AuroraOSS/AuroraStore!124
2021-05-26 20:00:49 +00:00
Rahul Kumar Patel
f2b32d2fff Merge branch 'OJFord/AuroraStore-intent-install' into HEAD 2021-05-27 01:22:07 +05:30
Oliver Ford
86c08e9eab Add marker files to indicate download progress
1bfc8a14 adds the ability to download APKs via an intent, but since
intents are asynchronous, and the incomplete APK appears in its final
destination ~immediately while it downloads, the caller lacks a way to
identify that download has completed.

This commit adds two marker files in the form:

    sdcard/Aurora/Store/Downloads/com.pkg/.1234.download-in-progress
    sdcard/Aurora/Store/Downloads/com.pkg/.1234.download-complete

(where `com.pkg` and `1234` are package names and version codes
respectively)

in order that the caller can see:

  1. the version that is being downloaded;
  2. when the download has finished.
2021-05-27 01:19:49 +05:30
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
4ad1fd3fb5 Revert "Add promotional apps section on ForYou page"
This reverts commit 00e24e5125.
2021-05-27 00:04:13 +05:30
Rahul Kumar Patel
b61c8a38b4 Revert "Allow hiding promotional apps"
This reverts commit 2cb10c2fd4.
2021-05-27 00:03:59 +05:30
Vladislav
5bae8fa8f4 Set default version code values ​​for manual download 2021-05-26 16:20:21 +00:00
Rahul Kumar Patel
a8730d5cd1 Allow checking updates for disabled apps & fix loops
Resolves : #645, #587
2021-05-14 03:51:57 +05:30
Rahul Kumar Patel
b27a1f19d5 Fix directory heirarchy for internal storage downloads 2021-05-14 03:10:03 +05:30
Rahul Kumar Patel
9f1feb9ea1 Allow exporting current device config 2021-05-14 02:52:55 +05:30
Rahul Kumar Patel
2cb10c2fd4 Allow hiding promotional apps 2021-05-14 02:33:01 +05:30
Rahul Kumar Patel
00e24e5125 Add promotional apps section on ForYou page 2021-05-14 02:02:31 +05:30
Oliver Ford
1bfc8a14fb Add ability to download/install from intent 2021-04-20 20:19:37 +01:00
Rahul Kumar Patel
88d4742b24 Remove network connectivity before downloads 2021-04-12 03:03:10 +05:30
Rahul Kumar Patel
94e9ea25d4 Housekeeping [3/n] 2021-04-11 02:05:13 +05:30
Rahul Kumar Patel
60a974f96b Do not trigger redownload when exception is thrown while installation 2021-04-11 01:28:32 +05:30
0123456789
9a4ab1d97c Changed hardcoded strings to translatable 2021-04-11 01:28:24 +05:30
0123456789
6ccdf09551 Sort app lists alphabetially 2021-04-11 01:28:06 +05:30
Rahul Kumar Patel
e2141aac72 Skip self update for nightlies 2021-04-07 00:40:41 +05:30
Rahul Kumar Patel
660268587e Do not allow users to install bundled apps via native installer 2021-04-06 22:32:33 +05:30
Rahul Kumar Patel
0228cc1a3c Fix missing downloads entry 2021-04-06 22:13:17 +05:30
Rahul Kumar Patel
d0da44e287 Update VersionName.VersionCode to VersionName (VersionCode) 2021-04-06 04:56:47 +05:30
Rahul Kumar Patel
e03ad145dc Fix self update issues 2021-04-06 04:53:34 +05:30
Rahul Kumar Patel
ccdedcc95d Fix File Not Found Error on Update - open failed: ENOENT 2021-04-06 03:35:33 +05:30
Rahul Kumar Patel
1a454a0bc9 Add back manual downloader from v3 2021-04-06 03:26:05 +05:30
Rahul Kumar Patel
9aa03ebec2 Update about page layout 2021-04-06 01:30:27 +05:30
Rahul Kumar Patel
c043148aa2 Fix top charts issue 2021-04-05 04:53:19 +05:30
Rahul Kumar Patel
48771baa1c Use proper TAG to show filter sheet 2021-04-05 04:34:28 +05:30
Rahul Kumar Patel
ee8cde3f26 Add back search filters from v3 2021-04-05 04:29:10 +05:30
Rahul Kumar Patel
a76638af0d Allow disabling similar, related & more apps in app details page 2021-04-04 03:57:33 +05:30
Rahul Kumar Patel
2dd570dd05 Sort spoof locales by name 2021-04-04 03:49:26 +05:30
Rahul Kumar Patel
3daf7d4a60 Increase timeout duration to 25 secs, to compensate on slow networks 2021-04-04 03:19:48 +05:30
Rahul Kumar Patel
e8ce479269 Allow selecting default tab, disable For You Page & add quick exit 2021-04-04 02:12:10 +05:30
Rahul Kumar Patel
ea290fedba Add support for insecure anonymous session, open bridge geo-spoofing 2021-03-29 07:49:10 +05:30
Rahul Kumar Patel
626040f008 Use existing download if available, do not redownload 2021-03-29 04:41:41 +05:30
Rahul Kumar Patel
4c3be496fe Add accounts & settings action on splash activity
https://gitlab.com/AuroraOSS/AuroraStore/-/issues/549
2021-03-27 03:40:49 +05:30
Rahul Kumar Patel
d73f0b1e12 Do not allow TOS to be dismissed 2021-03-27 03:29:19 +05:30
Rahul Kumar Patel
533e22a57c Use default system language is not spoofed 2021-03-27 03:03:15 +05:30
Rahul Kumar Patel
69567dfaa0 Auto strip Huawei realated properties from config 2021-03-27 02:54:31 +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
634474e6ca Fix issue where services version >9 was not configurable 2021-03-20 03:21:23 +05:30
Rahul Kumar Patel
4023a1881e Improve updates fragment actions 2021-03-20 02:35:27 +05:30
Rahul Kumar Patel
48c5651250 Block app purchases on anonymous accounts 2021-03-15 11:41:24 +05:30
Rahul Kumar Patel
527989a393 Improve app updates page [1/2] 2021-03-08 00:17:45 +05:30