app.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "expo": {
  3. "name": "Loan Assistant",
  4. "slug": "assistant",
  5. "version": "1.0.2",
  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. ]
  37. },
  38. "web": {
  39. "bundler": "metro",
  40. "output": "static",
  41. "favicon": "./assets/images/favicon.png",
  42. "experiments": {
  43. "baseUrl": "/h5"
  44. }
  45. },
  46. "plugins": [
  47. "expo-router",
  48. [
  49. "expo-splash-screen",
  50. {
  51. "backgroundColor": "#208AEF",
  52. "android": {
  53. "image": "./assets/images/splash-icon.png",
  54. "imageWidth": 76
  55. }
  56. }
  57. ],
  58. [
  59. "expo-file-system",
  60. {
  61. "supportsOpeningDocumentsInPlace": true,
  62. "enableFileSharing": true
  63. }
  64. ],
  65. [
  66. "expo-build-properties",
  67. {
  68. "android": {
  69. "enableMinifyInReleaseBuilds": true,
  70. "enableBundleCompression": true
  71. }
  72. }
  73. ],
  74. "expo-web-browser"
  75. ],
  76. "experiments": {
  77. "typedRoutes": true,
  78. "reactCompiler": true,
  79. "baseUrl": "/h5"
  80. },
  81. "updates": {
  82. "enabled": true,
  83. "checkAutomatically": "NEVER",
  84. "url": "https://updates-loan.ewaga.com/api/manifest",
  85. "fallbackToCacheTimeout": 30000,
  86. "codeSigningCertificate": "./code-signing/certificate.pem",
  87. "codeSigningMetadata": {
  88. "keyid": "main",
  89. "alg": "rsa-v1_5-sha256"
  90. }
  91. }
  92. }
  93. }