app.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "expo": {
  3. "name": "Crazy Charge",
  4. "slug": "template",
  5. "version": "1.3.9",
  6. "orientation": "portrait",
  7. "icon": "./assets/CC_Logo.png",
  8. "userInterfaceStyle": "light",
  9. "scheme": "ccscheme",
  10. "splash": {
  11. "image": "./assets/splash.png",
  12. "resizeMode": "contain",
  13. "backgroundColor": "#02677D"
  14. },
  15. "assetBundlePatterns": ["**/*"],
  16. "ios": {
  17. "supportsTablet": false,
  18. "bundleIdentifier": "hk.ayf.crazycharge",
  19. "infoPlist": {
  20. "LSApplicationQueriesSchemes": ["whatsapp"],
  21. "UIBackgroundModes": ["remote-notification"],
  22. "CFBundleAllowMixedLocalizations": true,
  23. "NSAppTransportSecurity": {
  24. "NSExceptionDomains": {
  25. "exp.direct": {
  26. "NSIncludesSubdomains": true,
  27. "NSExceptionAllowsInsecureHTTPLoads": true
  28. }
  29. }
  30. },
  31. "ITSAppUsesNonExemptEncryption": false
  32. },
  33. "config": {
  34. "googleMapsApiKey": "process.env.GOOGLE_MAPS_API_KEY"
  35. }
  36. },
  37. "android": {
  38. "adaptiveIcon": {
  39. "foregroundImage": "./assets/cc_android_ccLogo.png",
  40. "backgroundColor": "#000000"
  41. },
  42. "icon": "./assets/cc_android_ccLogo.png",
  43. "notification": {
  44. "icon": "./assets/cc_android_notification_icon.png",
  45. "color": "#02677D"
  46. },
  47. "permissions": [
  48. "android.permission.INTERNET",
  49. "android.permission.CAMERA",
  50. "android.permission.RECORD_AUDIO",
  51. "android.permission.ACCESS_COARSE_LOCATION",
  52. "android.permission.ACCESS_FINE_LOCATION"
  53. ],
  54. "package": "hk.ayf.crazycharge",
  55. "versionCode": 30,
  56. "googleServicesFile": "./google-services.json",
  57. "config": {
  58. "googleMaps": {
  59. "apiKey": "process.env.GOOGLE_MAPS_API_KEY"
  60. }
  61. }
  62. },
  63. "web": {
  64. "bundler": "metro",
  65. "favicon": "./assets/favicon.png"
  66. },
  67. "plugins": [
  68. [
  69. "expo-notifications",
  70. {
  71. "icon": "./assets/cc_android_notification_icon.png",
  72. "color": "#02677D"
  73. }
  74. ],
  75. "expo-router",
  76. "expo-secure-store",
  77. [
  78. "expo-camera",
  79. {
  80. "cameraPermission": "我們需要相機權限來掃描機器上的二維碼,以便識別並啟動充電機器。我們不會儲存或共享任何掃描到的資訊。",
  81. "microphonePermission": "我們需要麥克風權限來允許語音輸入,以便提供更好的充電體驗。我們不會儲存或共享任何錄製到的資訊。",
  82. "recordAudioAndroid": true
  83. }
  84. ],
  85. [
  86. "expo-location",
  87. {
  88. "locationAlwaysAndWhenInUsePermission": "我們需要您的位置資訊來尋找附近的充電站。您的位置資訊只會被用於尋找充電站。我們不會儲存或共享任何資訊",
  89. "locationAlwaysPermission": "我們需要您的位置資訊來尋找附近的充電站。您的位置資訊只會被用於尋找充電站。我們不會儲存或共享任何資訊",
  90. "locationWhenInUsePermission": "我們需要您的位置資訊來尋找附近的充電站。您的位置資訊只會被用於尋找充電站。我們不會儲存或共享任何資訊"
  91. }
  92. ]
  93. ],
  94. "extra": {
  95. "router": {
  96. "origin": false
  97. },
  98. "eas": {
  99. "projectId": "dc6b7a3f-cf92-441a-8962-0f25e8d06902"
  100. }
  101. },
  102. "runtimeVersion": "1.3.3",
  103. "updates": {
  104. "url": "https://u.expo.dev/dc6b7a3f-cf92-441a-8962-0f25e8d06902"
  105. },
  106. "owner": "kanff"
  107. }
  108. }