app.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "expo": {
  3. "name": "Loan Assistant",
  4. "slug": "assistant",
  5. "version": "1.0.1",
  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-file-system",
  61. {
  62. "supportsOpeningDocumentsInPlace": true,
  63. "enableFileSharing": true
  64. }
  65. ],
  66. [
  67. "expo-build-properties",
  68. {
  69. "android": {
  70. "enableMinifyInReleaseBuilds": true,
  71. "enableBundleCompression": true
  72. }
  73. }
  74. ],
  75. "expo-web-browser"
  76. ],
  77. "experiments": {
  78. "typedRoutes": true,
  79. "reactCompiler": true,
  80. "baseUrl": "/h5"
  81. },
  82. "updates": {
  83. "enabled": true,
  84. "checkAutomatically": "NEVER",
  85. "url": "https://updates-loan.ewaga.com/api/manifest",
  86. "fallbackToCacheTimeout": 30000,
  87. "codeSigningCertificate": "./code-signing/certificate.pem",
  88. "codeSigningMetadata": {
  89. "keyid": "main",
  90. "alg": "rsa-v1_5-sha256"
  91. }
  92. }
  93. }
  94. }