app.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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-build-properties",
  61. {
  62. "android": {
  63. "enableMinifyInReleaseBuilds": true,
  64. "enableBundleCompression": true
  65. }
  66. }
  67. ],
  68. "expo-web-browser"
  69. ],
  70. "experiments": {
  71. "typedRoutes": true,
  72. "reactCompiler": true,
  73. "baseUrl": "/h5"
  74. },
  75. "updates": {
  76. "enabled": true,
  77. "checkAutomatically": "NEVER",
  78. "url": "https://updates-loan.ewaga.com/api/manifest",
  79. "fallbackToCacheTimeout": 30000,
  80. "codeSigningCertificate": "./code-signing/certificate.pem",
  81. "codeSigningMetadata": {
  82. "keyid": "main",
  83. "alg": "rsa-v1_5-sha256"
  84. }
  85. }
  86. }
  87. }