-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathapp.config.ts
More file actions
72 lines (70 loc) · 1.95 KB
/
app.config.ts
File metadata and controls
72 lines (70 loc) · 1.95 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
import type { ConfigContext, ExpoConfig } from 'expo/config';
import type { WithAndroidWidgetsParams } from 'react-native-android-widget';
const widgetConfig: WithAndroidWidgetsParams = {
widgets: [
{
name: 'ModemStatus',
label: 'Modem Status',
description: 'Display modem speed and usage statistics',
minWidth: '180dp',
minHeight: '110dp',
targetCellWidth: 3,
targetCellHeight: 2,
maxResizeWidth: '320dp',
maxResizeHeight: '280dp',
previewImage: './assets/widget-preview/modem_status.png',
updatePeriodMillis: 1800000,
resizeMode: 'horizontal|vertical',
},
],
};
export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: 'Huawei Manager',
slug: 'hm-mobile',
version: '1.1.25',
orientation: 'portrait',
icon: './assets/logo.png',
userInterfaceStyle: 'automatic',
scheme: 'hm-mobile',
plugins: [
'expo-router',
[
'expo-build-properties',
{
android: {
usesCleartextTraffic: true,
},
},
],
'expo-localization',
'expo-font',
['react-native-android-widget', widgetConfig],
'expo-mail-composer',
],
splash: {
image: './assets/logo.png',
resizeMode: 'contain',
backgroundColor: '#ffffff',
},
ios: {
supportsTablet: true,
},
android: {
adaptiveIcon: {
foregroundImage: './assets/logo.png',
backgroundColor: '#ffffff',
},
predictiveBackGestureEnabled: false,
package: 'com.alrescha79.hmmobile',
googleServicesFile: './google-services.json',
},
web: {
favicon: './assets/logo.png',
},
extra: {
eas: {
projectId: '930db156-f012-4b37-809c-d023a044d3b3',
},
},
});