Riley Testut
d56800a908
Asks user to review permissions when installing/updating apps
...
When installing, all entitlements will be shown. When updating, only _added_ entitlements will be shown.
2024-12-26 21:15:29 +05:30
Riley Testut
19207f9cf1
Clears image cache with “Clear Cache…” option in Settings
...
Also increases image cache size to 512MB.
2024-12-26 21:15:29 +05:30
Riley Testut
c194ba0afe
Downloads latest _available_ version when updating from AppViewController
...
Asks user to fall back to latest supported verson if version is not compatible with device’s iOS version.
2024-12-26 21:15:29 +05:30
Riley Testut
2fed241d8f
Fixes showing Patreon page when installing non-Patreon apps
2024-12-26 21:15:29 +05:30
Riley Testut
b13d13eac6
Supports remotely disabling workaround for downloading Patreon attachments
...
In case our workaround for downloading Patreon post attachments breaks, we can remotely disable it and force AltStore to use its fallback instead (taking user to post directly).
2024-12-26 21:15:29 +05:30
Riley Testut
83b3f46906
Supports downloading apps from locked Patreon posts
...
Uses cached Patreon session cookies to access post attachments despite no official API support.
2024-12-26 21:15:29 +05:30
Riley Testut
97025b3730
[AltStoreCore] Adds AppProtocol.storeApp
...
Simplifies retrieving the associated StoreApp for an app.
2024-12-26 21:15:29 +05:30
Riley Testut
54d9cff53a
Verifies StoreApp.isPledged status when updating source
2024-12-26 21:15:29 +05:30
Riley Testut
a790bbf691
Supports both iPhone + iPad screenshots
...
Prefers showing screenshots for current device, but falls back to all screenshots if there are no relevant ones.
2024-12-26 21:15:29 +05:30
Riley Testut
357103944d
[Shared] Includes CodingPath in Source errors’ debug description (if available)
2024-12-26 21:15:29 +05:30
Riley Testut
00bcdec0dc
Revises appPermissions JSON format
...
• Split into `entitlements` and `privacy` sections
• `entitlements` is an array of entitlement keys
• `privacy` is a dictionary mapping UsageDescription keys to their descriptions
2024-12-26 21:15:29 +05:30
Riley Testut
5f93ee387f
Adds AddSourceViewController to add sources by URL or from list of recommended sources
2024-12-26 21:15:29 +05:30
Riley Testut
79c7e994e8
[AltStoreCore] Adds Source.isRecommended
...
Also replaces legacy “Trusted Sources” references with “Recommended Sources”
2024-12-26 21:15:29 +05:30
Riley Testut
99df4a1a01
Logs misc. events with OSLog
...
* Discovering AltServers
* Clearing app cache
* Updating Friend Zone Patrons
2024-12-26 21:15:29 +05:30
Riley Testut
3e5e03c4d3
Logs Fugu14-related events with OSLog
2024-12-26 21:15:29 +05:30
Riley Testut
fed587954d
Logs sideloading-related events with OSLog
2024-12-26 21:15:29 +05:30
Riley Testut
834a8a6506
Fixes not showing “AltServer Not Found” error when refreshing via widget
2024-12-26 21:15:29 +05:30
Riley Testut
392affe027
Converts legacy RefreshAllIntent into App Shortcut (iOS 17+)
2024-12-26 21:15:29 +05:30
Riley Testut
92d0f1a3c0
Fixes race condition causing duplicate background refresh notifications (or none)
2024-12-26 21:15:29 +05:30
Riley Testut
7cbb2da71d
Adds “Disable Response Caching” debug setting
...
When enabled, AltStore will ignore cached responses for certain requests and will always make a new request to the server. This is useful for development when repeatedly testing changes to remote files.
Limited to UpdateKnownSourcesOperation for now, but will eventually affect fetching sources as well.
2024-12-26 21:15:29 +05:30
Riley Testut
72f4bd3657
Refactors app version comparison logic to always include buildVersion
...
Before, whether or not the source included the buildVersion affected the comparison. If present, the buildVersion was used in comparison, if not, only the version itself was used for comparsion.
This meant it was impossible to update from a version with a buildVersion to the same version without one (e.g. going from betas to final releases). Now we _always_ consider the buildVersion in the comparsion, so an earlier entry in versions array without buildVersion can be considered “newer” even if versions match.
2024-12-26 21:15:29 +05:30
Riley Testut
008e740606
Fixes incorrectly handling misc. CancellationErrors
2024-12-26 21:15:29 +05:30
Riley Testut
8929b857cf
Removes support for “background mode” permissions
2024-12-26 21:15:29 +05:30
Riley Testut
ea428b5f40
Temporarily disables verifying added permissions
...
We’ll re-enable once we finish the “Review Permissions” screen.
2024-12-26 21:15:29 +05:30
Riley Testut
9142d42d4e
Includes more detailed info in VerificationError.addedPermission error messages
...
* New version
* Previous version
* Added permissions
2024-12-26 21:15:29 +05:30
Riley Testut
6168e0c3f1
Supports bypassing “Undeclared Permissions” error while sources are in beta
...
Presents error alert that can be explicitly bypassed by user when sideloading apps with undeclared permissions, and also allows user to view all undeclared permissions.
2024-12-26 21:15:29 +05:30
Riley Testut
92ccdc8451
Verifies downloaded app’s build version matches source (if provided)
2024-12-26 21:15:29 +05:30
Riley Testut
35e3d09f4c
Supports app versions with explicit build versions
...
AltStore will now consider an update available if either:
* The source’s marketing version doesn’t match installed app’s version
* The source declares a build version AND it doesn’t match the install app’s build version
The installed app matches an app version if both maketing versions match, and the build versions match (if provided by the source).
2024-12-26 21:15:29 +05:30
Riley Testut
7c0f61de81
Updates SourceError.blocked recovery suggestion to list installed/blocked apps
...
If source is already added, the error message will list all installed apps from the source.
If adding source for first time, the error message will mention exactly which apps have been blocked from the source (if provided).
2024-12-26 21:15:29 +05:30
Riley Testut
7249fa8ad0
Removes unused verificationHandler property from VerifyAppOperation
2024-12-26 21:15:29 +05:30
Riley Testut
495cddf2e4
Supports blocking third-party sources
...
Blocked sources cannot be added by new users, or updated for existing users.
2024-12-26 21:15:29 +05:30
Riley Testut
9fcea41e14
Moves SourceError to its own source file
2024-12-26 21:15:29 +05:30
Riley Testut
9ae96eda2c
Verifies all privacy + background mode permissions have usage descriptions
2024-12-26 21:15:29 +05:30
Riley Testut
3a2556709c
Verifies app updates have same permissions as previously installed versions
2024-12-26 21:15:29 +05:30
Riley Testut
8b68a41caf
Verifies downloaded app’s permissions match source
...
Renames source JSON permissions key to “appPermissions” in order to preserve backwards compatibility, since we’ve changed the schema for permissions.
2024-12-26 21:15:29 +05:30
Riley Testut
05c39cd80c
Verifies source’s identifier doesn’t match existing sources when adding
2024-12-26 21:15:29 +05:30
Riley Testut
2532f160bb
Verifies source’s identifier doesn’t change after refreshing
2024-12-26 21:15:29 +05:30
Riley Testut
09ad29a372
Verifies downloaded app’s version matches source
2024-12-26 21:15:29 +05:30
Riley Testut
5e4feabc36
Replaces OperationError.cancelled with CancellationError
...
Keeps `OperationError.cancelled` around for source-compatibility, but now returns CancellationError() instead of OperationError.
2024-12-26 21:15:29 +05:30
Riley Testut
67ac0eb400
Verifies downloaded app’s SHA-256 checksum (if specified)
2024-12-26 21:15:29 +05:30
Riley Testut
3f6cecf3ec
Moves VerificationError to its own source file
2024-12-26 21:15:29 +05:30
Riley Testut
e459cc00aa
Removes Psychic Paper support from VerifyAppOperation
2024-12-26 21:15:29 +05:30
Riley Testut
1708b5409a
Defines explicit error codes for OperationError.Code cases
2024-12-26 21:15:29 +05:30
Riley Testut
ed2f750b7b
Supports adding/removing source from SourceDetailViewController
2024-12-26 21:15:29 +05:30
Riley Testut
403b34c39c
Fixes error fetching Friend Zone patrons due to unexpected nil name
2024-12-26 21:15:29 +05:30
Riley Testut
b12e33d5c9
Removes unnecessary @available annotations
2024-12-26 21:15:29 +05:30
Riley Testut
ae11777359
Removes unnecessary #available checks
2024-12-26 21:15:29 +05:30
Riley Testut
05ef72ddfd
Adds “Clear Cache” button to remove temporary files and uninstalled app backups
2024-12-26 21:15:29 +05:30
Riley Testut
d76b258073
Fixes non-readable error toast view when an authentication error occurs
2024-12-26 21:15:29 +05:30
Riley Testut
f4856bd435
Fixes “missing provisioning profile” error when refreshing DEBUG builds
...
Removes embedded XCTest (+ dSYM) bundles before resigning for DEBUG builds.
2024-12-26 21:15:29 +05:30