diff options
author | Hailey <me@haileyok.com> | 2024-06-24 17:47:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 17:47:20 -0700 |
commit | 2ed133cb638d830aed8ce7a1d6b897eb25087f25 (patch) | |
tree | 6ca9c58990710ef9d77efcdea2e38e65e5045148 /plugins | |
parent | f94edc3f445c10db5a6b11db62532dc66fc8a968 (diff) | |
download | voidsky-2ed133cb638d830aed8ce7a1d6b897eb25087f25.tar.zst |
Maintain portrait in app clip (#4630)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/starterPackAppClipExtension/withClipInfoPlist.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/starterPackAppClipExtension/withClipInfoPlist.js b/plugins/starterPackAppClipExtension/withClipInfoPlist.js index 59fbed1a9..4f104a654 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}) |