Repository navigation
feat(mobile): run natively on iPad - #8736
Draft
johnmatthewtennant wants to merge 1 commit into
Draft
johnmatthewtennant wants to merge 1 commit into
johnmatthewtennant wants to merge 1 commit into
Conversation
The iOS app targeted iPhone only, so on an iPad it ran as a scaled iPhone app. Target both device families and support all four iPad orientations, which iPad multitasking requires unless the app opts out with UIRequiresFullScreen (App Store error ITMS-90474). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: John Tennant <jtennant@squareup.com>
This branch has not been deployed
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.
Summary
The iOS app targeted iPhone only (
TARGETED_DEVICE_FAMILY = 1), so on an iPad it ran as a scaled-up iPhone app. It now targets iPhone and iPad.TARGETED_DEVICE_FAMILY = "1,2"at the project level, which the Runner and NotificationService targets inherit.UISupportedInterfaceOrientations~ipadlists all four orientations. iPad multitasking requires them unless the app setsUIRequiresFullScreen(App Store validation ITMS-90474); this keeps multitasking available.This is the smallest step to a native iPad build; iPad-specific layouts are follow-ups. Shipping it to the App Store also requires iPad screenshots in App Store Connect.
Related issue
None found.
Testing
Built and launched on an iPad Pro 11-inch (M5) simulator (iOS 26.5): onboarding renders full-width and centered, with no layout exceptions in the log. Landscape, Split View sizes and sheets have not been exercised yet.
Screenshots
Onboarding at the PR head on an iPad Pro 11-inch (M5) simulator, landscape, filling the screen natively: