diff --git a/app.json b/app.json index fa76814..4f79077 100644 --- a/app.json +++ b/app.json @@ -18,7 +18,8 @@ "NSLocationWhenInUseUsageDescription": "This app needs your location for the treasure hunt." } }, - "android": { + "android": { + "usesCleartextTraffic": true, "adaptiveIcon": { "foregroundImage": "./assets/images/android-icon-monochrome.png", "backgroundColor": "#ffffff" @@ -29,8 +30,6 @@ } }, "permissions": [ - "ACCESS_FINE_LOCATION", - "ACCESS_COARSE_LOCATION", "ACCESS_FINE_LOCATION", "ACCESS_COARSE_LOCATION" ], @@ -38,6 +37,11 @@ }, "web": { "favicon": "./assets/favicon.png" + }, + "extra": { + "eas": { + "projectId": "c65a2849-f05d-48ef-9e36-950caa214a7d" + } } } } diff --git a/eas.json b/eas.json new file mode 100644 index 0000000..7754482 --- /dev/null +++ b/eas.json @@ -0,0 +1,21 @@ +{ + "cli": { + "version": ">= 18.0.5", + "appVersionSource": "remote" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal" + }, + "preview": { + "distribution": "internal" + }, + "production": { + "autoIncrement": true + } + }, + "submit": { + "production": {} + } +} diff --git a/src/components/API/API.js b/src/components/API/API.js index fa6cf6e..7b10cc3 100644 --- a/src/components/API/API.js +++ b/src/components/API/API.js @@ -1,5 +1,5 @@ -//export const API_BASE_URL = 'http://api.bobby.ip-ddns.com'; //For outside Home network -export const API_BASE_URL = 'http://192.168.8.100:3000'; //For when im home (API Endpoint is on my home server...) +export const API_BASE_URL = 'http://api.bobby.ip-ddns.com'; //For outside Home network +//export const API_BASE_URL = 'http://192.168.8.100:3000'; //For when im home (API Endpoint is on my home server...) const API = {}; API.get = (endpoint) => callFetch(endpoint, 'GET');