-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapp.config.js
71 lines (67 loc) · 1.83 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/* eslint-disable @typescript-eslint/no-var-requires */
require("dotenv").config();
const PACKAGE_NAME = process.env.PACKAGE_NAME;
const PROJECT_ID = process.env.PROJECT_ID;
const PROJECT_SLUG = process.env.PROJECT_SLUG;
const PROJECT_OWNER = process.env.PROJECT_OWNER;
const PROJECT_VERSION = process.env.PROJECT_VERSION;
const splash = {
image: "./assets/images/splash.png",
resizeMode: "cover",
backgroundColor: "#ffffff",
dark: {
image: "./assets/images/splash.png",
resizeMode: "cover",
backgroundColor: "#413f44",
},
};
export default {
name: "StreamlineX",
slug: PROJECT_SLUG,
owner: PROJECT_OWNER,
version: PROJECT_VERSION,
orientation: "portrait",
icon: "./assets/images/icon.png",
scheme: PACKAGE_NAME,
userInterfaceStyle: "automatic",
privacy: "public",
githubUrl: "https://github.com/Jonak-Adipta-Kalita/JAK-Mobile-App",
assetBundlePatterns: ["**/*"],
ios: {
splash,
usesAppleSignIn: true,
supportsTablet: true,
bundleIdentifier: PACKAGE_NAME,
buildNumber: PROJECT_VERSION,
googleServicesFile: "./google_services_ios.plist",
},
android: {
splash,
permissions: [],
adaptiveIcon: {
foregroundImage: "./assets/images/adaptive-icon.png",
backgroundColor: "#ffffff",
},
package: PACKAGE_NAME,
googleServicesFile: "./google_services_android.json",
},
plugins: [
[
"expo-camera",
{
cameraPermission: "Allow $(PRODUCT_NAME) to access camera.",
},
],
],
extra: {
eas: {
projectId: PROJECT_ID,
},
},
updates: {
url: `https://u.expo.dev/${PROJECT_ID}`,
},
runtimeVersion: {
policy: "sdkVersion",
},
};