app.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. "experiments": {
  61. "typedRoutes": true,
  62. "reactCompiler": true,
  63. "baseUrl": "/h5"
  64. },
  65. "updates": {
  66. "enabled": true,
  67. "checkAutomatically": "ON_LOAD",
  68. "url": "https://loan.ewaga.com/airpatch/api/manifest", // 你的服务器地址
  69. "fallbackToCacheTimeout": 30000,
  70. // "codeSigningCertificate": "./code-signing/certificate.pem",
  71. // "codeSigningMetadata": {
  72. // "keyid": "main",
  73. // "alg": "rsa-v1_5-sha256"
  74. // }
  75. },
  76. }
  77. }