Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix or feature
Feature from outside: #1272 (ready for milestone and maintainer review by @LNPANDY and @v0lumehi).
What and why
Problem. Players on iPhone and iPad cannot launch a game directly from the Home Screen, Lock Screen or StandBy.
Change. Add an optional WidgetKit extension, App Group snapshots, configurable AppIntents and
nx2apple://deep links across seven widget families.Checked
frontend,frontend-ios,frontend-qt,tools,l10n_shell_catalogs.py --checkand generic iOSxcodebuildall passed.NX_SHELL_CAPTURE_DIRusing synthetic placeholder art.Screenshots
No existing desktop or iOS library view changed. New iOS and iPadOS widget renders:
Details
Architecture and provisioning compatibility
ShellHostModelwrites a compactsnapshot.json(up to 48 games) and downsampled cover thumbnails into the shared App Group container (group.<app-bundle-id>) whenever library state or launch recency changes.ShellWidgetimplementsContinuePlayingWidgetandSwitch2DeckWidgetacrosssystemSmall,systemMedium,systemLarge,systemExtraLarge,accessoryCircular,accessoryRectangularandaccessoryInline, backed byWidgetConfigurationIntent(All Games,Switch 2,Pinned Game) and a zero-artworkEntityQuery.ShellDeepLinkroutesnx2apple://play/<title_id>,nx2apple://settings/<title_id>,nx2apple://controllersandnx2apple://libraryfrom cold start (ShellMain.mandShellApp.swift) and warm start (onOpenURL) with 16-hex Title ID validation.ShellInstall,ShellExport,AppSignature,build_shell.sh,build_shell_template.pyandfrontend-qt/nspb_qt/win/shell_export.pyre-signPlugIns/DmShellWidget.appexwhen a matching extension provisioning profile is present, and stripPlugIns/cleanly on free Personal Team accounts so standard device installs keep working.Commands and test results (
bff5164ond0adbda, macOS 26,MacOSX27.2.sdkandiPhoneOS27.2.sdk)python3 tools/l10n_shell_catalogs.py --check— passed (all 10 locales synced)python3 -m unittest discover -s frontend-qt/tests— 492 tests passed (46 skipped)python3 -m unittest discover tools/tests— 249 tests passed (29 skipped)swift test --package-path frontend— 1,195 tests passed (49 skipped, 0 failures)swift test --package-path frontend-ios— XCTest plus 223 Swift Testing tests in 26 suites passed (0 failures)xcodebuild -project frontend-ios/Demo/ShellDemo.xcodeproj -scheme ShellDemo -destination 'generic/platform=iOS' CODE_SIGNING_ALLOWED=NO build—BUILD SUCCEEDEDbash frontend-ios/Shell/build_shell.sh --build—DmShell.appand embeddedPlugIns/DmShellWidget.appexbuilt cleanlyScope
dm/,scripts/,docs/,ref/) is added to the repository: a change there is a patch inpatches/(a commit inengine/, thentools/engine.py export, andtools/engine.py checkpasses), with itsUpstream-Status