73 lines
1.8 KiB
JSON
73 lines
1.8 KiB
JSON
|
|
{
|
||
|
|
"expo": {
|
||
|
|
"name": "X-Financial",
|
||
|
|
"slug": "x-financial-mobile",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"orientation": "portrait",
|
||
|
|
"icon": "./assets/images/icon.png",
|
||
|
|
"scheme": "xfinancial",
|
||
|
|
"userInterfaceStyle": "light",
|
||
|
|
"ios": {
|
||
|
|
"icon": "./assets/expo.icon"
|
||
|
|
},
|
||
|
|
"android": {
|
||
|
|
"package": "com.xfinancial.mobile",
|
||
|
|
"permissions": [
|
||
|
|
"CAMERA",
|
||
|
|
"RECORD_AUDIO",
|
||
|
|
"READ_MEDIA_IMAGES"
|
||
|
|
],
|
||
|
|
"adaptiveIcon": {
|
||
|
|
"backgroundColor": "#EFFCF6",
|
||
|
|
"foregroundImage": "./assets/images/android-icon-foreground.png",
|
||
|
|
"backgroundImage": "./assets/images/android-icon-background.png",
|
||
|
|
"monochromeImage": "./assets/images/android-icon-monochrome.png"
|
||
|
|
},
|
||
|
|
"predictiveBackGestureEnabled": true
|
||
|
|
},
|
||
|
|
"web": {
|
||
|
|
"output": "static",
|
||
|
|
"favicon": "./assets/images/favicon.png"
|
||
|
|
},
|
||
|
|
"plugins": [
|
||
|
|
"expo-router",
|
||
|
|
[
|
||
|
|
"expo-camera",
|
||
|
|
{
|
||
|
|
"cameraPermission": "X-Financial 需要使用相机拍摄和识别报销票据。"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
[
|
||
|
|
"expo-image-picker",
|
||
|
|
{
|
||
|
|
"photosPermission": "X-Financial 需要读取相册中的票据图片用于报销识别。"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
[
|
||
|
|
"expo-splash-screen",
|
||
|
|
{
|
||
|
|
"backgroundColor": "#059669",
|
||
|
|
"android": {
|
||
|
|
"image": "./assets/images/splash-icon.png",
|
||
|
|
"imageWidth": 76
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
[
|
||
|
|
"expo-audio",
|
||
|
|
{
|
||
|
|
"microphonePermission": "X-Financial 需要使用麦克风进行语音输入。"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"expo-secure-store"
|
||
|
|
],
|
||
|
|
"experiments": {
|
||
|
|
"typedRoutes": true,
|
||
|
|
"reactCompiler": true
|
||
|
|
},
|
||
|
|
"extra": {
|
||
|
|
"apiBaseUrl": "http://10.0.2.2:8000/api/v1"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|