-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathapp.config.js
62 lines (61 loc) · 1.52 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
const {
appDelegateContent,
mainActivityContent,
mainApplicationContent,
} = require('./zalokitStrings');
module.exports = {
expo: {
name: 'my-expo-app',
slug: 'my-expo-app',
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,
bundleIdentifier: 'com.anonymous.myexpoapp',
},
android: {
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor: '#ffffff',
},
package: 'com.anonymous.myexpoapp',
},
web: {
favicon: './assets/favicon.png',
},
plugins: [
[
'expo-build-properties',
{
android: {
extraProguardRules: `
-keep class com.zing.zalo.**{ *; }
-keep enum com.zing.zalo.**{ *; }
-keep interface com.zing.zalo.**{ *; }
`,
},
},
],
['react-native-zalo-kit/expo/withAppDelegateDebug'],
['react-native-zalo-kit/expo/withMainActivityDebug'],
['react-native-zalo-kit/expo/withMainApplicationDebug'],
// [
// "react-native-zalo-kit/expo",
// {
// appId: "2451745039837416278",
// appDelegateContent,
// mainActivityContent,
// mainApplicationContent,
// },
// ],
],
},
};