Add ios device orientation settings to config.xml; use more appropriate statusbar-spacing on devices with notch
This commit is contained in:
parent
8a0dce51a2
commit
40f1e77d51
|
@ -182,7 +182,7 @@ export class App extends ServiceWorker(StateMixin(AutoSync(ErrorHandling(AutoLoc
|
|||
|
||||
.views > * {
|
||||
${mixins.fullbleed()};
|
||||
top: max(calc(env(safe-area-inset-top, 0) - 1em), 0em);
|
||||
top: max(calc(env(safe-area-inset-top, 0) - 0.5em), 0em);
|
||||
}
|
||||
|
||||
.wrapper:not(.active),
|
||||
|
|
|
@ -71,6 +71,19 @@
|
|||
<false />
|
||||
</config-file>
|
||||
<splash src="res/ios/splash/Default@3x~universal~anyany.png" />
|
||||
<config-file parent="UISupportedInterfaceOrientations" platform="ios" target="*-Info.plist">
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
</array>
|
||||
</config-file>
|
||||
<config-file parent="UISupportedInterfaceOrientations~ipad" platform="ios" target="*-Info.plist">
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
</config-file>
|
||||
</platform>
|
||||
<plugin name="cordova-plugin-app-version" spec="~0.1.9" />
|
||||
<plugin name="cordova-plugin-backbutton" spec="~0.3.0" />
|
||||
|
|
Loading…
Reference in New Issue