-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.config.js
More file actions
51 lines (50 loc) · 1.31 KB
/
app.config.js
File metadata and controls
51 lines (50 loc) · 1.31 KB
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
/* eslint-disable no-undef */
// eslint-disable-next-line @typescript-eslint/no-var-requires
require("dotenv").config(); // Carrega variáveis do .env
export default {
expo: {
plugins: ["expo-router"],
name: "crazystack",
slug: "crazystack",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/images/icon.png",
scheme: "myapp",
userInterfaceStyle: "automatic",
newArchEnabled: false,
assetBundlePatterns: ["**/*"],
web: {
bundler: "metro",
output: "static",
favicon: "./assets/images/favicon.png",
},
packagerOpts: {
config: "metro.config.js",
},
splash: {
image: "./assets/images/splash-icon.png",
resizeMode: "contain",
backgroundColor: "#8826d5",
},
android: {
package: "br.com.crazystack",
adaptiveIcon: {
foregroundImage: "./assets/images/adaptive-icon.png",
backgroundColor: "#ffffff",
},
config: {
googleMaps: {
apiKey: process.env.GOOGLE_MAPS_API_KEY, // Lê do .env
},
},
},
ios: {
bundleIdentifier: "br.com.crazystack",
supportsTablet: true,
infoPlist: {
NSCameraUsageDescription:
"We need access to your camera to allow you to take photos and videos within the app.",
},
},
},
};