feat: video player orientation

This commit is contained in:
Adrian Castro
2024-02-05 09:32:53 +01:00
parent 55be0860b9
commit 8e03075ebc
4 changed files with 52 additions and 14 deletions

View File

@@ -5,7 +5,6 @@ const defineConfig = (): ExpoConfig => ({
slug: "mw-mobile",
scheme: "dev.movieweb.app",
version: "0.1.0",
orientation: "portrait",
icon: "./assets/images/icon.png",
userInterfaceStyle: "automatic",
splash: {
@@ -20,6 +19,7 @@ const defineConfig = (): ExpoConfig => ({
ios: {
bundleIdentifier: "dev.movieweb.app",
supportsTablet: true,
requireFullScreen: true,
},
android: {
package: "dev.movieweb.app",
@@ -41,7 +41,13 @@ const defineConfig = (): ExpoConfig => ({
tsconfigPaths: true,
typedRoutes: true,
},
plugins: ["expo-router"],
plugins: ["expo-router", [
"expo-screen-orientation",
{
initialOrientation: "DEFAULT"
}
]
],
});
export default defineConfig;