Skip to content

Commit e368184

Browse files
Mitchell Swaynclaude
andcommitted
fix(mobile): lock the camera capture extension to portrait
Matches Apple's reference locked camera capture extension, which declares its supported orientations. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent f6c904a commit e368184

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/mobile/plugins/lib/addCameraControlTargets.cjs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ function addCameraControlTargets(proj, opts) {
149149
INFOPLIST_FILE: `${opts.extensionTargetName}/Info.plist`,
150150
INFOPLIST_KEY_CFBundleDisplayName: `"${opts.displayName}"`,
151151
INFOPLIST_KEY_NSCameraUsageDescription: `"${opts.cameraUsageDescription}"`,
152+
INFOPLIST_KEY_UISupportedInterfaceOrientations: "UIInterfaceOrientationPortrait",
152153
IPHONEOS_DEPLOYMENT_TARGET: "18.0",
153154
LD_RUNPATH_SEARCH_PATHS: [
154155
'"$(inherited)"',

0 commit comments

Comments
 (0)