-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.ts
More file actions
80 lines (77 loc) · 1.88 KB
/
app.config.ts
File metadata and controls
80 lines (77 loc) · 1.88 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import { ExpoConfig } from 'expo/config';
const APP_ENV = process.env.EXPO_PUBLIC_APP_ENV || 'production';
const API_ENV = process.env.EXPO_PUBLIC_API_ENV || APP_ENV;
const appName =
APP_ENV === 'development' ? 'KONECT D' : API_ENV === 'development' ? 'KONECT S' : 'KONECT';
const packageName = APP_ENV === 'development' ? 'com.bcsdlab.konect.dev' : 'com.bcsdlab.konect';
const googleServicesFile =
APP_ENV === 'development' ? './google-services-debug.json' : './google-services.json';
const config: ExpoConfig = {
name: appName,
slug: 'konect-react-native',
version: '1.0.8',
orientation: 'portrait',
icon: './assets/images/icon.png',
scheme: 'konect',
userInterfaceStyle: 'automatic',
ios: {
supportsTablet: true,
usesAppleSignIn: true,
bundleIdentifier: packageName,
buildNumber: '1010801',
infoPlist: {
ITSAppUsesNonExemptEncryption: false,
},
},
android: {
versionCode: 1010801,
package: packageName,
googleServicesFile: googleServicesFile,
},
plugins: [
[
'expo-build-properties',
{
android: {
kotlinVersion: '2.0.21',
compileSdkVersion: 36,
targetSdkVersion: 35,
buildToolsVersion: '36.1.0',
},
},
],
'expo-router',
[
'expo-splash-screen',
{
image: './assets/images/splash.png',
resizeMode: 'cover',
backgroundColor: '#69D3E0',
},
],
'expo-font',
'expo-apple-authentication',
[
'expo-secure-store',
{
faceIDPermission: 'Allow KONECT to access your Face ID biometric data.',
},
],
[
'expo-notifications',
{
defaultChannel: 'default_notifications',
},
],
],
experiments: {
typedRoutes: true,
},
extra: {
eas: {
projectId: '266175da-4a8a-414d-92a5-4547c86abb32',
},
},
owner: 'bcsd',
};
export default config;