Maintain portrait in app clip (#4630)
parent
f94edc3f44
commit
2ed133cb63
|
@ -26,6 +26,14 @@ const withClipInfoPlist = (config, {targetName}) => {
|
||||||
CFBundleShortVersionString: config.version,
|
CFBundleShortVersionString: config.version,
|
||||||
CFBundleIconName: 'AppIcon',
|
CFBundleIconName: 'AppIcon',
|
||||||
UIViewControllerBasedStatusBarAppearance: 'NO',
|
UIViewControllerBasedStatusBarAppearance: 'NO',
|
||||||
|
UISupportedInterfaceOrientations: [
|
||||||
|
'UIInterfaceOrientationPortrait',
|
||||||
|
'UIInterfaceOrientationPortraitUpsideDown',
|
||||||
|
],
|
||||||
|
'UISupportedInterfaceOrientations~ipad': [
|
||||||
|
'UIInterfaceOrientationPortrait',
|
||||||
|
'UIInterfaceOrientationPortraitUpsideDown',
|
||||||
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
fs.mkdirSync(path.dirname(targetPath), {recursive: true})
|
fs.mkdirSync(path.dirname(targetPath), {recursive: true})
|
||||||
|
|
Loading…
Reference in New Issue