app.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {
  2. "expo": {
  3. "name": "Crazy Charge",
  4. "slug": "template",
  5. "version": "1.3.13",
  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. "permissions": [
  44. "android.permission.INTERNET",
  45. "android.permission.CAMERA",
  46. "android.permission.RECORD_AUDIO",
  47. "android.permission.ACCESS_COARSE_LOCATION",
  48. "android.permission.ACCESS_FINE_LOCATION"
  49. ],
  50. "package": "hk.ayf.crazycharge",
  51. "versionCode": 30,
  52. "googleServicesFile": "./google-services.json",
  53. "config": {
  54. "googleMaps": {
  55. "apiKey": "process.env.GOOGLE_MAPS_API_KEY"
  56. }
  57. }
  58. },
  59. "web": {
  60. "bundler": "metro",
  61. "favicon": "./assets/favicon.png"
  62. },
  63. "plugins": [
  64. [
  65. "expo-notifications",
  66. {
  67. "icon": "./assets/cc_android_notification_icon.png",
  68. "color": "#02677D"
  69. }
  70. ],
  71. "expo-router",
  72. "expo-secure-store",
  73. [
  74. "expo-camera",
  75. {
  76. "cameraPermission": "我們需要相機權限來掃描機器上的二維碼,以便識別並啟動充電機器。我們不會儲存或共享任何掃描到的資訊。",
  77. "microphonePermission": "我們需要麥克風權限來允許語音輸入,以便提供更好的充電體驗。我們不會儲存或共享任何錄製到的資訊。",
  78. "recordAudioAndroid": true
  79. }
  80. ],
  81. [
  82. "expo-location",
  83. {
  84. "locationAlwaysAndWhenInUsePermission": "我們需要您的位置資訊來尋找附近的充電站。您的位置資訊只會被用於尋找充電站。我們不會儲存或共享任何資訊",
  85. "locationAlwaysPermission": "我們需要您的位置資訊來尋找附近的充電站。您的位置資訊只會被用於尋找充電站。我們不會儲存或共享任何資訊",
  86. "locationWhenInUsePermission": "我們需要您的位置資訊來尋找附近的充電站。您的位置資訊只會被用於尋找充電站。我們不會儲存或共享任何資訊"
  87. }
  88. ],
  89. [
  90. "expo-font",
  91. {
  92. "android": {
  93. "fonts": [
  94. {
  95. "fontFamily": "Roboto-Bold",
  96. "fontDefinitions": [
  97. {
  98. "path": "./assets/fonts/Roboto-Bold.ttf",
  99. "weight": 800
  100. }
  101. ]
  102. },
  103. {
  104. "fontFamily": "Roboto-Regular",
  105. "fontDefinitions": [
  106. {
  107. "path": "./assets/fonts/Roboto-Regular.ttf",
  108. "weight": 400
  109. }
  110. ]
  111. }
  112. ]
  113. }
  114. }
  115. ]
  116. ],
  117. "extra": {
  118. "router": {
  119. "origin": false
  120. },
  121. "eas": {
  122. "projectId": "dc6b7a3f-cf92-441a-8962-0f25e8d06902"
  123. }
  124. },
  125. "runtimeVersion": "1.3.13",
  126. "updates": {
  127. "url": "https://u.expo.dev/dc6b7a3f-cf92-441a-8962-0f25e8d06902"
  128. },
  129. "owner": "kanff"
  130. }
  131. }