Maintain portrait in app clip (#4630)
parent
f94edc3f44
commit
2ed133cb63
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue