app.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. "ios": {
  11. "icon": "./assets/expo.icon",
  12. "bundleIdentifier": "com.cdloan.assistant",
  13. "buildNumber": "1",
  14. "infoPlist": {
  15. "CFBundleDisplayName": "借贷助手",
  16. "NSCameraUsageDescription": "需要访问相机权限以扫描二维码",
  17. "NSPhotoLibraryUsageDescription": "需要访问照片权限以选择图片"
  18. }
  19. },
  20. "android": {
  21. "adaptiveIcon": {
  22. "backgroundColor": "#E6F4FE",
  23. "foregroundImage": "./assets/images/android-icon-foreground.png",
  24. "backgroundImage": "./assets/images/android-icon-background.png",
  25. "monochromeImage": "./assets/images/android-icon-monochrome.png"
  26. },
  27. "predictiveBackGestureEnabled": false,
  28. "package": "com.cdloan.assistant",
  29. "versionCode": 1,
  30. "permissions": [
  31. "CAMERA",
  32. "READ_MEDIA_IMAGES",
  33. "READ_MEDIA_VIDEO"
  34. ]
  35. },
  36. "web": {
  37. "bundler": "metro",
  38. "output": "static",
  39. "favicon": "./assets/images/favicon.png"
  40. },
  41. "plugins": [
  42. "expo-router",
  43. [
  44. "expo-splash-screen",
  45. {
  46. "backgroundColor": "#208AEF",
  47. "android": {
  48. "image": "./assets/images/splash-icon.png",
  49. "imageWidth": 76
  50. }
  51. }
  52. ]
  53. ],
  54. "experiments": {
  55. "typedRoutes": true,
  56. "reactCompiler": true
  57. }
  58. }
  59. }