Repository navigation
Description
Please describe your feature request and it's use cases.
LiveContainer ships SideStore as a built-in app, but the SideStore refresh action is currently not reachable from Shortcuts or Shortcuts automations.
Why it isn't reachable today
SideStore's RefreshAllAppsIntent lives in SideStore/Intents/App Intents/RefreshAllAppsIntent.swift in the SideStore repo, and is registered by SideStore's own AppShortcutsProvider in AltStore/Intents/App Intents/AppShortcuts.swift:
AppShortcut(intent: RefreshAllAppsIntent(),
phrases: ["Refresh \(.applicationName) apps", ...],
shortTitle: "Refresh All Apps", ...)However, when SideStore is installed inside LiveContainer, none of this reaches the system. The RefreshAllAppsIntent belongs to the SideStore bundle, which has no independent App Intent identity — the system only knows about the host app (LiveContainer).
LiveContainer already works around this internally. SideStoreSupport/SideStoreClient.swift invokes the intent through the private LNAction / LNAppContext API via PrivateIntentRunner:
let parent = PrivateIntentRunner.run(
identifier: identifier,
mangledTypeName: mangledTypeName
) { result, error in ... }This works, but it is only reachable from LiveContainer's own UI. As a result, the only App Intent LiveContainer exposes to Shortcuts is LaunchAppIntent (launching an app inside LiveContainer) — there is no way to trigger a refresh.
At the moment the only workaround is a Shortcuts step that opens sidestore:// and then manually taps the refresh button, which is not automatable and cannot report success or failure.
This matters because free Apple ID developer certificates expire after 7 days, so users need a reliable way to keep their sideloaded apps alive — ideally from a scheduled Shortcuts automation that runs unattended.
Proposed solution
Please expose a public App Intent from LiveContainer that performs a SideStore refresh, for example:
@available(iOS 17.0, *)
struct RefreshSideStoreAppsIntent: AppIntent {
static var title: LocalizedStringResource = "Refresh SideStore Apps"
static var description = IntentDescription("Refreshes the apps installed by SideStore to prevent them from expiring.")
static var openAppWhenRun = false
func perform() async throws -> some IntentResult & ProvidesDialog {
// reuse the existing SideStoreIntentCaller / PrivateIntentRunner path
return .result(dialog: "All apps have been refreshed.")
}
}and register it in an AppShortcutsProvider so it also becomes available to Siri and Spotlight.
Ideally it would also accept an optional bundleID parameter so a single app can be refreshed.
Describe alternatives you've considered
- Using the
sidestore://URL scheme with arefreshhost. This is the approach that works for the standalone SideStore app (whoseURLHandlercurrently supportsinstall,source,pairing,certificateandappbackupresponsebut norefresh), but a deep link still opens the app, so it does not solve the "run silently in the background" requirement. A dedicated App Intent withopenAppWhenRun = falseis the better fit for Shortcuts automations. - Adding a
refreshhost to SideStore'sURLHandler.swifton the SideStore side. This would benefit standalone SideStore users, but on its own it does not help LiveContainer users. - Triggering a refresh over the LocalDevVPN / minimuxer channel. This is more complex and requires the VPN to be running, so it is not a good fit for a lightweight automation.
Additional context
- Relevant files:
SideStoreSupport/SideStoreClient.swift— already containsSideStoreIntentCaller.callRefreshIntent2(...)/performRefreshForReal(identifier:mangledTypeName:server:), which is exactly the refresh logic that needs to be surfacedSideStoreSupport/PrivateIntentRunner.{h,m}— the private-API bridge used to run the intent out-of-processLaunchAppExtension/LaunchAppIntent.swift— the only App Intent currently exposed by LiveContainer, a good template for the new one
PrivateIntentRunneralready passesopenAppWhenRun:NOwhen constructing theLNAction, so the underlying refresh already runs without foregrounding the app — the intent is simply not reachable from outside LiveContainer today.SideStore/Intents/App Intents/RefreshAllAppsIntent.swiftin the SideStore repo does not declarestatic var openAppWhenRun = false(unlikeInstallIPAIntentin the same file), which means the standalone app pulls itself to the foreground when the intent is run. Setting that on the SideStore side as well would make the behaviour consistent across both distributions.
Activity