mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 20:27:44 +00:00
56 lines
1.0 KiB
TypeScript
56 lines
1.0 KiB
TypeScript
import type { ConfigContext, ExpoConfig } from "expo/config";
|
|
|
|
export default ({ config }: ConfigContext): ExpoConfig => ({
|
|
...config,
|
|
name: "Better Auth",
|
|
slug: "better-auth",
|
|
scheme: "better-auth",
|
|
version: "0.1.0",
|
|
orientation: "portrait",
|
|
icon: "./assets/icon.png",
|
|
userInterfaceStyle: "automatic",
|
|
splash: {
|
|
image: "./assets/icon.png",
|
|
resizeMode: "contain",
|
|
backgroundColor: "#1F104A",
|
|
},
|
|
web: {
|
|
bundler: "metro",
|
|
output: "server",
|
|
},
|
|
updates: {
|
|
fallbackToCacheTimeout: 0,
|
|
},
|
|
assetBundlePatterns: ["**/*"],
|
|
ios: {
|
|
bundleIdentifier: "your.bundle.identifier",
|
|
supportsTablet: true,
|
|
},
|
|
android: {
|
|
package: "your.bundle.identifier",
|
|
adaptiveIcon: {
|
|
foregroundImage: "./assets/icon.png",
|
|
backgroundColor: "#1F104A",
|
|
},
|
|
},
|
|
// extra: {
|
|
// eas: {
|
|
// projectId: "your-eas-project-id",
|
|
// },
|
|
// },
|
|
experiments: {
|
|
tsconfigPaths: true,
|
|
typedRoutes: true,
|
|
},
|
|
plugins: [
|
|
[
|
|
"expo-router",
|
|
{
|
|
origin: "http://localhost:8081",
|
|
},
|
|
],
|
|
"expo-secure-store",
|
|
"expo-font",
|
|
],
|
|
});
|