-
Notifications
You must be signed in to change notification settings - Fork 4
/
app.config.js
57 lines (52 loc) · 1.19 KB
/
app.config.js
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
// @ts-check
const path = require("path");
const dotenv = require("dotenv");
const envResult = dotenv.config({
path: path.resolve(process.cwd(), ".env.development.local"),
});
const INCLUDE_ENV_FOR_DEV = process.env.INCLUDE_ENV_FOR_DEV === "1";
/**
* @type {import("@expo/config").ExpoConfig}
*/
const config = {
name: "turnkey-demo-consumer-wallet",
slug: "turnkey-demo-consumer-wallet",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "light",
splash: {
image: "./assets/splash.png",
resizeMode: "contain",
backgroundColor: "#ffffff",
},
assetBundlePatterns: ["**/*"],
ios: {
supportsTablet: true,
config: {
usesNonExemptEncryption: false,
},
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#ffffff",
},
},
web: {
favicon: "./assets/favicon.png",
},
extra: {
...(INCLUDE_ENV_FOR_DEV ? envResult.parsed : {}),
},
plugins: [
[
"expo-barcode-scanner",
{
cameraPermission:
"Allow $(PRODUCT_NAME) to access your camera for QR code scanning.",
},
],
],
};
module.exports = config;