app.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. },
  44. "plugins": [
  45. "expo-router",
  46. [
  47. "expo-splash-screen",
  48. {
  49. "backgroundColor": "#208AEF",
  50. "android": {
  51. "image": "./assets/images/splash-icon.png",
  52. "imageWidth": 76
  53. }
  54. }
  55. ]
  56. ],
  57. "experiments": {
  58. "typedRoutes": true,
  59. "reactCompiler": true
  60. },
  61. "updates": {
  62. "enabled": true,
  63. "checkAutomatically": "ON_LOAD",
  64. "url": "https://loan.ewaga.com/airpatch/manifest", // 你的服务器地址
  65. "fallbackToCacheTimeout": 30000,
  66. // "codeSigningCertificate": "./code-signing/certificate.pem",
  67. // "codeSigningMetadata": {
  68. // "keyid": "main",
  69. // "alg": "rsa-v1_5-sha256"
  70. // }
  71. },
  72. }
  73. }