From 33ca6423138c502caa65ad38d079a53a85cfd73d Mon Sep 17 00:00:00 2001 From: Gianfranco Palumbo Date: Tue, 24 Dec 2024 14:31:40 +0100 Subject: [PATCH] add expo-insights --- README.md | 2 +- apps/expo/app.json | 27 ++++++++------------------- apps/expo/package.json | 2 ++ apps/expo/tsconfig.json | 15 ++++++++++++--- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 2831f5a..033c25b 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Once I spend $100 on OpenAI, then add Stripe integration for top-up credits. - **API Communication**: tRPC - **ORM**: Drizzle - **UI Components**: NativeWind -- **Internationalization**: i18next (TBD) +- **Internationalization**: i18next (TBD) ## Project Structure diff --git a/apps/expo/app.json b/apps/expo/app.json index 0516cc7..9d54819 100644 --- a/apps/expo/app.json +++ b/apps/expo/app.json @@ -23,9 +23,7 @@ "icon": "./assets/notification_icon.png", "color": "#ffffff", "defaultChannel": "default", - "sounds": [ - "./assets/notification_sound.wav" - ], + "sounds": ["./assets/notification_sound.wav"], "enableBackgroundRemoteNotifications": false } ] @@ -42,9 +40,7 @@ "resizeMode": "contain", "backgroundColor": "#ffffff" }, - "assetBundlePatterns": [ - "**/*" - ], + "assetBundlePatterns": ["**/*"], "ios": { "supportsTablet": true, "infoPlist": { @@ -55,23 +51,16 @@ "adaptiveIcon": { "foregroundImage": "./assets/adaptive-icon.png", "backgroundColor": "#ffffff" - } + }, + "package": "com.onova.wakecall" }, "extra": { "router": { "origin": false + }, + "eas": { + "projectId": "5cdc48bb-fe2a-4b77-8b3d-fdcd18e75399" } }, - "expo": { - "android": { - "package": "com.onova.wakecall" - }, - "extra": { - "eas": { - "projectId": "5cdc48bb-fe2a-4b77-8b3d-fdcd18e75399" - } - }, - "owner": "gianpaj", - "slug": "wakecall" - } + "owner": "gianpaj" } diff --git a/apps/expo/package.json b/apps/expo/package.json index 57f9239..0161e13 100644 --- a/apps/expo/package.json +++ b/apps/expo/package.json @@ -8,6 +8,7 @@ "build:dev": "eas build --profile development", "build:preview": "eas build --profile preview", "build:prod": "eas build --profile production", + "build:android": "eas build --profile development --platform android", "prebuild": "expo prebuild", "clean": "git clean -xdf .cache .expo .turbo android ios node_modules", "dev": "expo start", @@ -41,6 +42,7 @@ "expo": "^52.0.18", "expo-constants": "~17.0.3", "expo-dev-client": "~5.0.4", + "expo-insights": "~0.8.1", "expo-linking": "~7.0.3", "expo-notifications": "^0.29.11", "expo-router": "~4.0.6", diff --git a/apps/expo/tsconfig.json b/apps/expo/tsconfig.json index 61cb2b0..f71ffc6 100644 --- a/apps/expo/tsconfig.json +++ b/apps/expo/tsconfig.json @@ -1,10 +1,19 @@ { - "extends": ["@acme/tsconfig/base.json"], + "extends": [ + "@acme/tsconfig/base.json" + ], "compilerOptions": { "baseUrl": ".", "paths": { - "~/*": ["*"] + "~/*": [ + "*" + ] } }, - "include": ["**/*.ts", "**/*.tsx", ".expo/types/**/*.ts", "expo-env.d.ts"] + "include": [ + "**/*.ts", + "**/*.tsx", + ".expo/types/**/*.ts", + "expo-env.d.ts" + ] }