app.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "expo": {
  3. "name": "Loan Assistant",
  4. "slug": "assistant",
  5. "version": "1.0.0",
  6. "orientation": "portrait",
  7. "icon": "./assets/images/icon.png",
  8. "scheme": "loanassistant",
  9. "userInterfaceStyle": "light",
  10. "runtimeVersion": {
  11. "policy": "appVersion"
  12. },
  13. "ios": {
  14. "icon": "./assets/expo.icon",
  15. "bundleIdentifier": "com.cdloan.assistant",
  16. "buildNumber": "1",
  17. "infoPlist": {
  18. "CFBundleDisplayName": "借贷助手",
  19. "NSCameraUsageDescription": "需要访问相机权限以扫描二维码",
  20. "NSPhotoLibraryUsageDescription": "需要访问照片权限以选择图片"
  21. }
  22. },
  23. "android": {
  24. "adaptiveIcon": {
  25. "backgroundColor": "#E6F4FE",
  26. "foregroundImage": "./assets/images/android-icon-foreground.png",
  27. "backgroundImage": "./assets/images/android-icon-background.png",
  28. "monochromeImage": "./assets/images/android-icon-monochrome.png"
  29. },
  30. "predictiveBackGestureEnabled": false,
  31. "package": "com.cdloan.assistant",
  32. "versionCode": 1,
  33. "permissions": [
  34. "CAMERA",
  35. "READ_MEDIA_IMAGES",
  36. "READ_MEDIA_VIDEO"
  37. ]
  38. },
  39. "web": {
  40. "bundler": "metro",
  41. "output": "static",
  42. "favicon": "./assets/images/favicon.png",
  43. "experiments": {
  44. "baseUrl": "/h5"
  45. }
  46. },
  47. "plugins": [
  48. "expo-router",
  49. [
  50. "expo-splash-screen",
  51. {
  52. "backgroundColor": "#208AEF",
  53. "android": {
  54. "image": "./assets/images/splash-icon.png",
  55. "imageWidth": 76
  56. }
  57. }
  58. ],
  59. [
  60. "expo-build-properties",
  61. {
  62. "android": {
  63. "enableMinifyInReleaseBuilds": true,
  64. "enableBundleCompression": true
  65. }
  66. }
  67. ]
  68. ],
  69. "experiments": {
  70. "typedRoutes": true,
  71. "reactCompiler": true,
  72. "baseUrl": "/h5"
  73. },
  74. "updates": {
  75. "enabled": true,
  76. "checkAutomatically": "NEVER",
  77. "url": "https://updates-loan.ewaga.com/api/manifest",
  78. "fallbackToCacheTimeout": 30000,
  79. "codeSigningCertificate": "./code-signing/certificate.pem",
  80. "codeSigningMetadata": {
  81. "keyid": "main",
  82. "alg": "rsa-v1_5-sha256"
  83. }
  84. }
  85. }
  86. }