diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7adaadb..884db91 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -51,5 +51,8 @@ jobs: - name: Install dependencies run: pnpm install + - name: Build + run: "pnpm run build" + - name: Run linters run: "pnpm run lint && pnpm run format" diff --git a/apps/expo/app/_layout.tsx b/apps/expo/app/_layout.tsx index 1d6c46a..8ed5746 100644 --- a/apps/expo/app/_layout.tsx +++ b/apps/expo/app/_layout.tsx @@ -8,7 +8,7 @@ import { TamaguiProvider, useTheme as useThemeTamagui } from "tamagui"; import "../data/logger"; import { ThemeProvider, useTheme } from "../components/theme-provider"; -import { clearShortcutListener, listenForShortcut } from "../data/shortcut.listener"; +import { clearOpenedApp, clearShortcutListener, listenForShortcut } from "../data/shortcut.listener"; import config from "../tamagui.config"; export { ErrorBoundary } from "expo-router"; @@ -58,6 +58,7 @@ function RootLayoutNav() { console.log("App has come to the foreground!"); } else if (appState.current.match(/active/) && nextAppState === "background") { clearShortcutListener(); + void clearOpenedApp(); console.log("App has come to the background!"); } appState.current = nextAppState; diff --git a/apps/expo/data/break.store.ts b/apps/expo/data/break.store.ts index 662e328..15b91b7 100644 --- a/apps/expo/data/break.store.ts +++ b/apps/expo/data/break.store.ts @@ -53,7 +53,6 @@ export class BreakStoreSingleton { this.lastBreakTimestamp = timestamp; void this.appStatisticsStore.trackEvent({ appId: app.id, type: "break-start" }); } - // void this.hapticImpact(); } private getHapticImpactEnum = (impact: string): Haptics.ImpactFeedbackStyle | undefined => { switch (impact) { diff --git a/packages/expo-exit-app/.gitignore b/packages/expo-exit-app/.gitignore index e64b91c..6e728e1 100644 --- a/packages/expo-exit-app/.gitignore +++ b/packages/expo-exit-app/.gitignore @@ -54,4 +54,4 @@ yarn-debug.log yarn-error.log # Expo -.expo/* +.expo/* \ No newline at end of file diff --git a/packages/target-plugin/.gitignore b/packages/target-plugin/.gitignore new file mode 100644 index 0000000..9581f1d --- /dev/null +++ b/packages/target-plugin/.gitignore @@ -0,0 +1 @@ +./build \ No newline at end of file