diff --git a/apis/autoCompleteApi.ts b/apis/autoCompleteApi.ts index 418ccdf..39d7fcc 100644 --- a/apis/autoCompleteApi.ts +++ b/apis/autoCompleteApi.ts @@ -5,7 +5,7 @@ export type AutoCompleteItem = { text: string; }; -const DISCOVER_BASE = "http://45.157.177.99:8080/discover"; +const DISCOVER_BASE = "https://fltr-app.de/api/discover"; export async function getAutoComplete( query: string, diff --git a/apis/personHistoryApi.ts b/apis/personHistoryApi.ts index eac8e63..e859e8f 100644 --- a/apis/personHistoryApi.ts +++ b/apis/personHistoryApi.ts @@ -59,7 +59,7 @@ type RawSeasonOld = { | null; }; -const PERSONS_BASE_URL = "http://45.157.177.99:8080/persons"; +const PERSONS_BASE_URL = "https://fltr-app.de/api/persons"; function toMini(p: any | undefined | null): PersonMini | null { if (!p || !p.personId || !p.name) return null; diff --git a/apis/searchApi.ts b/apis/searchApi.ts index cec8484..5d2b91d 100644 --- a/apis/searchApi.ts +++ b/apis/searchApi.ts @@ -5,7 +5,7 @@ export type SearchResultItem = { data: any; }; -const DISCOVER_BASE = "http://45.157.177.99:8080/discover/search"; +const DISCOVER_BASE = "https://fltr-app.de/api/discover/search"; export async function getSearchResults( tags: string[] | string, diff --git a/apis/seasonApi.ts b/apis/seasonApi.ts index 92fa065..fe6e204 100644 --- a/apis/seasonApi.ts +++ b/apis/seasonApi.ts @@ -38,7 +38,7 @@ export type Season = { participants: SeasonParticipant[]; }; -const SEASON_BASE_URL = "http://45.157.177.99:8080/shows"; +const SEASON_BASE_URL = "https://fltr-app.de/api/shows"; export async function getSeason( showId: number, diff --git a/apis/showApi.ts b/apis/showApi.ts index a6c8605..40bb918 100644 --- a/apis/showApi.ts +++ b/apis/showApi.ts @@ -28,7 +28,7 @@ export type Show = { running: boolean; }; -const SHOW_API_URL = "http://45.157.177.99:8080/shows"; +const SHOW_API_URL = "https://fltr-app.de/api/shows"; export async function getShows(): Promise { try { diff --git a/apis/streamingServiceApi.ts b/apis/streamingServiceApi.ts index 0d98b55..97ad300 100644 --- a/apis/streamingServiceApi.ts +++ b/apis/streamingServiceApi.ts @@ -4,7 +4,7 @@ export type StreamingServiceRaw = { value: string; }; -const STREAMING_SERVICE_API_URL = "http://45.157.177.99:8080/config"; +const STREAMING_SERVICE_API_URL = "https://fltr-app.de/api/config"; export async function getStreamingImages(): Promise { try { diff --git a/app.json b/app.json index 4f244cc..dd1be3c 100644 --- a/app.json +++ b/app.json @@ -1,43 +1,51 @@ { "expo": { - "name": "fltr-app", + "name": "FLTR", "slug": "fltr-app", - "version": "1.0.0", + "version": "1.0.1", "orientation": "portrait", "icon": "./assets/images/icon.png", "scheme": "fltrapp", "userInterfaceStyle": "automatic", "newArchEnabled": true, "ios": { - "supportsTablet": true + "supportsTablet": true, + "bundleIdentifier": "de.berg-autosoft.fltr" }, "android": { "adaptiveIcon": { - "foregroundImage": "./assets/images/adaptive-icon.png", + "foregroundImage": "./assets/images/icon.png", "backgroundColor": "#ffffff" }, - "edgeToEdgeEnabled": true + "edgeToEdgeEnabled": true, + "package": "de.bergautosoft.fltr" }, "web": { "bundler": "metro", "output": "static", - "favicon": "./assets/images/favicon.png" + "favicon": "./assets/images/icon.png" }, "plugins": [ "expo-router", [ "expo-splash-screen", { - "image": "./assets/images/splash-icon.png", - "imageWidth": 200, + "image": "./assets/images/icon.png", + "imageWidth": 300, "resizeMode": "contain", - "backgroundColor": "#ffffff" + "backgroundColor": "#000456" } ], "expo-web-browser" ], "experiments": { "typedRoutes": true + }, + "extra": { + "router": {}, + "eas": { + "projectId": "e9743e8a-0922-45bd-bc19-dbfd8a9a7436" + } } } } diff --git a/app/tabStyles/indexStyles.tsx b/app/tabStyles/indexStyles.tsx index 264d7d4..70cefc7 100644 --- a/app/tabStyles/indexStyles.tsx +++ b/app/tabStyles/indexStyles.tsx @@ -16,7 +16,7 @@ export default StyleSheet.create({ mainContainer: { flex: 1, backgroundColor: Colors.background, - paddingHorizontal: 15, + paddingHorizontal: 5, }, header: { minHeight: 125, diff --git a/assets/images/icon.png b/assets/images/icon.png index a0b1526..d8a139a 100644 Binary files a/assets/images/icon.png and b/assets/images/icon.png differ diff --git a/eas.json b/eas.json new file mode 100644 index 0000000..af331fb --- /dev/null +++ b/eas.json @@ -0,0 +1,21 @@ +{ + "cli": { + "version": ">= 16.26.0", + "appVersionSource": "remote" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal" + }, + "preview": { + "distribution": "internal" + }, + "production": { + "autoIncrement": true + } + }, + "submit": { + "production": {} + } +} diff --git a/package.json b/package.json index 02bf644..0938f03 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "scripts": { "start": "expo start", "reset-project": "node ./scripts/reset-project.js", - "android": "expo start --android", - "ios": "expo start --ios", + "android": "expo run:android", + "ios": "expo run:ios", "web": "expo start --web", "lint": "expo lint" },