mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 08:33:25 +00:00
48 lines
1.0 KiB
TypeScript
48 lines
1.0 KiB
TypeScript
import type { ExpoConfig } from "expo/config";
|
|
|
|
const defineConfig = (): ExpoConfig => ({
|
|
name: "movie-web",
|
|
slug: "mw-mobile",
|
|
scheme: "dev.movieweb.app",
|
|
version: "1.0.0",
|
|
orientation: "portrait",
|
|
icon: "./assets/images/icon.png",
|
|
userInterfaceStyle: "automatic",
|
|
splash: {
|
|
image: "./assets/images/splash.png",
|
|
resizeMode: "contain",
|
|
backgroundColor: "#ffffff",
|
|
},
|
|
updates: {
|
|
fallbackToCacheTimeout: 0,
|
|
},
|
|
assetBundlePatterns: ["**/*"],
|
|
ios: {
|
|
bundleIdentifier: "dev.movieweb.app",
|
|
supportsTablet: true,
|
|
},
|
|
android: {
|
|
package: "dev.movieweb.app",
|
|
adaptiveIcon: {
|
|
foregroundImage: "./assets/images/adaptive-icon.png",
|
|
backgroundColor: "#FFFFFF",
|
|
},
|
|
},
|
|
web: {
|
|
favicon: "./assets/images/favicon.png",
|
|
bundler: "metro",
|
|
},
|
|
// extra: {
|
|
// eas: {
|
|
// projectId: "your-eas-project-id",
|
|
// },
|
|
// },
|
|
experiments: {
|
|
tsconfigPaths: true,
|
|
typedRoutes: true,
|
|
},
|
|
plugins: ["expo-router"],
|
|
});
|
|
|
|
export default defineConfig;
|