generated from tilap/expo-minimal-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.config.ts
65 lines (63 loc) · 1.55 KB
/
app.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import { ConfigContext, ExpoConfig } from "@expo/config";
const makeConfig = ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: "Tilap Expo BoilerPlate",
description: "Tilap Expo BoilerPlate",
slug: "tilap-expo-boilerplate",
scheme: "com.tilap.expoboilerplate",
version: "1.0.0",
sdkVersion: "51.0.0",
orientation: "portrait",
icon: "./src/assets/images/icon.png",
userInterfaceStyle: "automatic",
runtimeVersion: {
policy: "sdkVersion",
},
assetBundlePatterns: ["./src/assets/images/*"],
locales: {
fr: "./src/assets/languages/french.json",
en: "./src/assets/languages/english.json",
},
splash: {
image: "./src/assets/images/splash.png",
resizeMode: "contain",
backgroundColor: "#36C2D3",
},
ios: {
bundleIdentifier: "com.tilap.expoboilerplate",
buildNumber: "1.0.0",
infoPlist: {
CFBundleAllowMixedLocalizations: true,
},
},
web: {
bundler: "metro",
},
android: {
adaptiveIcon: {
foregroundImage: "./src/assets/images/adaptive-icon.png",
backgroundColor: "#36C2D3",
},
package: "com.tilap.expoboilerplate",
versionCode: 1,
},
updates: {
enabled: true,
url: "https://u.expo.dev/xxxx-xxxx-xxxx-xxxx-xxxx",
},
extra: {
eas: {
projectId: "xxxx-xxxx-xxxx-xxxx-xxxx",
},
},
plugins: [
[
"expo-media-library",
{
photosPermission: "Allow $(PRODUCT_NAME) to access your photos.",
savePhotosPermission: "Allow $(PRODUCT_NAME) to save photos.",
},
],
],
});
export default makeConfig;