diff --git a/plugins/starterPackAppClipExtension/withClipInfoPlist.js b/plugins/starterPackAppClipExtension/withClipInfoPlist.js index 59fbed1a..4f104a65 100644 --- a/plugins/starterPackAppClipExtension/withClipInfoPlist.js +++ b/plugins/starterPackAppClipExtension/withClipInfoPlist.js @@ -26,6 +26,14 @@ const withClipInfoPlist = (config, {targetName}) => { CFBundleShortVersionString: config.version, CFBundleIconName: 'AppIcon', UIViewControllerBasedStatusBarAppearance: 'NO', + UISupportedInterfaceOrientations: [ + 'UIInterfaceOrientationPortrait', + 'UIInterfaceOrientationPortraitUpsideDown', + ], + 'UISupportedInterfaceOrientations~ipad': [ + 'UIInterfaceOrientationPortrait', + 'UIInterfaceOrientationPortraitUpsideDown', + ], }) fs.mkdirSync(path.dirname(targetPath), {recursive: true})