app.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "expo": {
  3. "name": "Crazycharge",
  4. "slug": "template",
  5. "version": "1.3.3",
  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.com.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. },
  32. "config": {
  33. "googleMapsApiKey": "AIzaSyAkfen-gfGOQyA9ui0_OjOS6TrA5-viBMI"
  34. }
  35. },
  36. "android": {
  37. "adaptiveIcon": {
  38. "foregroundImage": "./assets/cc_android_ccLogo.png",
  39. "backgroundColor": "#000000"
  40. },
  41. "icon": "./assets/cc_android_ccLogo.png",
  42. "notification": {
  43. "icon": "./assets/cc_android_notification_icon.png",
  44. "color": "#02677D"
  45. },
  46. "permissions": [
  47. "android.permission.CAMERA",
  48. "android.permission.RECORD_AUDIO",
  49. "android.permission.ACCESS_COARSE_LOCATION",
  50. "android.permission.ACCESS_FINE_LOCATION"
  51. ],
  52. "package": "hk.com.crazycharge",
  53. "versionCode": 30,
  54. "googleServicesFile": "./google-services.json",
  55. "config": {
  56. "googleMaps": {
  57. "apiKey": "AIzaSyAkfen-gfGOQyA9ui0_OjOS6TrA5-viBMI"
  58. }
  59. }
  60. },
  61. "web": {
  62. "favicon": "./assets/favicon.png"
  63. },
  64. "plugins": [
  65. [
  66. "expo-notifications",
  67. {
  68. "icon": "./assets/cc_android_notification_icon.png",
  69. "color": "#02677D"
  70. }
  71. ],
  72. "expo-router",
  73. "expo-secure-store",
  74. [
  75. "expo-camera",
  76. {
  77. "cameraPermission": "我們需要相機權限來掃描機器上的二維碼,以便識別並啟動充電機器。我們不會儲存或共享任何掃描到的資訊。",
  78. "microphonePermission": "我們需要麥克風權限來允許語音輸入,以便提供更好的充電體驗。我們不會儲存或共享任何錄製到的資訊。",
  79. "recordAudioAndroid": true
  80. }
  81. ],
  82. [
  83. "expo-location",
  84. {
  85. "locationAlwaysAndWhenInUsePermission": "我們需要您的位置資訊來尋找附近的充電站。您的位置資訊只會被用於尋找充電站。我們不會儲存或共享任何資訊",
  86. "locationAlwaysPermission": "我們需要您的位置資訊來尋找附近的充電站。您的位置資訊只會被用於尋找充電站。我們不會儲存或共享任何資訊",
  87. "locationWhenInUsePermission": "我們需要您的位置資訊來尋找附近的充電站。您的位置資訊只會被用於尋找充電站。我們不會儲存或共享任何資訊"
  88. }
  89. ]
  90. ],
  91. "extra": {
  92. "router": {
  93. "origin": false
  94. },
  95. "eas": {
  96. "projectId": "536e7cff-9f65-4894-ad9f-e4ef8de57e4e"
  97. }
  98. },
  99. "runtimeVersion": "1.3.3",
  100. "updates": {
  101. "url": "https://u.expo.dev/536e7cff-9f65-4894-ad9f-e4ef8de57e4e"
  102. }
  103. }
  104. }