Commit Graph

469 Commits

Author SHA1 Message Date
Riley Testut
7bd93bba2d [AltKit] Replaces dedicated AltKit module with shared files across targets
Treating AltKit as a full module resulted in more complexity than necessary, when we really just wanted to share some files between different targets. Now we can share individual files across modules as-needed without AltKit overhead.
2020-09-03 15:35:29 -07:00
osy
97232fec1e Preserve device specific keys in Info.plist
Apple's Info.plist support platform and device specific keys to augment existing
keys. For example `UISupportedInterfaceOrientations~ipad` replaces
`UISupportedInterfaceOrientations` when running on an iPad.

By using Bundle.infoDictionary, Apple will pre-process the Info.plist and replace
any key with its device specific variant. Since AltStore does not support iPad,
this will strip out any iPad specific keys for the installing app.

We add an extension Bundle.completeInfoDictionary that will return the original
de-serialized dictionary including all the device specific keys.

See: https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/AboutInformationPropertyListFiles.html#//apple_ref/doc/uid/TP40009254-SW9

# Conflicts:
#	AltKit/Extensions/Bundle+AltStore.swift
#	AltStore/Model/DatabaseManager.swift
2020-08-31 12:47:11 -07:00
Riley Testut
11ac99af97 Updates apps.json 2020-08-31 12:39:41 -07:00
Riley Testut
fff044344a Migrates from Core Data model v6 to v7 2020-08-28 13:25:20 -07:00
Riley Testut
89f214e872 Updates apps.json for 1.3.6 2020-08-28 12:58:54 -07:00
Riley Testut
7f54953d84 Fixes missing CoreCrypto header errors for AltKit + AltServer 2020-08-28 12:43:47 -07:00
Riley Testut
b33c72959d Merge branch 'accessibility_improvements' into develop
# Conflicts:
#	AltStore/Sources/SourcesViewController.swift
2020-08-28 12:39:05 -07:00
Riley Testut
c6beba4412 Adds altstore://source?url=[link] deep link to add sources 2020-08-28 12:15:15 -07:00
Riley Testut
1b0f6a19f1 Shows source errors in SourcesViewController 2020-08-27 16:39:03 -07:00
Riley Testut
08bcd9b9fd Improves error handling when fetching multiple sources
Fetching sources is no longer all or nothing. Now if a source cannot be fetched, it won’t prevent other sources from being updated.
2020-08-27 16:28:13 -07:00
Riley Testut
1d8ef12686 Improves News tab accessibility
Combines News item name + subtitle into single accessibility group.
2020-08-27 15:27:38 -07:00
Riley Testut
ba34999c71 Improves My Apps tab accessibility 2020-08-27 15:25:52 -07:00
Riley Testut
a49c48b15b Announces errors when VoiceOver is enabled 2020-08-27 15:24:26 -07:00
Riley Testut
3e600ca2d8 Improves AppBannerView accessibility 2020-08-27 15:23:21 -07:00
Riley Testut
503709f385 Updates AltSign dependency 2020-08-27 14:40:33 -07:00
Riley Testut
ecce91d630 Updates patreon access token 2020-08-14 12:27:13 -07:00
Riley Testut
87a6e0f2d0 Updates apps.json for AltStore 1.4b4 2020-07-27 13:31:09 -07:00
Riley Testut
5daca634f4 Fixes “unsupported code signature version” error on iOS 14 2020-07-24 13:08:58 -07:00
Riley Testut
af6f57f945 Fixes installing AltStore versions containing app extensions 2020-07-24 13:02:48 -07:00
Riley Testut
f683cd0fc6 [AltServer] Uses actual app bundle ID when installing app 2020-07-24 12:21:42 -07:00
Riley Testut
a4d7bb75ff Updates apps.json for 1.3.5 2020-07-15 14:28:54 -07:00
Riley Testut
b6c1b51a44 Merge branch '1.3.5' into develop 2020-07-15 14:28:06 -07:00
Riley Testut
47a9c3229e Updates app version to 1.3.5 2020-07-15 11:58:46 -07:00
Riley Testut
b3c82cf054 Fixes Bonjour discovery on iOS 14
iOS 14 requires apps to specify which Bonjour services they support as well as a usage description in order to browse the local network.
2020-07-15 11:55:48 -07:00
Riley Testut
e2a5b9b090 Fixes Apple ID authentication on iOS 14 and macOS 11 2020-07-15 11:55:39 -07:00
Riley Testut
98582d49ed [AltDaemon] Changes default build configuration to Release 2020-06-22 16:04:57 -07:00
Riley Testut
db959c42b8 Adds 1.4 prerelease versions to apps(-alpha).json 2020-06-22 16:03:49 -07:00
Riley Testut
23a2d57f36 Adds Clip 1.0 to apps.json 2020-06-22 16:03:08 -07:00
Riley Testut
556a2541a3 [AltDaemon] Updates version to 0.2 2020-06-11 17:57:14 -07:00
Riley Testut
e5818334a3 [AltDaemon] Disables tweak injection to improve stability 2020-06-11 16:16:37 -07:00
Riley Testut
c6a2de7115 [AltDaemon] Fixes certificate becoming untrusted after refreshing 2020-06-11 16:15:45 -07:00
Riley Testut
706e52c464 Merge branch 'jailbreak' into develop 2020-06-08 11:33:57 -07:00
Riley Testut
8883f5f55d Merge branch 'backup_apps' into develop 2020-06-08 11:33:26 -07:00
Riley Testut
e3f0359f3e Adds “Install AltDaemon” option to settings (jailbreak only)
Exports AltDaemon that can be installed with Filza or another file/package manager.
2020-06-07 10:02:41 -07:00
Riley Testut
feae50520d Replaces cached AltStore every launch for DEBUG builds 2020-06-07 09:49:29 -07:00
Riley Testut
d221c95b6f [AltServer] Includes underlying installation error in error response 2020-06-07 09:48:53 -07:00
Riley Testut
761282baf0 [AltKit] Gracefully fails if no data is received over network connection 2020-06-05 15:43:05 -07:00
Riley Testut
7a9dfdfe5e Improves error messages when there’s an underlying error 2020-06-05 15:32:10 -07:00
Riley Testut
fb3a96a511 [AltDaemon] Synchronizes AppManager operations
Installing and removing apps is now done on a serial dispatch queue, and installing/removing profiles uses file coordination.
2020-06-05 14:35:05 -07:00
Riley Testut
fb1e6e059a [AltKit] Includes underlying error in error response 2020-06-05 14:19:40 -07:00
Riley Testut
b5b3887348 [AltDaemon] Adds explicit autoreleasepool to main.swift 2020-06-05 14:13:09 -07:00
Riley Testut
4311db2cf7 Supports installing/refreshings apps w/o computer on jailbroken devices
AltStore will use AltDaemon as a local AltServer if it’s installed and running. AltStore remains a regular sandboxed app, but AltDaemon has private entitlements necessary to perform AltServer operations without a computer.
2020-06-04 19:53:10 -07:00
Riley Testut
6f075e7ac4 [AltDaemon] Initial version
AltDaemon allows AltStore to install and refresh apps without a computer on jailbroken devices. AltDaemon has the necessary entitlements to perform the same actions AltServer normally does over WiFi, and uses the same AltServer request logic to handle local requests.
2020-06-04 19:48:02 -07:00
Riley Testut
ee3a2eec35 [AltServer] Moves core ConnectionManager logic to AltKit
Refactors ConnectionManager to use arbitrary RequestHandlers and ConnectionHandlers. This allows the core AltServer request logic to be shared across different targets with different connection types.
2020-06-04 19:06:13 -07:00
Riley Testut
4cd3ede535 Updates apps.json for 1.3.4 2020-05-27 10:11:02 -07:00
Riley Testut
9318dadbd4 [AltServer] Updates app version to 1.3.2 2020-05-27 10:10:32 -07:00
Riley Testut
f8dfef9f2b [AltServer] Improves error message when device is untrusted or locked during installation 2020-05-21 22:06:18 -07:00
Riley Testut
2bb47798dd [AltServer] Suggests disabling “Offload Unused Apps” in error message
iOS 13.5 counts offloaded apps as active sideloaded apps (for some reason), so improve error messages to mention this.
2020-05-21 22:04:24 -07:00
Riley Testut
f8b8381129 Updates app version to 1.3.4 2020-05-19 20:10:55 -07:00
Riley Testut
0124c60680 [AltServer] Updates app version to 1.3.1 2020-05-19 20:09:50 -07:00