From 9247eeb7d07078cda70736225ed3ee7dee596ec7 Mon Sep 17 00:00:00 2001 From: Fernanda Toledo Date: Thu, 26 Nov 2026 11:57:25 -0300 Subject: [PATCH 01/11] feat(env): suffix app scheme per environment --- __tests__/env.test.ts | 27 ++++++++++++++++-- .../environment-vars-config.mdx | 2 +- docs/src/content/docs/guides/navigation.mdx | 28 +++++++++++++++++++ env.js | 2 +- 4 files changed, 55 insertions(+), 4 deletions(-) diff --git a/__tests__/env.test.ts b/__tests__/env.test.ts index b7c4e1b4d..a0381ccc6 100644 --- a/__tests__/env.test.ts +++ b/__tests__/env.test.ts @@ -15,11 +15,15 @@ type EnvModule = { ClientEnv: Record; }; -const loadEnv = (values: Record, script: string) => { +const loadEnv = ( + values: Record, + script: string, + appEnv = 'development', +) => { process.env = { ...process.env, ...values, - APP_ENV: 'development', + APP_ENV: appEnv, EAS_BUILD: 'false', npm_lifecycle_script: script, }; @@ -59,6 +63,25 @@ describe('env', () => { expect(Env.NAME).toBe(baselineName); }); + it('keeps the base scheme in production', () => { + const { ClientEnv } = loadEnv(VALID_ENV, RUN_SCRIPT, 'production'); + + expect(ClientEnv.SCHEME).toMatch(/^[A-Z][A-Z\d+.-]*$/i); + expect(ClientEnv.SCHEME).not.toMatch(/\.(?:development|qa|staging|production)$/); + }); + + it.each(['development', 'qa', 'staging'])( + 'suffixes the scheme with the environment in %s', + (appEnv) => { + const productionScheme = loadEnv(VALID_ENV, RUN_SCRIPT, 'production') + .ClientEnv.SCHEME; + const { Env, ClientEnv } = loadEnv(VALID_ENV, RUN_SCRIPT, appEnv); + + expect(ClientEnv.SCHEME).toBe(`${productionScheme}.${appEnv}`); + expect(Env.SCHEME).toBe(ClientEnv.SCHEME); + }, + ); + it('throws and logs how to fix the invalid variables when the env has to be validated', () => { const consoleError = jest .spyOn(console, 'error') diff --git a/docs/src/content/docs/getting-started/environment-vars-config.mdx b/docs/src/content/docs/getting-started/environment-vars-config.mdx index 07304e8c9..cf41bbb7b 100644 --- a/docs/src/content/docs/getting-started/environment-vars-config.mdx +++ b/docs/src/content/docs/getting-started/environment-vars-config.mdx @@ -136,7 +136,7 @@ If you take a look at the `env.js` file, you will notice that the file is split **In the first part** We load the correct `.env` file based on the `APP_ENV` variable using `dotenv` package. If the `APP_ENV` variable is not defined, we default to `development`. -we define some static variables for the app such as the app name, bundle Id and package. While these variables can be added to the `.env` files, we recommend keeping them in the `env.js` file as they are not meant to change. To handle different app variants, you can add suffixes to these variables using the `withEnvSuffix` function. +we define some static variables for the app such as the app name, bundle Id and package. While these variables can be added to the `.env` files, we recommend keeping them in the `env.js` file as they are not meant to change. To handle different app variants, you can add suffixes to these variables using the `withEnvSuffix` function. The bundle Id, package and app scheme are already suffixed this way: on `production` they keep their base value, and on the other environments they end with `.` (for example, the `staging` scheme is `RootstrapApp.staging`). See [App scheme and deep links](/guides/navigation/#app-scheme-and-deep-links) for how to build links for each environment. **In the second part**, we define the schemas of the environment variables with `envSchema`. Every variable is declared with the `envField` builders: variables loaded from the `.env` file and static values defined in `env.js` (such as `NAME` or `BUNDLE_ID`), whose values are set in the `clientStaticValues` and `buildTimeStaticValues` objects. diff --git a/docs/src/content/docs/guides/navigation.mdx b/docs/src/content/docs/guides/navigation.mdx index 501b75307..dc4466dff 100644 --- a/docs/src/content/docs/guides/navigation.mdx +++ b/docs/src/content/docs/guides/navigation.mdx @@ -22,6 +22,34 @@ Here is a simple example of the tabs layout. +## App scheme and deep links + +The app scheme is defined as `SCHEME` in `env.js` and passed to `app.config.ts` as `scheme: Env.SCHEME`. Like `BUNDLE_ID` and `PACKAGE`, it goes through the `withEnvSuffix` helper, so each environment registers its own scheme and builds of different environments can be installed side by side without fighting over the same links: + +| `APP_ENV` | Scheme | +| ------------- | -------------------------- | +| `production` | `RootstrapApp` | +| `staging` | `RootstrapApp.staging` | +| `qa` | `RootstrapApp.qa` | +| `development` | `RootstrapApp.development` | + +To build a deep link, put the scheme of the build you want to open in front of the route path. For example, to open `src/app/feed/[id].tsx` with the post `1`: + +```bash +# production +RootstrapApp://feed/1 +# staging +RootstrapApp.staging://feed/1 +# development, on the iOS simulator +xcrun simctl openurl booted "RootstrapApp.development://feed/1" +# development, on an Android emulator +adb shell am start -W -a android.intent.action.VIEW -d "RootstrapApp.development://feed/1" +``` + +In app code, read the scheme from `Env.SCHEME` (imported from `@/lib/env`) instead of hardcoding it, so links always match the environment the app was built for. Links configured outside the app (push notification payloads, emails, backend settings or OAuth redirect URIs) must also use the per-environment scheme, such as `RootstrapApp.staging://`, for `development`, `qa` and `staging` builds, or those builds will not open them. + +Native builds register the scheme at build time, so after changing `SCHEME` or switching to a version of the template with per-environment schemes, rebuild the app (for example `pnpm prebuild:staging`, or a new EAS build) before testing links. When you create a project with `create-rootstrap-rn-app`, `RootstrapApp` is replaced with your project name, so the schemes become `` and `.`. + ## Sitemap route Expo Router injects a [`/_sitemap`](https://docs.expo.dev/router/reference/sitemap/) route that lists every route in the app, which is handy for debugging. The template removes this in-app route browser from production builds: the `expo-router` plugin in `app.config.ts` is configured with `sitemap: Env.APP_ENV !== 'production'`. This does not hide the route names themselves, which still ship in the JS bundle and the typed-routes output. On `development`, `qa` and `staging` builds you can open `://_sitemap` (or `/_sitemap` on web); on `production` builds that path is handled by the template's catch-all route, `src/app/[...messing].tsx`. diff --git a/env.js b/env.js index 19fb5c222..95a9e7201 100644 --- a/env.js +++ b/env.js @@ -153,7 +153,7 @@ const buildTimeEnvSchema = envSchema({ const clientStaticValues = { APP_ENV, NAME, - SCHEME, + SCHEME: withEnvSuffix(SCHEME), BUNDLE_ID: withEnvSuffix(BUNDLE_ID), PACKAGE: withEnvSuffix(PACKAGE), VERSION: packageJSON.version, From 18468daf14a669ed086d7d813724437cdd3cf2af Mon Sep 17 00:00:00 2001 From: Fernanda Toledo Date: Thu, 26 Nov 2026 12:09:41 -0300 Subject: [PATCH 02/11] feat(auth): protect deeplinked screens and return to them after login --- REVIEW.md | 4 +- __tests__/app/native-intent.test.ts | 75 +++++ __tests__/app/root-layout.test.tsx | 269 ++++++++++++++++++ __tests__/app/sign-in.test.tsx | 99 +++++++ __tests__/components/login-form.test.tsx | 12 + __tests__/lib/auth/deep-link-path.test.ts | 185 ++++++++++++ __tests__/lib/auth/get-fallback-route.test.ts | 30 ++ __tests__/lib/auth/pending-deep-link.test.ts | 40 +++ agent_docs/architecture.md | 12 +- src/app/+native-intent.tsx | 22 ++ src/app/_layout.tsx | 38 ++- src/app/sign-in.tsx | 10 +- src/components/login-form.tsx | 7 + src/lib/auth/deep-link-path.ts | 79 +++++ src/lib/auth/get-fallback-route.ts | 18 +- src/lib/auth/pending-deep-link.ts | 22 ++ src/translations/en.json | 1 + 17 files changed, 908 insertions(+), 15 deletions(-) create mode 100644 __tests__/app/native-intent.test.ts create mode 100644 __tests__/app/root-layout.test.tsx create mode 100644 __tests__/app/sign-in.test.tsx create mode 100644 __tests__/lib/auth/deep-link-path.test.ts create mode 100644 __tests__/lib/auth/pending-deep-link.test.ts create mode 100644 src/app/+native-intent.tsx create mode 100644 src/lib/auth/deep-link-path.ts create mode 100644 src/lib/auth/pending-deep-link.ts diff --git a/REVIEW.md b/REVIEW.md index d0a67d682..acbf321a6 100644 --- a/REVIEW.md +++ b/REVIEW.md @@ -18,7 +18,9 @@ Code review guidelines for human teammates and AI agents. All categories are gro - Auth state and token management must not live in screen components. Business logic belongs in `src/components/providers/auth.tsx`; routing guards belong in `src/app/_layout.tsx`. - Tokens must be stored exclusively via `storeTokens()` and read via `getTokenDetails()` from `src/components/providers/auth.tsx`. Never store auth tokens in plain React state, `AsyncStorage`, or the general `storage` instance from `src/lib/storage.tsx`. -- All routes that require a logged-in user must be inside the `(app)/` group, wrapped in `Stack.Protected` with `guard={isAuthenticated}` in `src/app/_layout.tsx`. Never replicate this guard inside individual screen files. +- All routes that require a logged-in user must be declared under the `Stack.Protected` with `guard={isAuthenticated}` in `src/app/_layout.tsx`, either through the `(app)/` group or as a stack screen of their own (e.g. `feed/[id]`). Never replicate this guard inside individual screen files. +- Screens under the authenticated and logged-out guards are rendered from `AUTHENTICATED_SCREENS` / `AUTH_SCREENS` in `src/lib/auth/deep-link-path.ts`. Add, move or remove a guarded screen there (and its options in `GUARDED_SCREEN_OPTIONS` in `src/app/_layout.tsx`), never as a hand-written `Stack.Screen` inside those guards. +- Pending deep links are only stored by `src/app/+native-intent.tsx` and only consumed through `getFallbackRoute()`. Never navigate to a pending link directly from a screen, and never let a path that resolves to a public or auth screen become a return-to target. - Verify that API calls are not triggered before `ready === true` from `AuthProvider`. Until `ready` is true, the auth state is not yet hydrated from MMKV. - Token expiry must be evaluated using `dayjs` comparison against the ISO string stored in `authStorage` — do not compare raw Unix timestamps or use `Date` directly. diff --git a/__tests__/app/native-intent.test.ts b/__tests__/app/native-intent.test.ts new file mode 100644 index 000000000..9e658fd93 --- /dev/null +++ b/__tests__/app/native-intent.test.ts @@ -0,0 +1,75 @@ +import { redirectSystemPath } from '@/app/+native-intent'; +import { clearPendingDeepLink, setPendingDeepLink, usePendingDeepLink } from '@/lib/auth/pending-deep-link'; + +const pendingDeepLink = () => usePendingDeepLink.getState().path; + +describe('redirectSystemPath', () => { + beforeEach(() => { + clearPendingDeepLink(); + }); + + it.each([true, false])('remembers a protected link and opens it unchanged (initial: %s)', (initial) => { + const path = 'RootstrapApp.staging://feed/1?ref=email'; + + expect(redirectSystemPath({ path, initial })).toBe(path); + expect(pendingDeepLink()).toBe('/feed/1?ref=email'); + }); + + it('opens a public link without remembering it', () => { + const path = 'RootstrapApp.staging://forgot-password'; + + expect(redirectSystemPath({ path, initial: true })).toBe(path); + expect(pendingDeepLink()).toBeNull(); + }); + + it('replaces an older pending link when a public link arrives', () => { + setPendingDeepLink('/feed/1'); + + redirectSystemPath({ path: 'RootstrapApp.staging://sign-up', initial: false }); + + expect(pendingDeepLink()).toBeNull(); + }); + + it('does not remember a plain app launch', () => { + redirectSystemPath({ path: 'RootstrapApp.staging://', initial: true }); + + expect(pendingDeepLink()).toBeNull(); + }); + + it('returns malformed input unchanged without throwing', () => { + const path = null as unknown as string; + + expect(() => redirectSystemPath({ path, initial: true })).not.toThrow(); + expect(redirectSystemPath({ path, initial: true })).toBeNull(); + expect(pendingDeepLink()).toBeNull(); + }); + + it('forgets an older pending link when the new link cannot be read', () => { + setPendingDeepLink('/feed/1'); + + redirectSystemPath({ path: null as unknown as string, initial: false }); + + expect(pendingDeepLink()).toBeNull(); + }); + + it.each([ + 'RootstrapApp.staging://x/../sign-in', + 'RootstrapApp.staging:///%2e%2e/forgot-password', + ])('forgets an older pending link when %s resolves to an auth screen', (path) => { + setPendingDeepLink('/feed/1'); + + expect(redirectSystemPath({ path, initial: false })).toBe(path); + expect(pendingDeepLink()).toBeNull(); + }); + + it.each([ + 'RootstrapApp.staging:////example.com/x', + 'https://example.com//example.com/x', + 'RootstrapApp.staging:///\\example.com/x', + ])('does not remember the external target in %s', (path) => { + setPendingDeepLink('/feed/1'); + + expect(redirectSystemPath({ path, initial: true })).toBe(path); + expect(pendingDeepLink()).toBeNull(); + }); +}); diff --git a/__tests__/app/root-layout.test.tsx b/__tests__/app/root-layout.test.tsx new file mode 100644 index 000000000..720a63eb5 --- /dev/null +++ b/__tests__/app/root-layout.test.tsx @@ -0,0 +1,269 @@ +import type { ReactElement, ReactNode } from 'react'; +import { Stack } from 'expo-router'; +import { Children, isValidElement } from 'react'; + +import RootLayout from '@/app/_layout'; +import { useAuth } from '@/components/providers/auth'; +import { clearPendingDeepLink, setPendingDeepLink, usePendingDeepLink } from '@/lib/auth/pending-deep-link'; +import { useIsFirstTime } from '@/lib/hooks/use-is-first-time'; +import { act, cleanup, render, screen } from '@/lib/test-utils'; + +type ProtectedProps = { guard: boolean; redirectTo?: string; children?: ReactNode }; + +let mockSegments: Array = []; + +jest.mock('../../global.css', () => ({})); + +jest.mock('@dev-plugins/react-query', () => ({ + useReactQueryDevTools: jest.fn(), +})); + +jest.mock('react-native-gesture-handler', () => ({ + GestureHandlerRootView: ({ children }: { children: ReactNode }) => children, +})); + +jest.mock('expo-splash-screen', () => ({ + preventAutoHideAsync: jest.fn(() => Promise.resolve()), + setOptions: jest.fn(), +})); + +jest.mock('expo-router', () => { + const MockStack = ({ children }: { children: ReactNode }) => children; + MockStack.Protected = jest.fn(({ children }: { children: ReactNode }) => children); + MockStack.Screen = jest.fn(() => null); + return { + ...jest.requireActual('expo-router'), + Stack: MockStack, + ThemeProvider: ({ children }: { children: ReactNode }) => children, + useSegments: () => mockSegments, + }; +}); + +jest.mock('@/components/providers/auth', () => ({ + AuthProvider: ({ children }: { children: ReactNode }) => children, + useAuth: jest.fn(), +})); + +jest.mock('@/lib/hooks/use-is-first-time', () => ({ + useIsFirstTime: jest.fn(), +})); + +const mockProtected = jest.mocked(Stack.Protected); +const mockUseAuth = jest.mocked(useAuth); +const mockUseIsFirstTime = jest.mocked(useIsFirstTime); + +function setAuthenticated(isAuthenticated: boolean) { + mockUseAuth.mockReturnValue({ + token: isAuthenticated ? 'token' : null, + isAuthenticated, + loading: false, + ready: true, + logout: jest.fn(), + }); +} + +type ScreenProps = { name: string; options?: object }; + +function declaredScreens(children: ReactNode): Array { + return Children.toArray(children) + .filter((child): child is ReactElement => isValidElement(child)) + .map(({ props: { name, options } }) => ({ name, options })); +} + +function screenNames(children: ReactNode) { + return declaredScreens(children).map(({ name }) => name); +} + +function guardFor(screenName: string): ProtectedProps { + const call = mockProtected.mock.calls.findLast(([props]) => + screenNames(props.children).includes(screenName), + ); + if (call === undefined) { + throw new Error(`No Stack.Protected declares ${screenName}`); + } + const { guard, redirectTo, children } = call[0]; + return { guard, redirectTo: typeof redirectTo === 'string' ? redirectTo : undefined, children }; +} + +function pendingDeepLink() { + return usePendingDeepLink.getState().path; +} + +function rerenderAt(segments: Array) { + mockSegments = segments; + screen.rerender(); +} + +beforeEach(() => { + jest.clearAllMocks(); + mockSegments = ['sign-in']; + setAuthenticated(false); + mockUseIsFirstTime.mockReturnValue([false, jest.fn()]); + clearPendingDeepLink(); +}); + +afterEach(cleanup); + +describe('RootLayout guards', () => { + it.each(['feed/[id]', 'feed/add-post', '(app)', 'update-password'])( + 'keeps %s behind the sign-in guard while logged out', + (screenName) => { + render(); + + expect(guardFor(screenName)).toMatchObject({ guard: false, redirectTo: '/sign-in' }); + }, + ); + + it('opens the feed screens for a logged-in user', () => { + setAuthenticated(true); + mockSegments = ['(app)']; + render(); + + expect(guardFor('feed/[id]').guard).toBe(true); + expect(guardFor('feed/add-post').guard).toBe(true); + }); + + it('keeps a pending link while the user is logged out on sign-in', () => { + setPendingDeepLink('/feed/1'); + render(); + + expect(guardFor('feed/[id]').redirectTo).toBe('/sign-in'); + expect(pendingDeepLink()).toBe('/feed/1'); + }); + + it('sends the user to the pending link after login and forgets it once they land there', () => { + setPendingDeepLink('/feed/1'); + render(); + + setAuthenticated(true); + rerenderAt(['sign-in']); + + expect(guardFor('sign-in')).toMatchObject({ guard: false, redirectTo: '/feed/1' }); + expect(pendingDeepLink()).toBe('/feed/1'); + + rerenderAt(['feed', '[id]']); + + expect(pendingDeepLink()).toBeNull(); + expect(guardFor('sign-in').redirectTo).toBe('/'); + }); + + it('sends a second login to home once the link was used', () => { + setPendingDeepLink('/feed/1'); + render(); + setAuthenticated(true); + rerenderAt(['feed', '[id]']); + + setAuthenticated(false); + rerenderAt(['sign-in']); + setAuthenticated(true); + rerenderAt(['sign-in']); + + expect(guardFor('sign-in').redirectTo).toBe('/'); + }); + + it('sends a login without a pending link to home', () => { + render(); + + setAuthenticated(true); + rerenderAt(['sign-in']); + + expect(guardFor('sign-in').redirectTo).toBe('/'); + }); + + it('drops a link that arrives while logged in so it cannot hijack a later login', () => { + setAuthenticated(true); + mockSegments = ['(app)']; + render(); + + act(() => setPendingDeepLink('/feed/3')); + + expect(pendingDeepLink()).toBeNull(); + + setAuthenticated(false); + rerenderAt(['sign-in']); + setAuthenticated(true); + rerenderAt(['sign-in']); + + expect(guardFor('sign-in').redirectTo).toBe('/'); + }); + + it.each(['/../sign-in', '/(app)/../forgot-password', '/(app)/%2e%2e/sign-in', '/sign%2Din', '/%73ign-up'])( + 'sends the logged-in user home instead of back to the auth screen %s resolves to', + (pendingPath) => { + setPendingDeepLink(pendingPath); + mockSegments = ['sign-in']; + render(); + + setAuthenticated(true); + rerenderAt(['sign-in']); + + expect(guardFor('sign-in').redirectTo).toBe('/'); + }, + ); + + it('shows onboarding first and discards the pending link', () => { + mockUseIsFirstTime.mockReturnValue([true, jest.fn()]); + setPendingDeepLink('/feed/1'); + render(); + + expect(guardFor('feed/[id]').redirectTo).toBe('/onboarding'); + expect(pendingDeepLink()).toBeNull(); + }); + + it.each([ + ['the authenticated guard', 'feed/[id]', [ + { name: '(app)', options: { headerShown: false } }, + { name: 'update-password' }, + { name: 'feed/[id]' }, + { name: 'feed/add-post' }, + ]], + ['the logged-out guard', 'sign-in', [ + { name: 'sign-in', options: { headerShown: false } }, + { name: 'sign-up' }, + { name: 'forgot-password' }, + ]], + ])('declares exactly these screens under %s', (_guard, screenName, expected) => { + render(); + + expect(declaredScreens(guardFor(screenName).children)).toEqual(expected); + }); + + it('keeps the pending link while the guard is still redirecting the deep-linked screen to sign-in', () => { + setPendingDeepLink('/feed/1'); + mockSegments = ['feed', '[id]']; + render(); + + expect(pendingDeepLink()).toBe('/feed/1'); + + rerenderAt(['sign-in']); + setAuthenticated(true); + rerenderAt(['sign-in']); + + expect(guardFor('sign-in').redirectTo).toBe('/feed/1'); + }); + + it('keeps the pending link before the first route is known on a cold start', () => { + setPendingDeepLink('/feed/1'); + mockSegments = []; + render(); + + expect(pendingDeepLink()).toBe('/feed/1'); + }); + + it.each([ + ['an unknown route', ['[...messing]']], + ['the web view', ['www']], + ])('drops a link that opened %s while logged out so a later login goes home', (_route, segments) => { + setPendingDeepLink('/feed'); + mockSegments = segments; + render(); + + expect(pendingDeepLink()).toBeNull(); + + rerenderAt(['sign-in']); + setAuthenticated(true); + rerenderAt(['sign-in']); + + expect(guardFor('sign-in').redirectTo).toBe('/'); + }); +}); diff --git a/__tests__/app/sign-in.test.tsx b/__tests__/app/sign-in.test.tsx new file mode 100644 index 000000000..1ed4b9d89 --- /dev/null +++ b/__tests__/app/sign-in.test.tsx @@ -0,0 +1,99 @@ +import type { LoginFormProps } from '@/components/login-form'; +import SignIn from '@/app/sign-in'; +import i18n from '@/lib/i18n'; +import { clearPendingDeepLink, setPendingDeepLink, usePendingDeepLink } from '@/lib/auth/pending-deep-link'; +import { act, cleanup, fireEvent, render, screen } from '@/lib/test-utils'; + +type LoginCallbacks = { onError?: (error: Error) => void }; +type LoginVariables = Parameters>[0]; + +const mockLogin = jest.fn(); + +jest.mock('@/api/auth/use-login', () => ({ + useLogin: (callbacks: LoginCallbacks = {}) => ({ + isPending: false, + mutate: (variables: LoginVariables) => mockLogin(variables, callbacks), + }), +})); + +jest.mock('@/components/ui', () => ({ + ...jest.requireActual('@/components/ui'), + FocusAwareStatusBar: () => null, +})); + +jest.mock('react-native-flash-message', () => ({ + showMessage: jest.fn(), +})); + +const DEEP_LINK_MESSAGE = 'Sign in to open this link.'; + +async function submitLogin() { + fireEvent.changeText(screen.getByTestId('email-input'), 'user@example.com'); + fireEvent.changeText(screen.getByTestId('password-input'), 'password'); + await act(async () => { + fireEvent.press(screen.getByTestId('login-button')); + }); +} + +beforeEach(() => { + mockLogin.mockReset(); + clearPendingDeepLink(); +}); + +afterEach(cleanup); + +describe('SignIn', () => { + it('asks the user to sign in to open a pending link', () => { + setPendingDeepLink('/feed/1'); + render(); + + expect(screen.getByText(DEEP_LINK_MESSAGE)).toBeOnTheScreen(); + }); + + it('shows no link message without a pending link', () => { + render(); + + expect(screen.queryByText(DEEP_LINK_MESSAGE)).not.toBeOnTheScreen(); + }); + + it('hides the message once the pending link is cleared', () => { + setPendingDeepLink('/feed/1'); + render(); + + act(() => clearPendingDeepLink()); + + expect(screen.queryByText(DEEP_LINK_MESSAGE)).not.toBeOnTheScreen(); + }); + + it('keeps the pending link and its message when the login fails', async () => { + mockLogin.mockImplementation((_variables, { onError }) => onError?.(new Error('Invalid credentials'))); + setPendingDeepLink('/feed/1'); + render(); + + await submitLogin(); + + expect(mockLogin).toHaveBeenCalledWith( + { email: 'user@example.com', password: 'password' }, + expect.anything(), + ); + expect(screen.getByText(DEEP_LINK_MESSAGE)).toBeOnTheScreen(); + expect(usePendingDeepLink.getState().path).toBe('/feed/1'); + }); + + it('shows the link message in the language the user switches to', async () => { + const translatedMessage = 'Inicia sesión para abrir este enlace.'; + i18n.addResourceBundle('es', 'translation', { auth: { signIn: { deepLinkMessage: translatedMessage } } }, true, true); + setPendingDeepLink('/feed/1'); + render(); + + await act(async () => { + await i18n.changeLanguage('es'); + }); + + expect(screen.getByText(translatedMessage)).toBeOnTheScreen(); + + await act(async () => { + await i18n.changeLanguage('en'); + }); + }); +}); diff --git a/__tests__/components/login-form.test.tsx b/__tests__/components/login-form.test.tsx index e0e615766..104010162 100644 --- a/__tests__/components/login-form.test.tsx +++ b/__tests__/components/login-form.test.tsx @@ -65,4 +65,16 @@ describe('LoginForm Form ', () => { expect(screen.queryByText(/at least/i)).not.toBeOnTheScreen(); expect(screen.queryByText(/Password is required/i)).not.toBeOnTheScreen(); }); + + it('shows the notice under the title when one is given', () => { + render(); + + expect(screen.getByText('Sign in to open this link.')).toBeOnTheScreen(); + }); + + it('shows no notice by default', () => { + render(); + + expect(screen.queryByTestId('login-notice')).not.toBeOnTheScreen(); + }); }); diff --git a/__tests__/lib/auth/deep-link-path.test.ts b/__tests__/lib/auth/deep-link-path.test.ts new file mode 100644 index 000000000..52754ca80 --- /dev/null +++ b/__tests__/lib/auth/deep-link-path.test.ts @@ -0,0 +1,185 @@ +import { + AUTH_SCREENS, + AUTHENTICATED_SCREENS, + isInAppPath, + isOnScreen, + isPublicPath, + isReturnToPath, + toAppPath, +} from '@/lib/auth/deep-link-path'; + +describe('toAppPath', () => { + it.each([ + ['RootstrapApp.development://feed/1', '/feed/1'], + ['RootstrapApp://feed/1?ref=email', '/feed/1?ref=email'], + ['RootstrapApp:///feed/1', '/feed/1'], + ['https://example.com/feed/1#top', '/feed/1'], + ['exp://127.0.0.1:8081/--/feed/1', '/feed/1'], + ['/feed/1', '/feed/1'], + ['feed/1', '/feed/1'], + ['RootstrapApp://', '/'], + ['', '/'], + ])('turns %s into %s', (url, expected) => { + expect(toAppPath(url)).toBe(expected); + }); + + it('unwraps a development client launch URL', () => { + const launchUrl = `RootstrapApp://expo-development-client/?url=${encodeURIComponent('http://127.0.0.1:8081/--/feed/1')}`; + + expect(toAppPath(launchUrl)).toBe('/feed/1'); + }); + + it('ignores a development client launch URL without a target', () => { + expect(toAppPath('RootstrapApp://expo-development-client/')).toBe('/'); + }); +}); + +describe('isPublicPath', () => { + it.each([ + '/sign-in', + '/sign-up', + '/forgot-password', + '/onboarding', + '/www?url=https://example.com', + '/_sitemap', + ])('treats %s as public', (path) => { + expect(isPublicPath(path)).toBe(true); + }); + + it.each([ + '/../sign-in', + '/./sign-in', + '/(app)/../forgot-password', + '/%2e%2e/sign-in', + '/feed/.%2E/sign-up', + '/feed/%2e/../../onboarding', + ])('treats %s as public once its dot segments are resolved', (path) => { + expect(isPublicPath(path)).toBe(true); + }); + + it.each(['/sign%2Din', '/%73ign-in', '/%66orgot-password', '/(app)/%2e%2e/sign-in', '/%28app%29/sign-up'])( + 'treats %s as public once its segments are decoded', + (path) => { + expect(isPublicPath(path)).toBe(true); + }, + ); + + it('treats a malformed escape as a protected segment instead of throwing', () => { + expect(isPublicPath('/%E0%A4%A')).toBe(false); + }); + + it.each(['/', '/feed/1', '/feed/add-post', '/settings', '/update-password', '/(app)/style', '/sign-in-help'])( + 'treats %s as protected', + (path) => { + expect(isPublicPath(path)).toBe(false); + }, + ); +}); + +describe('isInAppPath', () => { + it.each(['/', '/feed/1', '/feed/1?ref=email', '/(app)/settings', '/..', '/feed/%2F%2Fexample.com'])( + 'accepts the in-app path %s', + (path) => { + expect(isInAppPath(path)).toBe(true); + }, + ); + + it.each([ + '', + 'feed/1', + '//example.com/x', + '///example.com/x', + '/\\example.com/x', + '\\\\example.com', + '/feed\\..\\example.com', + '/\t/example.com', + '/feed /1', + '/\u0000/example.com', + 'https://example.com/x', + 'javascript:alert(1)', + ])('rejects %j as a redirect target', (path) => { + expect(isInAppPath(path)).toBe(false); + }); +}); + +describe('isReturnToPath', () => { + it.each([ + '/feed/1', + '/feed/1?ref=email', + '/settings', + '/sign-in/../feed/1', + '/feed/./1', + '/feed/1?next=../sign-in', + '/feed/%E0%A4%A', + '/Sign-In', + ])( + 'returns to %s after login', + (path) => { + expect(isReturnToPath(path)).toBe(true); + }, + ); + + it.each([ + '/', + '', + '/?ref=email', + '/sign-in', + '/www', + '/..', + '/%2e%2e', + '/../sign-in', + '/./sign-in', + '/(app)/../forgot-password', + '/%2e%2e/sign-in', + '/sign%2Din', + '/%73ign-in', + '/(app)/%2e%2e/sign-in', + ])( + 'does not return to %s after login', + (path) => { + expect(isReturnToPath(path)).toBe(false); + }, + ); + + it.each([ + 'RootstrapApp:////example.com/x', + 'RootstrapApp.staging:////example.com/x', + 'https://example.com//example.com/x', + 'RootstrapApp:///\\example.com/x', + 'exp://127.0.0.1:8081/--//example.com/x', + ])('never returns to the external target in %s', (url) => { + expect(isReturnToPath(toAppPath(url))).toBe(false); + }); + + it.each([ + 'RootstrapApp.staging://x/../sign-in', + 'RootstrapApp.staging://feed/%2e%2e/forgot-password', + 'https://example.com/./sign-up', + ])('does not return to the auth screen %s resolves to', (url) => { + expect(isReturnToPath(toAppPath(url))).toBe(false); + }); +}); + +describe('isOnScreen', () => { + it.each([ + [['sign-in'], AUTH_SCREENS], + [['forgot-password'], AUTH_SCREENS], + [['feed', '[id]'], AUTHENTICATED_SCREENS], + [['feed', 'add-post'], AUTHENTICATED_SCREENS], + [['(app)'], AUTHENTICATED_SCREENS], + [['(app)', 'settings'], AUTHENTICATED_SCREENS], + [['update-password'], AUTHENTICATED_SCREENS], + ])('finds %j among the listed screens', (segments, screens) => { + expect(isOnScreen(segments, screens)).toBe(true); + }); + + it.each([ + [['[...messing]'], AUTHENTICATED_SCREENS], + [['www'], AUTHENTICATED_SCREENS], + [['feed'], AUTHENTICATED_SCREENS], + [['sign-in-help'], AUTH_SCREENS], + [['feed', '[id]'], AUTH_SCREENS], + ])('does not find %j among the listed screens', (segments, screens) => { + expect(isOnScreen(segments, screens)).toBe(false); + }); +}); diff --git a/__tests__/lib/auth/get-fallback-route.test.ts b/__tests__/lib/auth/get-fallback-route.test.ts index 4c567be4c..e251ba461 100644 --- a/__tests__/lib/auth/get-fallback-route.test.ts +++ b/__tests__/lib/auth/get-fallback-route.test.ts @@ -12,4 +12,34 @@ describe('getFallbackRoute', () => { expect(getFallbackRoute({ isFirstTime, isAuthenticated })).toBe(expected); }, ); + + it.each([ + { isFirstTime: true, isAuthenticated: true, expected: '/onboarding' }, + { isFirstTime: true, isAuthenticated: false, expected: '/onboarding' }, + { isFirstTime: false, isAuthenticated: false, expected: '/sign-in' }, + { isFirstTime: false, isAuthenticated: true, expected: '/feed/1' }, + ])( + 'returns $expected with a pending link when isFirstTime=$isFirstTime and isAuthenticated=$isAuthenticated', + ({ isFirstTime, isAuthenticated, expected }) => { + expect(getFallbackRoute({ isFirstTime, isAuthenticated, pendingDeepLink: '/feed/1' })).toBe(expected); + }, + ); + + it('returns home for a logged-in user once the pending link is gone', () => { + expect(getFallbackRoute({ isFirstTime: false, isAuthenticated: true, pendingDeepLink: null })).toBe('/'); + }); + + it.each(['/sign-in', '/../sign-in', '/./sign-in', '/(app)/../forgot-password', '/%2e%2e/sign-in', '/..'])( + 'sends a logged-in user home instead of to the auth or empty pending link %s', + (pendingDeepLink) => { + expect(getFallbackRoute({ isFirstTime: false, isAuthenticated: true, pendingDeepLink })).toBe('/'); + }, + ); + + it.each(['//example.com/x', '/\\example.com/x', 'https://example.com/x', 'feed/1'])( + 'sends a logged-in user home instead of to the unsafe pending link %s', + (pendingDeepLink) => { + expect(getFallbackRoute({ isFirstTime: false, isAuthenticated: true, pendingDeepLink })).toBe('/'); + }, + ); }); diff --git a/__tests__/lib/auth/pending-deep-link.test.ts b/__tests__/lib/auth/pending-deep-link.test.ts new file mode 100644 index 000000000..298f4723b --- /dev/null +++ b/__tests__/lib/auth/pending-deep-link.test.ts @@ -0,0 +1,40 @@ +import { clearPendingDeepLink, setPendingDeepLink, usePendingDeepLink } from '@/lib/auth/pending-deep-link'; + +const pendingDeepLink = () => usePendingDeepLink.getState().path; + +describe('pending deep link store', () => { + beforeEach(() => { + clearPendingDeepLink(); + }); + + it('starts empty', () => { + expect(pendingDeepLink()).toBeNull(); + }); + + it('keeps the latest link', () => { + setPendingDeepLink('/feed/1'); + setPendingDeepLink('/feed/2'); + + expect(pendingDeepLink()).toBe('/feed/2'); + }); + + it('forgets the link once cleared, even when cleared twice', () => { + setPendingDeepLink('/feed/1'); + + clearPendingDeepLink(); + clearPendingDeepLink(); + + expect(pendingDeepLink()).toBeNull(); + }); + + it.each(['//example.com/x', '/\\example.com/x', 'https://example.com/x'])( + 'refuses to keep %s and drops the older link', + (path) => { + setPendingDeepLink('/feed/1'); + + setPendingDeepLink(path); + + expect(pendingDeepLink()).toBeNull(); + }, + ); +}); diff --git a/agent_docs/architecture.md b/agent_docs/architecture.md index f6c14e204..0b20bc590 100644 --- a/agent_docs/architecture.md +++ b/agent_docs/architecture.md @@ -31,13 +31,21 @@ Data flows down; side-effects (navigation, token refresh) are handled at the lay | Pattern | Meaning | | ---------------------------------- | ----------------------------------------------------------------------------------- | -| `src/app/(app)/` | Route group for authenticated screens — all screens here require `isAuthenticated` | +| `src/app/(app)/` | Route group for the authenticated tabs — all screens here require `isAuthenticated` | | `Stack.Protected` in `_layout.tsx` | Declarative auth and onboarding gating — do not replicate inside individual screens | | `src/app/[...messing].tsx` | 404 catch-all for unmatched routes | | `src/app/+html.tsx` | Web-only HTML shell | | `src/app/www.tsx` | In-app WebView presented as a modal | -Route guards are centralised in `src/app/_layout.tsx`. The `GuardedStack` component reads `isAuthenticated` and `isFirstTime` and applies `Stack.Protected` — nothing inside `(app)/` screens should check auth state or redirect. +Route guards are centralised in `src/app/_layout.tsx`. The `GuardedStack` component reads `isAuthenticated`, `isFirstTime` and the pending deep link, and applies `Stack.Protected` — no screen should check auth state or redirect. Authenticated routes do not have to live in `(app)/`: stack screens that sit outside the tabs (e.g. `feed/[id]`, `feed/add-post`, `update-password`) are declared directly under the authenticated `Stack.Protected`. The screens under the authenticated and logged-out guards are rendered from `AUTHENTICATED_SCREENS` and `AUTH_SCREENS` in `src/lib/auth/deep-link-path.ts`, so adding or moving a guarded screen means editing those lists (plus `GUARDED_SCREEN_OPTIONS` in `src/app/_layout.tsx` when the screen needs options). + +### Deep links into protected screens + +A logged-out user who opens a link to a protected screen is sent to sign-in and lands on that screen after logging in: + +1. `src/app/+native-intent.tsx` normalises every incoming link with `toAppPath()` and, if `isReturnToPath()` accepts it (an in-app path that does not resolve to a public or auth screen, dot segments included), stores it in the pending deep link store (`src/lib/auth/pending-deep-link.ts`). Any other link, or one that cannot be parsed, clears the store so a stale target is never reused. +2. `getFallbackRoute()` (`src/lib/auth/get-fallback-route.ts`) uses the pending link as the `redirectTo` of the guards once the user is authenticated, and falls back to `/` for anything that is not a valid return-to path. +3. `GuardedStack` clears the pending link once the user is past sign-in, or when onboarding takes over. --- diff --git a/src/app/+native-intent.tsx b/src/app/+native-intent.tsx new file mode 100644 index 000000000..1da52abeb --- /dev/null +++ b/src/app/+native-intent.tsx @@ -0,0 +1,22 @@ +import type { NativeIntent } from 'expo-router'; + +import { isReturnToPath, toAppPath } from '@/lib/auth/deep-link-path'; +import { clearPendingDeepLink, setPendingDeepLink } from '@/lib/auth/pending-deep-link'; + +type RedirectSystemPathEvent = Parameters>[0]; + +export function redirectSystemPath({ path }: RedirectSystemPathEvent) { + try { + const appPath = toAppPath(path); + if (isReturnToPath(appPath)) { + setPendingDeepLink(appPath); + } + else { + clearPendingDeepLink(); + } + } + catch { + clearPendingDeepLink(); + } + return path; +} diff --git a/src/app/_layout.tsx b/src/app/_layout.tsx index 26c7774a7..9bfa28235 100644 --- a/src/app/_layout.tsx +++ b/src/app/_layout.tsx @@ -1,6 +1,7 @@ -import { BottomSheetModalProvider } from '@gorhom/bottom-sheet'; +import type { NativeStackNavigationOptions } from 'expo-router'; -import { Stack, ThemeProvider } from 'expo-router'; +import { BottomSheetModalProvider } from '@gorhom/bottom-sheet'; +import { Stack, ThemeProvider, useSegments } from 'expo-router'; import * as SplashScreen from 'expo-splash-screen'; import * as React from 'react'; import { StyleSheet } from 'react-native'; @@ -14,7 +15,9 @@ import { AnalyticsProvider } from '@/components/providers/analytics'; import { useAnalyticsScreenTracking, useAnalyticsSessionReset } from '@/components/providers/analytics-tracking'; import { AuthProvider, useAuth } from '@/components/providers/auth'; import { consoleAnalyticsProvider, hydrateAuth, loadSelectedTheme, useIsFirstTime } from '@/lib'; +import { AUTH_SCREENS, AUTHENTICATED_SCREENS, isOnScreen } from '@/lib/auth/deep-link-path'; import { getFallbackRoute } from '@/lib/auth/get-fallback-route'; +import { clearPendingDeepLink, usePendingDeepLink } from '@/lib/auth/pending-deep-link'; import { useSyncLanguageWithOS } from '@/lib/i18n'; import { useThemeConfig } from '@/lib/use-theme-config'; // Import global CSS file @@ -39,6 +42,17 @@ SplashScreen.setOptions({ fade: true, }); +const GUARDED_SCREEN_OPTIONS: Readonly>> = { + '(app)': { headerShown: false }, + 'sign-in': { headerShown: false }, +}; + +function renderGuardedScreens(screens: ReadonlyArray) { + return screens.map(name => ( + + )); +} + function AnalyticsTrackers() { useAnalyticsSessionReset(); useAnalyticsScreenTracking(); @@ -48,7 +62,18 @@ function AnalyticsTrackers() { function GuardedStack() { const { isAuthenticated } = useAuth(); const [isFirstTime] = useIsFirstTime(); - const fallbackRoute = getFallbackRoute({ isFirstTime, isAuthenticated }); + const segments: ReadonlyArray = useSegments(); + const pendingDeepLink = usePendingDeepLink.use.path(); + const fallbackRoute = getFallbackRoute({ isFirstTime, isAuthenticated, pendingDeepLink }); + const isWaitingForLogin = segments.length === 0 + || isOnScreen(segments, AUTH_SCREENS) + || (!isAuthenticated && isOnScreen(segments, AUTHENTICATED_SCREENS)); + + React.useEffect(() => { + if (pendingDeepLink !== null && (isFirstTime || !isWaitingForLogin)) { + clearPendingDeepLink(); + } + }, [isFirstTime, isWaitingForLogin, pendingDeepLink]); return ( <> @@ -59,14 +84,11 @@ function GuardedStack() { - - + {renderGuardedScreens(AUTHENTICATED_SCREENS)} - - - + {renderGuardedScreens(AUTH_SCREENS)} showMessage({ message: error.message, type: 'danger' }), }); + const hasPendingDeepLink = usePendingDeepLink.use.path() !== null; const onSubmit: LoginFormProps['onSubmit'] = (data) => { login(data); @@ -17,7 +21,11 @@ export default function Login() { return ( <> - + ); } diff --git a/src/components/login-form.tsx b/src/components/login-form.tsx index 72e358cf8..e6c5cd3de 100644 --- a/src/components/login-form.tsx +++ b/src/components/login-form.tsx @@ -22,12 +22,14 @@ export type FormType = z.infer; export type LoginFormProps = { isLoading?: boolean; + notice?: string; onSubmit?: SubmitHandler; }; export function LoginForm({ onSubmit = () => {}, isLoading = false, + notice, }: Readonly) { const { handleSubmit, control } = useForm({ resolver: zodResolver(schema), @@ -42,6 +44,11 @@ export function LoginForm({ {translate('auth.signIn.title')} + {notice !== undefined && ( + + {notice} + + )} = ['sign-in', 'sign-up', 'forgot-password']; + +export const AUTHENTICATED_SCREENS: ReadonlyArray = [ + '(app)', + 'update-password', + 'feed/[id]', + 'feed/add-post', +]; + +const PUBLIC_ROUTES: ReadonlySet = new Set([...AUTH_SCREENS, 'onboarding', 'www', '_sitemap']); + +const WEB_ORIGIN = /^https?:\/\/[^/?#]*/i; +const APP_SCHEME = /^[a-z][a-z\d+.-]*:\/\//i; +const EXPO_GO_PATH_SEPARATOR = '/--/'; +const ROUTE_GROUP = /^\(.*\)$/; +const SINGLE_DOT_SEGMENT = /^(?:\.|%2e)$/i; +const DOUBLE_DOT_SEGMENT = /^(?:\.|%2e){2}$/i; +const IN_APP_PATH = /^\/(?![/\\])[^\\\s\p{Cc}]*$/u; + +export function toAppPath(url: string): string { + const target = unwrapDevLaunchURL(url.trim()); + const withoutOrigin = WEB_ORIGIN.test(target) + ? target.replace(WEB_ORIGIN, '') + : target.replace(APP_SCHEME, ''); + const expoGoIndex = withoutOrigin.indexOf(EXPO_GO_PATH_SEPARATOR); + const path = expoGoIndex === -1 + ? withoutOrigin + : withoutOrigin.slice(expoGoIndex + EXPO_GO_PATH_SEPARATOR.length - 1); + const [withoutHash = ''] = path.split('#'); + + return withoutHash.startsWith('/') ? withoutHash : `/${withoutHash}`; +} + +export function isInAppPath(path: string): boolean { + return IN_APP_PATH.test(path); +} + +function resolveDotSegments(segments: ReadonlyArray): Array { + return segments.reduce>((resolved, segment) => { + if (DOUBLE_DOT_SEGMENT.test(segment)) { + return resolved.slice(0, -1); + } + return SINGLE_DOT_SEGMENT.test(segment) ? resolved : [...resolved, segment]; + }, []); +} + +function safelyDecode(segment: string): string { + try { + return decodeURIComponent(segment); + } + catch { + return segment; + } +} + +function getRouteSegments(path: string): Array { + const [pathname = ''] = path.split('?'); + return resolveDotSegments(pathname.split('/')) + .map(safelyDecode) + .filter(segment => segment !== '' && !ROUTE_GROUP.test(segment)); +} + +export function isPublicPath(path: string): boolean { + const [firstSegment] = getRouteSegments(path); + return firstSegment !== undefined && PUBLIC_ROUTES.has(firstSegment); +} + +export function isReturnToPath(path: string): path is Extract { + return isInAppPath(path) && getRouteSegments(path).length > 0 && !isPublicPath(path); +} + +export function isOnScreen(segments: ReadonlyArray, screens: ReadonlyArray): boolean { + const route = segments.join('/'); + return screens.some(screen => route === screen || route.startsWith(`${screen}/`)); +} diff --git a/src/lib/auth/get-fallback-route.ts b/src/lib/auth/get-fallback-route.ts index 95bca0878..2abb61801 100644 --- a/src/lib/auth/get-fallback-route.ts +++ b/src/lib/auth/get-fallback-route.ts @@ -1,11 +1,23 @@ +import type { Href } from 'expo-router'; + +import { isReturnToPath } from './deep-link-path'; + type GuardState = { isFirstTime: boolean; isAuthenticated: boolean; + pendingDeepLink?: string | null; }; -export function getFallbackRoute({ isFirstTime, isAuthenticated }: GuardState) { +export function getFallbackRoute({ + isFirstTime, + isAuthenticated, + pendingDeepLink = null, +}: GuardState): Href { if (isFirstTime) { - return '/onboarding' as const; + return '/onboarding'; + } + if (!isAuthenticated) { + return '/sign-in'; } - return isAuthenticated ? ('/' as const) : ('/sign-in' as const); + return pendingDeepLink !== null && isReturnToPath(pendingDeepLink) ? pendingDeepLink : '/'; } diff --git a/src/lib/auth/pending-deep-link.ts b/src/lib/auth/pending-deep-link.ts new file mode 100644 index 000000000..5a1fa8623 --- /dev/null +++ b/src/lib/auth/pending-deep-link.ts @@ -0,0 +1,22 @@ +import { create } from 'zustand'; + +import { createSelectors } from '../utils'; +import { isInAppPath } from './deep-link-path'; + +type PendingDeepLinkState = { + path: string | null; +}; + +const _usePendingDeepLink = create(() => ({ + path: null, +})); + +export const usePendingDeepLink = createSelectors(_usePendingDeepLink); + +export function setPendingDeepLink(path: string) { + _usePendingDeepLink.setState({ path: isInAppPath(path) ? path : null }); +} + +export function clearPendingDeepLink() { + _usePendingDeepLink.setState({ path: null }); +} diff --git a/src/translations/en.json b/src/translations/en.json index a4f212cfc..b7b269373 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -5,6 +5,7 @@ "login": "Login", "signUp": "Sign Up" }, + "deepLinkMessage": "Sign in to open this link.", "fields": { "email": "Email", "password": "Password" From b8097f610257d1baa751e3332dd3615654a120c4 Mon Sep 17 00:00:00 2001 From: Fernanda Toledo Date: Thu, 26 Nov 2026 13:56:50 -0300 Subject: [PATCH 03/11] fix(auth): send logged-out protected links straight to sign-in --- REVIEW.md | 2 +- __tests__/app/native-intent.test.ts | 94 +++++++++++++++---- __tests__/components/providers/auth.test.tsx | 54 +++++++++++ .../lib/hooks/use-is-first-time.test.tsx | 25 ++++- agent_docs/architecture.md | 2 +- src/app/+native-intent.tsx | 20 +++- src/components/providers/auth.tsx | 32 +++---- src/lib/auth/get-fallback-route.ts | 2 +- src/lib/hooks/use-is-first-time.tsx | 4 + 9 files changed, 188 insertions(+), 47 deletions(-) diff --git a/REVIEW.md b/REVIEW.md index acbf321a6..773215e95 100644 --- a/REVIEW.md +++ b/REVIEW.md @@ -20,7 +20,7 @@ Code review guidelines for human teammates and AI agents. All categories are gro - Tokens must be stored exclusively via `storeTokens()` and read via `getTokenDetails()` from `src/components/providers/auth.tsx`. Never store auth tokens in plain React state, `AsyncStorage`, or the general `storage` instance from `src/lib/storage.tsx`. - All routes that require a logged-in user must be declared under the `Stack.Protected` with `guard={isAuthenticated}` in `src/app/_layout.tsx`, either through the `(app)/` group or as a stack screen of their own (e.g. `feed/[id]`). Never replicate this guard inside individual screen files. - Screens under the authenticated and logged-out guards are rendered from `AUTHENTICATED_SCREENS` / `AUTH_SCREENS` in `src/lib/auth/deep-link-path.ts`. Add, move or remove a guarded screen there (and its options in `GUARDED_SCREEN_OPTIONS` in `src/app/_layout.tsx`), never as a hand-written `Stack.Screen` inside those guards. -- Pending deep links are only stored by `src/app/+native-intent.tsx` and only consumed through `getFallbackRoute()`. Never navigate to a pending link directly from a screen, and never let a path that resolves to a public or auth screen become a return-to target. +- Pending deep links are only stored by `src/app/+native-intent.tsx` and only consumed through `getFallbackRoute()`. For a logged-out user, `+native-intent` must return the guard's fallback route instead of a protected link, so the protected screen is never pushed; the `Stack.Protected` guards alone redirect only after the screen is mounted. Never navigate to a pending link directly from a screen, and never let a path that resolves to a public or auth screen become a return-to target. - Verify that API calls are not triggered before `ready === true` from `AuthProvider`. Until `ready` is true, the auth state is not yet hydrated from MMKV. - Token expiry must be evaluated using `dayjs` comparison against the ISO string stored in `authStorage` — do not compare raw Unix timestamps or use `Date` directly. diff --git a/__tests__/app/native-intent.test.ts b/__tests__/app/native-intent.test.ts index 9e658fd93..e07625640 100644 --- a/__tests__/app/native-intent.test.ts +++ b/__tests__/app/native-intent.test.ts @@ -1,21 +1,84 @@ +import dayjs from 'dayjs'; + import { redirectSystemPath } from '@/app/+native-intent'; +import { clearTokens, storeTokens } from '@/components/providers/auth'; import { clearPendingDeepLink, setPendingDeepLink, usePendingDeepLink } from '@/lib/auth/pending-deep-link'; +import { storage } from '@/lib/storage'; + +jest.mock('@/api', () => ({ + client: { + interceptors: { + request: { use: jest.fn(), eject: jest.fn() }, + response: { use: jest.fn(), eject: jest.fn() }, + }, + }, +})); const pendingDeepLink = () => usePendingDeepLink.getState().path; +function logIn(expiration = dayjs().add(1, 'hour').toISOString()) { + storeTokens({ + accessToken: 'access-token', + refreshToken: 'refresh-token', + userId: 'user-id', + expiration, + }); +} + +function completeOnboarding() { + storage.set('IS_FIRST_TIME', false); +} + describe('redirectSystemPath', () => { beforeEach(() => { + clearTokens(); clearPendingDeepLink(); + completeOnboarding(); + }); + + afterAll(() => { + clearTokens(); }); - it.each([true, false])('remembers a protected link and opens it unchanged (initial: %s)', (initial) => { - const path = 'RootstrapApp.staging://feed/1?ref=email'; + describe('logged out', () => { + it.each([true, false])('sends a protected link to sign-in and remembers it (initial: %s)', (initial) => { + expect(redirectSystemPath({ path: 'RootstrapApp://feed/add-post', initial })).toBe('/sign-in'); + expect(pendingDeepLink()).toBe('/feed/add-post'); + }); + + it('keeps the query string of the remembered link', () => { + expect(redirectSystemPath({ path: 'RootstrapApp.staging://feed/1?ref=email', initial: false })).toBe('/sign-in'); + expect(pendingDeepLink()).toBe('/feed/1?ref=email'); + }); + + it('treats an expired session as logged out', () => { + logIn(dayjs().subtract(1, 'minute').toISOString()); - expect(redirectSystemPath({ path, initial })).toBe(path); - expect(pendingDeepLink()).toBe('/feed/1?ref=email'); + expect(redirectSystemPath({ path: 'RootstrapApp://feed/add-post', initial: false })).toBe('/sign-in'); + expect(pendingDeepLink()).toBe('/feed/add-post'); + }); + + it('sends a protected link to onboarding on first launch and forgets it', () => { + storage.remove('IS_FIRST_TIME'); + setPendingDeepLink('/feed/1'); + + expect(redirectSystemPath({ path: 'RootstrapApp://feed/add-post', initial: true })).toBe('/onboarding'); + expect(pendingDeepLink()).toBeNull(); + }); }); - it('opens a public link without remembering it', () => { + describe('logged in', () => { + it('opens a protected link unchanged without remembering it', () => { + logIn(); + setPendingDeepLink('/feed/1'); + const path = 'RootstrapApp://feed/add-post'; + + expect(redirectSystemPath({ path, initial: false })).toBe(path); + expect(pendingDeepLink()).toBeNull(); + }); + }); + + it('opens a public link unchanged without remembering it', () => { const path = 'RootstrapApp.staging://forgot-password'; expect(redirectSystemPath({ path, initial: true })).toBe(path); @@ -25,18 +88,19 @@ describe('redirectSystemPath', () => { it('replaces an older pending link when a public link arrives', () => { setPendingDeepLink('/feed/1'); - redirectSystemPath({ path: 'RootstrapApp.staging://sign-up', initial: false }); - + expect(redirectSystemPath({ path: 'RootstrapApp.staging://sign-up', initial: false })).toBe('RootstrapApp.staging://sign-up'); expect(pendingDeepLink()).toBeNull(); }); - it('does not remember a plain app launch', () => { - redirectSystemPath({ path: 'RootstrapApp.staging://', initial: true }); + it('opens a plain app launch unchanged without remembering it', () => { + const path = 'RootstrapApp.staging://'; + expect(redirectSystemPath({ path, initial: true })).toBe(path); expect(pendingDeepLink()).toBeNull(); }); - it('returns malformed input unchanged without throwing', () => { + it('returns malformed input unchanged and forgets an older pending link', () => { + setPendingDeepLink('/feed/1'); const path = null as unknown as string; expect(() => redirectSystemPath({ path, initial: true })).not.toThrow(); @@ -44,18 +108,10 @@ describe('redirectSystemPath', () => { expect(pendingDeepLink()).toBeNull(); }); - it('forgets an older pending link when the new link cannot be read', () => { - setPendingDeepLink('/feed/1'); - - redirectSystemPath({ path: null as unknown as string, initial: false }); - - expect(pendingDeepLink()).toBeNull(); - }); - it.each([ 'RootstrapApp.staging://x/../sign-in', 'RootstrapApp.staging:///%2e%2e/forgot-password', - ])('forgets an older pending link when %s resolves to an auth screen', (path) => { + ])('opens %s unchanged because it resolves to an auth screen', (path) => { setPendingDeepLink('/feed/1'); expect(redirectSystemPath({ path, initial: false })).toBe(path); diff --git a/__tests__/components/providers/auth.test.tsx b/__tests__/components/providers/auth.test.tsx index 062614352..e08b68522 100644 --- a/__tests__/components/providers/auth.test.tsx +++ b/__tests__/components/providers/auth.test.tsx @@ -9,6 +9,8 @@ import { AuthProvider, clearTokens, getTokenDetails, + getValidAccessToken, + hasValidSession, storeTokens, useAuth, } from '../../../src/components/providers/auth'; @@ -85,6 +87,40 @@ describe('Auth Utilities', () => { }); }); +describe('session helpers', () => { + afterEach(() => { + clearTokens(); + }); + + const storeSession = (expiration: string) => { + storeTokens({ + accessToken: mockedValidToken, + refreshToken: mockedRefreshToken, + userId: mockedUserId, + expiration, + }); + }; + + it('reports a valid session while the token has not expired', () => { + storeSession(dayjs().add(1, 'hour').toISOString()); + + expect(hasValidSession()).toBe(true); + expect(getValidAccessToken()).toBe(mockedValidToken); + }); + + it('reports no session when nothing is stored', () => { + expect(hasValidSession()).toBe(false); + expect(getValidAccessToken()).toBeNull(); + }); + + it('reports no session once the token has expired', () => { + storeSession(dayjs().subtract(1, 'minute').toISOString()); + + expect(hasValidSession()).toBe(false); + expect(getValidAccessToken()).toBeNull(); + }); +}); + describe('AuthProvider', () => { it('provides initial state correctly', () => { const { result } = renderHook(() => useAuth(), { @@ -121,6 +157,24 @@ describe('AuthProvider', () => { expect(result.current.ready).toBe(true); }); + it('starts logged out when the stored token has expired', () => { + storeTokens({ + accessToken: mockedValidToken, + refreshToken: mockedRefreshToken, + userId: mockedUserId, + expiration: mockedExpiryDate, + }); + + const { result } = renderHook(() => useAuth(), { + wrapper: AuthProvider, + }); + + expect(result.current.isAuthenticated).toBe(false); + expect(result.current.token).toBeNull(); + expect(result.current.ready).toBe(true); + clearTokens(); + }); + it('logs out correctly', () => { const { result } = renderHook(() => useAuth(), { wrapper: AuthProvider, diff --git a/__tests__/lib/hooks/use-is-first-time.test.tsx b/__tests__/lib/hooks/use-is-first-time.test.tsx index 16511e1a6..f00a937ca 100644 --- a/__tests__/lib/hooks/use-is-first-time.test.tsx +++ b/__tests__/lib/hooks/use-is-first-time.test.tsx @@ -1,7 +1,8 @@ import { renderHook } from '@testing-library/react-native'; import { useMMKVBoolean } from 'react-native-mmkv'; -import { useIsFirstTime } from '@/lib/hooks/use-is-first-time'; +import { getIsFirstTime, useIsFirstTime } from '@/lib/hooks/use-is-first-time'; +import { storage } from '@/lib/storage'; // Mock react-native-mmkv before importing the hook jest.mock('react-native-mmkv', () => ({ @@ -16,6 +17,7 @@ jest.mock('react-native-mmkv', () => ({ // Mock the storage module jest.mock('@/lib/storage', () => ({ storage: { + getBoolean: jest.fn(), getString: jest.fn(), set: jest.fn(), delete: jest.fn(), @@ -60,3 +62,24 @@ describe('useIsFirstTime', () => { expect(result.current[1]).toBe(mockSetIsFirstTime); }); }); + +describe('getIsFirstTime', () => { + const mockGetBoolean = jest.mocked(storage.getBoolean); + + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('is true when onboarding has never been recorded', () => { + mockGetBoolean.mockReturnValue(undefined); + + expect(getIsFirstTime()).toBe(true); + expect(mockGetBoolean).toHaveBeenCalledWith('IS_FIRST_TIME'); + }); + + it.each([true, false])('returns the stored value (%s)', (value) => { + mockGetBoolean.mockReturnValue(value); + + expect(getIsFirstTime()).toBe(value); + }); +}); diff --git a/agent_docs/architecture.md b/agent_docs/architecture.md index 0b20bc590..d4e5a5edf 100644 --- a/agent_docs/architecture.md +++ b/agent_docs/architecture.md @@ -43,7 +43,7 @@ Route guards are centralised in `src/app/_layout.tsx`. The `GuardedStack` compon A logged-out user who opens a link to a protected screen is sent to sign-in and lands on that screen after logging in: -1. `src/app/+native-intent.tsx` normalises every incoming link with `toAppPath()` and, if `isReturnToPath()` accepts it (an in-app path that does not resolve to a public or auth screen, dot segments included), stores it in the pending deep link store (`src/lib/auth/pending-deep-link.ts`). Any other link, or one that cannot be parsed, clears the store so a stale target is never reused. +1. `src/app/+native-intent.tsx` normalises every incoming link with `toAppPath()` before the router sees it. If `isReturnToPath()` accepts it (an in-app path that does not resolve to a public or auth screen, dot segments included) and `hasValidSession()` (`src/components/providers/auth.tsx`, the same check `AuthProvider` uses) is false, it stores the link in the pending deep link store (`src/lib/auth/pending-deep-link.ts`) and returns the guard's fallback route (`getFallbackRoute()` with `isAuthenticated: false`) instead of the link. The protected screen is never pushed, so not even its header renders for a logged-out user. When `getIsFirstTime()` is true the fallback is `/onboarding` and the link is discarded. A logged-in user gets the link unchanged. Any other link, or one that cannot be parsed, opens unchanged and clears the store so a stale target is never reused. 2. `getFallbackRoute()` (`src/lib/auth/get-fallback-route.ts`) uses the pending link as the `redirectTo` of the guards once the user is authenticated, and falls back to `/` for anything that is not a valid return-to path. 3. `GuardedStack` clears the pending link once the user is past sign-in, or when onboarding takes over. diff --git a/src/app/+native-intent.tsx b/src/app/+native-intent.tsx index 1da52abeb..e7e930f1b 100644 --- a/src/app/+native-intent.tsx +++ b/src/app/+native-intent.tsx @@ -1,22 +1,32 @@ import type { NativeIntent } from 'expo-router'; +import { hasValidSession } from '@/components/providers/auth'; import { isReturnToPath, toAppPath } from '@/lib/auth/deep-link-path'; +import { getFallbackRoute } from '@/lib/auth/get-fallback-route'; import { clearPendingDeepLink, setPendingDeepLink } from '@/lib/auth/pending-deep-link'; +import { getIsFirstTime } from '@/lib/hooks/use-is-first-time'; type RedirectSystemPathEvent = Parameters>[0]; -export function redirectSystemPath({ path }: RedirectSystemPathEvent) { +export function redirectSystemPath({ path }: RedirectSystemPathEvent): string { try { const appPath = toAppPath(path); - if (isReturnToPath(appPath)) { - setPendingDeepLink(appPath); + if (!isReturnToPath(appPath) || hasValidSession()) { + clearPendingDeepLink(); + return path; } - else { + + const isFirstTime = getIsFirstTime(); + if (isFirstTime) { clearPendingDeepLink(); } + else { + setPendingDeepLink(appPath); + } + return getFallbackRoute({ isFirstTime, isAuthenticated: false }); } catch { clearPendingDeepLink(); + return path; } - return path; } diff --git a/src/components/providers/auth.tsx b/src/components/providers/auth.tsx index d3ece1a7c..9ffe21779 100644 --- a/src/components/providers/auth.tsx +++ b/src/components/providers/auth.tsx @@ -49,6 +49,18 @@ export function getTokenDetails() { }; } +export function getValidAccessToken(): string | null { + const { accessToken, expiration } = getTokenDetails(); + if (accessToken === '' || expiration === '' || dayjs().isAfter(dayjs(expiration))) { + return null; + } + return accessToken; +} + +export function hasValidSession(): boolean { + return getValidAccessToken() !== null; +} + export function clearTokens() { authStorage.clearAll(); } @@ -113,25 +125,7 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ const [ready, setReady] = useState(false); const checkToken = useCallback(() => { - const storedToken = authStorage.getString(HEADER_KEYS.ACCESS_TOKEN); - const expiration = authStorage.getString(HEADER_KEYS.EXPIRY); - - if (storedToken === undefined || expiration === undefined) { - setToken(null); - setLoading(false); - setReady(true); - return; - } - - const isExpired = dayjs().isAfter(dayjs(expiration)); - - if (isExpired) { - setToken(null); // Token expired, clear it - } - else { - setToken(storedToken); // Token is valid, set it - } - + setToken(getValidAccessToken()); setLoading(false); setReady(true); }, []); diff --git a/src/lib/auth/get-fallback-route.ts b/src/lib/auth/get-fallback-route.ts index 2abb61801..d98eb7296 100644 --- a/src/lib/auth/get-fallback-route.ts +++ b/src/lib/auth/get-fallback-route.ts @@ -12,7 +12,7 @@ export function getFallbackRoute({ isFirstTime, isAuthenticated, pendingDeepLink = null, -}: GuardState): Href { +}: GuardState): Extract { if (isFirstTime) { return '/onboarding'; } diff --git a/src/lib/hooks/use-is-first-time.tsx b/src/lib/hooks/use-is-first-time.tsx index 395b02cd2..665ca7d69 100644 --- a/src/lib/hooks/use-is-first-time.tsx +++ b/src/lib/hooks/use-is-first-time.tsx @@ -4,6 +4,10 @@ import { storage } from '../storage'; const IS_FIRST_TIME = 'IS_FIRST_TIME'; +export function getIsFirstTime(): boolean { + return storage.getBoolean(IS_FIRST_TIME) ?? true; +} + export function useIsFirstTime() { const [isFirstTime, setIsFirstTime] = useMMKVBoolean(IS_FIRST_TIME, storage); if (isFirstTime === undefined) { From 79d4e96131bbbe99470f3bc3f8202c2d419e820f Mon Sep 17 00:00:00 2001 From: Fernanda Toledo Date: Thu, 26 Nov 2026 16:56:38 -0300 Subject: [PATCH 04/11] fix(app): keep the splash until auth is ready instead of rendering unguarded screens --- __tests__/app/_layout.test.tsx | 32 +----------------------------- __tests__/app/root-layout.test.tsx | 28 ++++++++++++++++++++++++++ src/app/(app)/_layout.tsx | 12 +---------- src/app/_layout.tsx | 8 +++++++- 4 files changed, 37 insertions(+), 43 deletions(-) diff --git a/__tests__/app/_layout.test.tsx b/__tests__/app/_layout.test.tsx index 75f4413af..d032fc9e0 100644 --- a/__tests__/app/_layout.test.tsx +++ b/__tests__/app/_layout.test.tsx @@ -1,4 +1,4 @@ -import { SplashScreen, Tabs } from 'expo-router'; +import { Tabs } from 'expo-router'; import TabLayout from '@/app/(app)/_layout'; import { useAuth } from '@/components/providers/auth'; @@ -30,9 +30,6 @@ jest.mock('expo-router', () => { }, Tabs: MockTabs, Link: ({ children }: { children: React.ReactNode }) => children, - SplashScreen: { - hideAsync: jest.fn().mockResolvedValue(undefined), - }, }; }); @@ -46,7 +43,6 @@ const mockUseAuth = useAuth as jest.MockedFunction; const mockUseIsFirstTime = useIsFirstTime as jest.MockedFunction< typeof useIsFirstTime >; -const mockSplashScreen = SplashScreen as jest.Mocked; const mockTabsScreen = Tabs.Screen as unknown as jest.Mock; const tabOptions = (name: string) => @@ -110,32 +106,6 @@ describe('TabLayout', () => { expect(mockUseAuth).toHaveBeenCalled(); }); - it('should hide splash screen when auth is not ready', () => { - mockUseIsFirstTime.mockReturnValue([false, jest.fn()]); - mockUseAuth.mockReturnValue({ - token: 'mock-token', - isAuthenticated: true, - loading: false, - ready: false, - logout: jest.fn(), - }); - render(); - expect(mockSplashScreen.hideAsync).toHaveBeenCalled(); - }); - - it('should not hide splash screen when auth is ready', () => { - mockUseIsFirstTime.mockReturnValue([false, jest.fn()]); - mockUseAuth.mockReturnValue({ - token: 'mock-token', - isAuthenticated: true, - loading: false, - ready: true, - logout: jest.fn(), - }); - render(); - expect(mockSplashScreen.hideAsync).not.toHaveBeenCalled(); - }); - it('should call useAuth and useIsFirstTime hooks', () => { setupAuthenticatedUser(); render(); diff --git a/__tests__/app/root-layout.test.tsx b/__tests__/app/root-layout.test.tsx index 720a63eb5..3b23f570a 100644 --- a/__tests__/app/root-layout.test.tsx +++ b/__tests__/app/root-layout.test.tsx @@ -1,5 +1,6 @@ import type { ReactElement, ReactNode } from 'react'; import { Stack } from 'expo-router'; +import { hideAsync } from 'expo-splash-screen'; import { Children, isValidElement } from 'react'; import RootLayout from '@/app/_layout'; @@ -24,6 +25,7 @@ jest.mock('react-native-gesture-handler', () => ({ jest.mock('expo-splash-screen', () => ({ preventAutoHideAsync: jest.fn(() => Promise.resolve()), + hideAsync: jest.fn(() => Promise.resolve()), setOptions: jest.fn(), })); @@ -49,6 +51,7 @@ jest.mock('@/lib/hooks/use-is-first-time', () => ({ })); const mockProtected = jest.mocked(Stack.Protected); +const mockHideSplash = jest.mocked(hideAsync); const mockUseAuth = jest.mocked(useAuth); const mockUseIsFirstTime = jest.mocked(useIsFirstTime); @@ -267,3 +270,28 @@ describe('RootLayout guards', () => { expect(guardFor('sign-in').redirectTo).toBe('/'); }); }); + +describe('RootLayout while auth is hydrating', () => { + it('renders no screens and keeps the splash until auth is ready', () => { + mockUseAuth.mockReturnValue({ + token: null, + isAuthenticated: false, + loading: true, + ready: false, + logout: jest.fn(), + }); + + render(); + + expect(mockProtected).not.toHaveBeenCalled(); + expect(Stack.Screen).not.toHaveBeenCalled(); + expect(mockHideSplash).not.toHaveBeenCalled(); + }); + + it('renders the guarded screens and hides the splash once auth is ready', () => { + render(); + + expect(guardFor('feed/add-post')).toMatchObject({ guard: false }); + expect(mockHideSplash).toHaveBeenCalledTimes(1); + }); +}); diff --git a/src/app/(app)/_layout.tsx b/src/app/(app)/_layout.tsx index bbeff4532..a430445d9 100644 --- a/src/app/(app)/_layout.tsx +++ b/src/app/(app)/_layout.tsx @@ -1,6 +1,5 @@ import type { ColorValue } from 'react-native'; -import { Link, Redirect, SplashScreen, Tabs } from 'expo-router'; -import { useCallback, useEffect } from 'react'; +import { Link, Redirect, Tabs } from 'expo-router'; import { useTranslation } from 'react-i18next'; import { useAuth } from '@/components/providers/auth'; @@ -34,15 +33,6 @@ export default function TabLayout() { const { isAuthenticated, ready } = useAuth(); const [isFirstTime] = useIsFirstTime(); const { t } = useTranslation(); - const hideSplash = useCallback(async () => { - await SplashScreen.hideAsync(); - }, []); - - useEffect(() => { - if (!ready) { - void hideSplash(); - } - }, [hideSplash, ready]); if (isFirstTime) { return ; diff --git a/src/app/_layout.tsx b/src/app/_layout.tsx index 9bfa28235..df812564a 100644 --- a/src/app/_layout.tsx +++ b/src/app/_layout.tsx @@ -116,8 +116,14 @@ export default function RootLayout() { function RouterContent() { const { ready } = useAuth(); + React.useEffect(() => { + if (ready) { + void SplashScreen.hideAsync(); + } + }, [ready]); + if (!ready) { - return ; + return null; } return ; From dabc40006682928ea804aefaad249c1bd5d42c4d Mon Sep 17 00:00:00 2001 From: Fernanda Toledo Date: Fri, 27 Nov 2026 13:29:14 -0300 Subject: [PATCH 05/11] fix(auth): open the pending link over the tabs and only for protected routes - Guards always send an authenticated user to `/`. PendingDeepLinkHandler then pushes the pending link on top of `(app)`, so the linked screen keeps a back stack. - isReturnToPath matches an allow-list of protected routes, so unknown routes open the 404 instead of asking for sign-in. A test fails when a route is not classified. - AuthProvider re-checks the stored token on foreground and when +native-intent finds it expired, so the guards and +native-intent agree on the session. - runtimeVersion uses the fingerprint policy, so updates only reach builds that register the same scheme. --- REVIEW.md | 2 +- __tests__/app/native-intent.test.ts | 27 +++++- __tests__/app/root-layout.test.tsx | 84 ++++++++-------- __tests__/components/providers/auth.test.tsx | 51 ++++++++++ __tests__/lib/auth/deep-link-path.test.ts | 95 ++++++++++--------- __tests__/lib/auth/get-fallback-route.test.ts | 31 +----- agent_docs/architecture.md | 9 +- app.config.ts | 2 +- docs/src/content/docs/guides/navigation.mdx | 2 +- src/app/+native-intent.tsx | 3 +- src/app/_layout.tsx | 43 +++++++-- src/components/providers/auth.tsx | 15 +++ src/lib/auth/deep-link-path.ts | 20 +++- src/lib/auth/get-fallback-route.ts | 14 +-- 14 files changed, 249 insertions(+), 149 deletions(-) diff --git a/REVIEW.md b/REVIEW.md index 773215e95..e996762bf 100644 --- a/REVIEW.md +++ b/REVIEW.md @@ -20,7 +20,7 @@ Code review guidelines for human teammates and AI agents. All categories are gro - Tokens must be stored exclusively via `storeTokens()` and read via `getTokenDetails()` from `src/components/providers/auth.tsx`. Never store auth tokens in plain React state, `AsyncStorage`, or the general `storage` instance from `src/lib/storage.tsx`. - All routes that require a logged-in user must be declared under the `Stack.Protected` with `guard={isAuthenticated}` in `src/app/_layout.tsx`, either through the `(app)/` group or as a stack screen of their own (e.g. `feed/[id]`). Never replicate this guard inside individual screen files. - Screens under the authenticated and logged-out guards are rendered from `AUTHENTICATED_SCREENS` / `AUTH_SCREENS` in `src/lib/auth/deep-link-path.ts`. Add, move or remove a guarded screen there (and its options in `GUARDED_SCREEN_OPTIONS` in `src/app/_layout.tsx`), never as a hand-written `Stack.Screen` inside those guards. -- Pending deep links are only stored by `src/app/+native-intent.tsx` and only consumed through `getFallbackRoute()`. For a logged-out user, `+native-intent` must return the guard's fallback route instead of a protected link, so the protected screen is never pushed; the `Stack.Protected` guards alone redirect only after the screen is mounted. Never navigate to a pending link directly from a screen, and never let a path that resolves to a public or auth screen become a return-to target. +- Pending deep links are only stored by `src/app/+native-intent.tsx` and only opened by `PendingDeepLinkHandler` in `src/app/_layout.tsx`, which pushes them on top of the tabs once the user is authenticated. The guards always redirect an authenticated user to `/`, never to the pending link, so the linked screen keeps a back stack. For a logged-out user, `+native-intent` must return the guard's fallback route instead of a protected link, so the protected screen is never pushed; the `Stack.Protected` guards alone redirect only after the screen is mounted. Never navigate to a pending link directly from a screen. Only routes listed in `AUTHENTICATED_SCREENS` or `APP_TAB_SCREENS` can become a return-to target, so a new route file must be added to one of those lists, `AUTH_SCREENS`, or the public list in the route classification test. - Verify that API calls are not triggered before `ready === true` from `AuthProvider`. Until `ready` is true, the auth state is not yet hydrated from MMKV. - Token expiry must be evaluated using `dayjs` comparison against the ISO string stored in `authStorage` — do not compare raw Unix timestamps or use `Date` directly. diff --git a/__tests__/app/native-intent.test.ts b/__tests__/app/native-intent.test.ts index e07625640..230805240 100644 --- a/__tests__/app/native-intent.test.ts +++ b/__tests__/app/native-intent.test.ts @@ -1,7 +1,8 @@ +import { act, renderHook } from '@testing-library/react-native'; import dayjs from 'dayjs'; import { redirectSystemPath } from '@/app/+native-intent'; -import { clearTokens, storeTokens } from '@/components/providers/auth'; +import { AuthProvider, clearTokens, storeTokens, useAuth } from '@/components/providers/auth'; import { clearPendingDeepLink, setPendingDeepLink, usePendingDeepLink } from '@/lib/auth/pending-deep-link'; import { storage } from '@/lib/storage'; @@ -58,6 +59,20 @@ describe('redirectSystemPath', () => { expect(pendingDeepLink()).toBe('/feed/add-post'); }); + it('logs the running app out when the link finds the session expired', () => { + logIn(); + const { result } = renderHook(() => useAuth(), { wrapper: AuthProvider }); + expect(result.current.isAuthenticated).toBe(true); + + logIn(dayjs().subtract(1, 'minute').toISOString()); + act(() => { + redirectSystemPath({ path: 'RootstrapApp://feed/add-post', initial: false }); + }); + + expect(result.current.isAuthenticated).toBe(false); + expect(pendingDeepLink()).toBe('/feed/add-post'); + }); + it('sends a protected link to onboarding on first launch and forgets it', () => { storage.remove('IS_FIRST_TIME'); setPendingDeepLink('/feed/1'); @@ -92,6 +107,16 @@ describe('redirectSystemPath', () => { expect(pendingDeepLink()).toBeNull(); }); + it.each(['RootstrapApp://does-not-exist', 'RootstrapApp://feed', 'RootstrapApp://Sign-In'])( + 'opens %s, which is not a protected screen, unchanged without remembering it', + (path) => { + setPendingDeepLink('/feed/1'); + + expect(redirectSystemPath({ path, initial: true })).toBe(path); + expect(pendingDeepLink()).toBeNull(); + }, + ); + it('opens a plain app launch unchanged without remembering it', () => { const path = 'RootstrapApp.staging://'; diff --git a/__tests__/app/root-layout.test.tsx b/__tests__/app/root-layout.test.tsx index 3b23f570a..fc045a719 100644 --- a/__tests__/app/root-layout.test.tsx +++ b/__tests__/app/root-layout.test.tsx @@ -4,7 +4,7 @@ import { hideAsync } from 'expo-splash-screen'; import { Children, isValidElement } from 'react'; import RootLayout from '@/app/_layout'; -import { useAuth } from '@/components/providers/auth'; +import { hasValidSession, useAuth } from '@/components/providers/auth'; import { clearPendingDeepLink, setPendingDeepLink, usePendingDeepLink } from '@/lib/auth/pending-deep-link'; import { useIsFirstTime } from '@/lib/hooks/use-is-first-time'; import { act, cleanup, render, screen } from '@/lib/test-utils'; @@ -12,6 +12,7 @@ import { act, cleanup, render, screen } from '@/lib/test-utils'; type ProtectedProps = { guard: boolean; redirectTo?: string; children?: ReactNode }; let mockSegments: Array = []; +const mockPush = jest.fn(); jest.mock('../../global.css', () => ({})); @@ -38,11 +39,13 @@ jest.mock('expo-router', () => { Stack: MockStack, ThemeProvider: ({ children }: { children: ReactNode }) => children, useSegments: () => mockSegments, + useRouter: () => ({ push: mockPush }), }; }); jest.mock('@/components/providers/auth', () => ({ AuthProvider: ({ children }: { children: ReactNode }) => children, + hasValidSession: jest.fn(), useAuth: jest.fn(), })); @@ -54,8 +57,10 @@ const mockProtected = jest.mocked(Stack.Protected); const mockHideSplash = jest.mocked(hideAsync); const mockUseAuth = jest.mocked(useAuth); const mockUseIsFirstTime = jest.mocked(useIsFirstTime); +const mockHasValidSession = jest.mocked(hasValidSession); -function setAuthenticated(isAuthenticated: boolean) { +function setAuthenticated(isAuthenticated: boolean, hasStoredSession = isAuthenticated) { + mockHasValidSession.mockReturnValue(hasStoredSession); mockUseAuth.mockReturnValue({ token: isAuthenticated ? 'token' : null, isAuthenticated, @@ -132,75 +137,82 @@ describe('RootLayout guards', () => { expect(guardFor('feed/[id]').redirectTo).toBe('/sign-in'); expect(pendingDeepLink()).toBe('/feed/1'); + expect(mockPush).not.toHaveBeenCalled(); }); - it('sends the user to the pending link after login and forgets it once they land there', () => { + it('sends the user home after login and opens the pending link on top of the tabs', () => { setPendingDeepLink('/feed/1'); render(); setAuthenticated(true); rerenderAt(['sign-in']); - expect(guardFor('sign-in')).toMatchObject({ guard: false, redirectTo: '/feed/1' }); + expect(guardFor('sign-in')).toMatchObject({ guard: false, redirectTo: '/' }); + expect(mockPush).not.toHaveBeenCalled(); expect(pendingDeepLink()).toBe('/feed/1'); - rerenderAt(['feed', '[id]']); + rerenderAt(['(app)']); + expect(mockPush).toHaveBeenCalledTimes(1); + expect(mockPush).toHaveBeenCalledWith('/feed/1'); expect(pendingDeepLink()).toBeNull(); - expect(guardFor('sign-in').redirectTo).toBe('/'); }); - it('sends a second login to home once the link was used', () => { - setPendingDeepLink('/feed/1'); + it('opens the pending link after signing up instead of signing in', () => { + setPendingDeepLink('/feed/add-post'); + mockSegments = ['sign-up']; render(); - setAuthenticated(true); - rerenderAt(['feed', '[id]']); - setAuthenticated(false); - rerenderAt(['sign-in']); setAuthenticated(true); - rerenderAt(['sign-in']); + rerenderAt(['(app)']); - expect(guardFor('sign-in').redirectTo).toBe('/'); + expect(mockPush).toHaveBeenCalledWith('/feed/add-post'); }); - it('sends a login without a pending link to home', () => { + it('opens nothing on a second login once the link was used', () => { + setPendingDeepLink('/feed/1'); render(); - setAuthenticated(true); + rerenderAt(['(app)']); + mockPush.mockClear(); + + setAuthenticated(false); rerenderAt(['sign-in']); + setAuthenticated(true); + rerenderAt(['(app)']); - expect(guardFor('sign-in').redirectTo).toBe('/'); + expect(mockPush).not.toHaveBeenCalled(); }); - it('drops a link that arrives while logged in so it cannot hijack a later login', () => { - setAuthenticated(true); + it('keeps the link without opening it while the stored session has expired but auth state has not caught up', () => { + setAuthenticated(true, false); mockSegments = ['(app)']; render(); act(() => setPendingDeepLink('/feed/3')); - expect(pendingDeepLink()).toBeNull(); + expect(mockPush).not.toHaveBeenCalled(); + expect(pendingDeepLink()).toBe('/feed/3'); setAuthenticated(false); rerenderAt(['sign-in']); setAuthenticated(true); - rerenderAt(['sign-in']); + rerenderAt(['(app)']); - expect(guardFor('sign-in').redirectTo).toBe('/'); + expect(mockPush).toHaveBeenCalledWith('/feed/3'); }); - it.each(['/../sign-in', '/(app)/../forgot-password', '/(app)/%2e%2e/sign-in', '/sign%2Din', '/%73ign-up'])( - 'sends the logged-in user home instead of back to the auth screen %s resolves to', + it.each(['/../sign-in', '/(app)/../forgot-password', '/(app)/%2e%2e/sign-in', '/sign%2Din', '/%73ign-up', '/does-not-exist'])( + 'drops the pending link %s after login instead of opening it', (pendingPath) => { setPendingDeepLink(pendingPath); - mockSegments = ['sign-in']; render(); setAuthenticated(true); - rerenderAt(['sign-in']); + rerenderAt(['(app)']); - expect(guardFor('sign-in').redirectTo).toBe('/'); + expect(mockPush).not.toHaveBeenCalled(); + expect(pendingDeepLink()).toBeNull(); }, ); @@ -237,12 +249,6 @@ describe('RootLayout guards', () => { render(); expect(pendingDeepLink()).toBe('/feed/1'); - - rerenderAt(['sign-in']); - setAuthenticated(true); - rerenderAt(['sign-in']); - - expect(guardFor('sign-in').redirectTo).toBe('/feed/1'); }); it('keeps the pending link before the first route is known on a cold start', () => { @@ -256,18 +262,18 @@ describe('RootLayout guards', () => { it.each([ ['an unknown route', ['[...messing]']], ['the web view', ['www']], - ])('drops a link that opened %s while logged out so a later login goes home', (_route, segments) => { - setPendingDeepLink('/feed'); - mockSegments = segments; + ])('drops the pending link when the logged-out user leaves sign-in for %s', (_route, segments) => { + setPendingDeepLink('/feed/1'); render(); + rerenderAt(segments); + expect(pendingDeepLink()).toBeNull(); - rerenderAt(['sign-in']); setAuthenticated(true); - rerenderAt(['sign-in']); + rerenderAt(['(app)']); - expect(guardFor('sign-in').redirectTo).toBe('/'); + expect(mockPush).not.toHaveBeenCalled(); }); }); diff --git a/__tests__/components/providers/auth.test.tsx b/__tests__/components/providers/auth.test.tsx index e08b68522..a6611e998 100644 --- a/__tests__/components/providers/auth.test.tsx +++ b/__tests__/components/providers/auth.test.tsx @@ -1,6 +1,7 @@ import { act, renderHook } from '@testing-library/react-hooks'; import { waitFor } from '@testing-library/react-native'; import dayjs from 'dayjs'; +import { AppState } from 'react-native'; import { Text, TouchableOpacity, View } from '@/components/ui'; import { fireEvent, render, screen } from '@/lib/test-utils'; @@ -12,6 +13,7 @@ import { getValidAccessToken, hasValidSession, storeTokens, + syncSession, useAuth, } from '../../../src/components/providers/auth'; @@ -25,6 +27,10 @@ jest.mock('@/api', () => ({ }, })); +const mockAddAppStateListener = jest + .spyOn(AppState, 'addEventListener') + .mockImplementation(() => ({ remove: jest.fn() })); + const TestComponent = () => { const { token, isAuthenticated, loading, ready, logout } = useAuth(); return ( @@ -175,6 +181,51 @@ describe('AuthProvider', () => { clearTokens(); }); + function storeSession(expiration: string) { + storeTokens({ + accessToken: mockedValidToken, + refreshToken: mockedRefreshToken, + userId: mockedUserId, + expiration, + }); + } + + it('logs out when a session sync finds the stored token expired', () => { + storeSession(dayjs().add(1, 'hour').toISOString()); + const { result } = renderHook(() => useAuth(), { wrapper: AuthProvider }); + expect(result.current.isAuthenticated).toBe(true); + + storeSession(mockedExpiryDate); + act(() => syncSession()); + + expect(result.current.isAuthenticated).toBe(false); + clearTokens(); + }); + + it('logs out when the app returns to the foreground with an expired token', () => { + storeSession(dayjs().add(1, 'hour').toISOString()); + const { result } = renderHook(() => useAuth(), { wrapper: AuthProvider }); + const onAppStateChange = mockAddAppStateListener.mock.calls.at(-1)?.[1]; + + storeSession(mockedExpiryDate); + act(() => onAppStateChange?.('active')); + + expect(result.current.isAuthenticated).toBe(false); + clearTokens(); + }); + + it('stops syncing once unmounted', () => { + storeSession(dayjs().add(1, 'hour').toISOString()); + const { result, unmount } = renderHook(() => useAuth(), { wrapper: AuthProvider }); + unmount(); + + storeSession(mockedExpiryDate); + + expect(() => syncSession()).not.toThrow(); + expect(result.current.isAuthenticated).toBe(true); + clearTokens(); + }); + it('logs out correctly', () => { const { result } = renderHook(() => useAuth(), { wrapper: AuthProvider, diff --git a/__tests__/lib/auth/deep-link-path.test.ts b/__tests__/lib/auth/deep-link-path.test.ts index 52754ca80..ebb5a7d40 100644 --- a/__tests__/lib/auth/deep-link-path.test.ts +++ b/__tests__/lib/auth/deep-link-path.test.ts @@ -1,9 +1,12 @@ +import { readdirSync } from 'node:fs'; +import path from 'node:path'; + import { + APP_TAB_SCREENS, AUTH_SCREENS, AUTHENTICATED_SCREENS, isInAppPath, isOnScreen, - isPublicPath, isReturnToPath, toAppPath, } from '@/lib/auth/deep-link-path'; @@ -34,48 +37,6 @@ describe('toAppPath', () => { }); }); -describe('isPublicPath', () => { - it.each([ - '/sign-in', - '/sign-up', - '/forgot-password', - '/onboarding', - '/www?url=https://example.com', - '/_sitemap', - ])('treats %s as public', (path) => { - expect(isPublicPath(path)).toBe(true); - }); - - it.each([ - '/../sign-in', - '/./sign-in', - '/(app)/../forgot-password', - '/%2e%2e/sign-in', - '/feed/.%2E/sign-up', - '/feed/%2e/../../onboarding', - ])('treats %s as public once its dot segments are resolved', (path) => { - expect(isPublicPath(path)).toBe(true); - }); - - it.each(['/sign%2Din', '/%73ign-in', '/%66orgot-password', '/(app)/%2e%2e/sign-in', '/%28app%29/sign-up'])( - 'treats %s as public once its segments are decoded', - (path) => { - expect(isPublicPath(path)).toBe(true); - }, - ); - - it('treats a malformed escape as a protected segment instead of throwing', () => { - expect(isPublicPath('/%E0%A4%A')).toBe(false); - }); - - it.each(['/', '/feed/1', '/feed/add-post', '/settings', '/update-password', '/(app)/style', '/sign-in-help'])( - 'treats %s as protected', - (path) => { - expect(isPublicPath(path)).toBe(false); - }, - ); -}); - describe('isInAppPath', () => { it.each(['/', '/feed/1', '/feed/1?ref=email', '/(app)/settings', '/..', '/feed/%2F%2Fexample.com'])( 'accepts the in-app path %s', @@ -111,7 +72,10 @@ describe('isReturnToPath', () => { '/feed/./1', '/feed/1?next=../sign-in', '/feed/%E0%A4%A', - '/Sign-In', + '/feed/add-post', + '/update-password', + '/(app)/style', + '/%28app%29/settings', ])( 'returns to %s after login', (path) => { @@ -134,6 +98,12 @@ describe('isReturnToPath', () => { '/sign%2Din', '/%73ign-in', '/(app)/%2e%2e/sign-in', + '/feed/.%2E/sign-up', + '/feed/%2e/../../onboarding', + '/%66orgot-password', + '/%28app%29/sign-up', + '/_sitemap', + '/onboarding', ])( 'does not return to %s after login', (path) => { @@ -141,6 +111,18 @@ describe('isReturnToPath', () => { }, ); + it.each([ + '/does-not-exist', + '/feed', + '/feed/1/comments', + '/sign-in-help', + '/Sign-In', + '/(app)', + '/index', + ])('does not return to %s, which is not a protected screen', (path) => { + expect(isReturnToPath(path)).toBe(false); + }); + it.each([ 'RootstrapApp:////example.com/x', 'RootstrapApp.staging:////example.com/x', @@ -183,3 +165,28 @@ describe('isOnScreen', () => { expect(isOnScreen(segments, screens)).toBe(false); }); }); + +describe('route classification', () => { + const appDirectory = path.join(__dirname, '../../../src/app'); + const PUBLIC_SCREENS = ['onboarding', 'www', '[...messing]']; + + function routeFiles(directory: string, prefix = ''): Array { + return readdirSync(directory, { withFileTypes: true }).flatMap((entry) => { + const route = `${prefix}${entry.name}`; + if (entry.isDirectory()) { + return routeFiles(path.join(directory, entry.name), `${route}/`); + } + const name = route.replace(/\.tsx?$/, ''); + return /(?:^|\/)(?:_layout|\+[^/]+)$/.test(name) ? [] : [name]; + }); + } + + it.each(routeFiles(appDirectory))('classifies %s as an auth, authenticated, tab or public screen', (route) => { + const tab = route.startsWith('(app)/') ? route.slice('(app)/'.length) : null; + const isClassified = tab === null + ? [...AUTH_SCREENS, ...AUTHENTICATED_SCREENS, ...PUBLIC_SCREENS].includes(route) + : APP_TAB_SCREENS.includes(tab); + + expect(isClassified).toBe(true); + }); +}); diff --git a/__tests__/lib/auth/get-fallback-route.test.ts b/__tests__/lib/auth/get-fallback-route.test.ts index e251ba461..eec774985 100644 --- a/__tests__/lib/auth/get-fallback-route.test.ts +++ b/__tests__/lib/auth/get-fallback-route.test.ts @@ -12,34 +12,5 @@ describe('getFallbackRoute', () => { expect(getFallbackRoute({ isFirstTime, isAuthenticated })).toBe(expected); }, ); - - it.each([ - { isFirstTime: true, isAuthenticated: true, expected: '/onboarding' }, - { isFirstTime: true, isAuthenticated: false, expected: '/onboarding' }, - { isFirstTime: false, isAuthenticated: false, expected: '/sign-in' }, - { isFirstTime: false, isAuthenticated: true, expected: '/feed/1' }, - ])( - 'returns $expected with a pending link when isFirstTime=$isFirstTime and isAuthenticated=$isAuthenticated', - ({ isFirstTime, isAuthenticated, expected }) => { - expect(getFallbackRoute({ isFirstTime, isAuthenticated, pendingDeepLink: '/feed/1' })).toBe(expected); - }, - ); - - it('returns home for a logged-in user once the pending link is gone', () => { - expect(getFallbackRoute({ isFirstTime: false, isAuthenticated: true, pendingDeepLink: null })).toBe('/'); - }); - - it.each(['/sign-in', '/../sign-in', '/./sign-in', '/(app)/../forgot-password', '/%2e%2e/sign-in', '/..'])( - 'sends a logged-in user home instead of to the auth or empty pending link %s', - (pendingDeepLink) => { - expect(getFallbackRoute({ isFirstTime: false, isAuthenticated: true, pendingDeepLink })).toBe('/'); - }, - ); - - it.each(['//example.com/x', '/\\example.com/x', 'https://example.com/x', 'feed/1'])( - 'sends a logged-in user home instead of to the unsafe pending link %s', - (pendingDeepLink) => { - expect(getFallbackRoute({ isFirstTime: false, isAuthenticated: true, pendingDeepLink })).toBe('/'); - }, - ); }); + diff --git a/agent_docs/architecture.md b/agent_docs/architecture.md index d4e5a5edf..5d1723787 100644 --- a/agent_docs/architecture.md +++ b/agent_docs/architecture.md @@ -37,15 +37,16 @@ Data flows down; side-effects (navigation, token refresh) are handled at the lay | `src/app/+html.tsx` | Web-only HTML shell | | `src/app/www.tsx` | In-app WebView presented as a modal | -Route guards are centralised in `src/app/_layout.tsx`. The `GuardedStack` component reads `isAuthenticated`, `isFirstTime` and the pending deep link, and applies `Stack.Protected` — no screen should check auth state or redirect. Authenticated routes do not have to live in `(app)/`: stack screens that sit outside the tabs (e.g. `feed/[id]`, `feed/add-post`, `update-password`) are declared directly under the authenticated `Stack.Protected`. The screens under the authenticated and logged-out guards are rendered from `AUTHENTICATED_SCREENS` and `AUTH_SCREENS` in `src/lib/auth/deep-link-path.ts`, so adding or moving a guarded screen means editing those lists (plus `GUARDED_SCREEN_OPTIONS` in `src/app/_layout.tsx` when the screen needs options). +Route guards are centralised in `src/app/_layout.tsx`. The `GuardedStack` component reads `isAuthenticated` and `isFirstTime` and applies `Stack.Protected` — no screen should check auth state or redirect. Authenticated routes do not have to live in `(app)/`: stack screens that sit outside the tabs (e.g. `feed/[id]`, `feed/add-post`, `update-password`) are declared directly under the authenticated `Stack.Protected`. The screens under the authenticated and logged-out guards are rendered from `AUTHENTICATED_SCREENS` and `AUTH_SCREENS` in `src/lib/auth/deep-link-path.ts`, so adding or moving a guarded screen means editing those lists (plus `GUARDED_SCREEN_OPTIONS` in `src/app/_layout.tsx` when the screen needs options). ### Deep links into protected screens A logged-out user who opens a link to a protected screen is sent to sign-in and lands on that screen after logging in: -1. `src/app/+native-intent.tsx` normalises every incoming link with `toAppPath()` before the router sees it. If `isReturnToPath()` accepts it (an in-app path that does not resolve to a public or auth screen, dot segments included) and `hasValidSession()` (`src/components/providers/auth.tsx`, the same check `AuthProvider` uses) is false, it stores the link in the pending deep link store (`src/lib/auth/pending-deep-link.ts`) and returns the guard's fallback route (`getFallbackRoute()` with `isAuthenticated: false`) instead of the link. The protected screen is never pushed, so not even its header renders for a logged-out user. When `getIsFirstTime()` is true the fallback is `/onboarding` and the link is discarded. A logged-in user gets the link unchanged. Any other link, or one that cannot be parsed, opens unchanged and clears the store so a stale target is never reused. -2. `getFallbackRoute()` (`src/lib/auth/get-fallback-route.ts`) uses the pending link as the `redirectTo` of the guards once the user is authenticated, and falls back to `/` for anything that is not a valid return-to path. -3. `GuardedStack` clears the pending link once the user is past sign-in, or when onboarding takes over. +1. `src/app/+native-intent.tsx` normalises every incoming link with `toAppPath()` before the router sees it. If `isReturnToPath()` accepts it (an in-app path that, once dot segments and route groups are resolved, matches a route in `AUTHENTICATED_SCREENS` or a tab in `APP_TAB_SCREENS`) and `hasValidSession()` (`src/components/providers/auth.tsx`, the same check `AuthProvider` uses) is false, it calls `syncSession()` so a running `AuthProvider` drops an expired token, stores the link in the pending deep link store (`src/lib/auth/pending-deep-link.ts`) and returns the guard's fallback route (`getFallbackRoute()` with `isAuthenticated: false`) instead of the link. The protected screen is never pushed, so not even its header renders for a logged-out user. When `getIsFirstTime()` is true the fallback is `/onboarding` and the link is discarded. A logged-in user gets the link unchanged. Any other link (public, auth or unknown routes), or one that cannot be parsed, opens unchanged and clears the store so a stale target is never reused. +2. The guards always redirect with `getFallbackRoute()` (`src/lib/auth/get-fallback-route.ts`), so after login the user lands on `/` first. +3. `PendingDeepLinkHandler` in `src/app/_layout.tsx` pushes the pending link once the user is authenticated, `hasValidSession()` agrees, and the tabs (`(app)`) are showing. The linked screen then sits on top of the tabs, so back and swipe-back work. It drops the link when onboarding takes over or the logged-out user leaves the auth screens. +4. `AuthProvider` re-checks the stored token when the app returns to the foreground and whenever `syncSession()` is called, so `isAuthenticated` never stays true for an expired token while `+native-intent` treats the user as logged out. --- diff --git a/app.config.ts b/app.config.ts index 8d46895d9..f17fed7b4 100644 --- a/app.config.ts +++ b/app.config.ts @@ -35,7 +35,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({ url: `https://u.expo.dev/${Env.EAS_PROJECT_ID}`, }, runtimeVersion: { - policy: 'appVersion', + policy: 'fingerprint', }, assetBundlePatterns: ['**/*'], ios: { diff --git a/docs/src/content/docs/guides/navigation.mdx b/docs/src/content/docs/guides/navigation.mdx index dc4466dff..76ac36ad0 100644 --- a/docs/src/content/docs/guides/navigation.mdx +++ b/docs/src/content/docs/guides/navigation.mdx @@ -48,7 +48,7 @@ adb shell am start -W -a android.intent.action.VIEW -d "RootstrapApp.development In app code, read the scheme from `Env.SCHEME` (imported from `@/lib/env`) instead of hardcoding it, so links always match the environment the app was built for. Links configured outside the app (push notification payloads, emails, backend settings or OAuth redirect URIs) must also use the per-environment scheme, such as `RootstrapApp.staging://`, for `development`, `qa` and `staging` builds, or those builds will not open them. -Native builds register the scheme at build time, so after changing `SCHEME` or switching to a version of the template with per-environment schemes, rebuild the app (for example `pnpm prebuild:staging`, or a new EAS build) before testing links. When you create a project with `create-rootstrap-rn-app`, `RootstrapApp` is replaced with your project name, so the schemes become `` and `.`. +Native builds register the scheme at build time, so the app uses the `fingerprint` runtime version policy: a change to the scheme or any other native config produces a new runtime version, and EAS Update only delivers an update to builds that share it. After changing `SCHEME` or switching to a version of the template with per-environment schemes, rebuild the app (for example `pnpm prebuild:staging`, or a new EAS build) before testing links. When you create a project with `create-rootstrap-rn-app`, `RootstrapApp` is replaced with your project name, so the schemes become `` and `.`. ## Sitemap route diff --git a/src/app/+native-intent.tsx b/src/app/+native-intent.tsx index e7e930f1b..dd9d0fe8c 100644 --- a/src/app/+native-intent.tsx +++ b/src/app/+native-intent.tsx @@ -1,6 +1,6 @@ import type { NativeIntent } from 'expo-router'; -import { hasValidSession } from '@/components/providers/auth'; +import { hasValidSession, syncSession } from '@/components/providers/auth'; import { isReturnToPath, toAppPath } from '@/lib/auth/deep-link-path'; import { getFallbackRoute } from '@/lib/auth/get-fallback-route'; import { clearPendingDeepLink, setPendingDeepLink } from '@/lib/auth/pending-deep-link'; @@ -16,6 +16,7 @@ export function redirectSystemPath({ path }: RedirectSystemPathEvent): string { return path; } + syncSession(); const isFirstTime = getIsFirstTime(); if (isFirstTime) { clearPendingDeepLink(); diff --git a/src/app/_layout.tsx b/src/app/_layout.tsx index df812564a..e44cafe69 100644 --- a/src/app/_layout.tsx +++ b/src/app/_layout.tsx @@ -1,7 +1,7 @@ import type { NativeStackNavigationOptions } from 'expo-router'; import { BottomSheetModalProvider } from '@gorhom/bottom-sheet'; -import { Stack, ThemeProvider, useSegments } from 'expo-router'; +import { Stack, ThemeProvider, useRouter, useSegments } from 'expo-router'; import * as SplashScreen from 'expo-splash-screen'; import * as React from 'react'; import { StyleSheet } from 'react-native'; @@ -13,9 +13,9 @@ import { APIProvider } from '@/api'; import interceptors from '@/api/common/interceptors'; import { AnalyticsProvider } from '@/components/providers/analytics'; import { useAnalyticsScreenTracking, useAnalyticsSessionReset } from '@/components/providers/analytics-tracking'; -import { AuthProvider, useAuth } from '@/components/providers/auth'; +import { AuthProvider, hasValidSession, useAuth } from '@/components/providers/auth'; import { consoleAnalyticsProvider, hydrateAuth, loadSelectedTheme, useIsFirstTime } from '@/lib'; -import { AUTH_SCREENS, AUTHENTICATED_SCREENS, isOnScreen } from '@/lib/auth/deep-link-path'; +import { AUTH_SCREENS, AUTHENTICATED_SCREENS, isOnScreen, isReturnToPath } from '@/lib/auth/deep-link-path'; import { getFallbackRoute } from '@/lib/auth/get-fallback-route'; import { clearPendingDeepLink, usePendingDeepLink } from '@/lib/auth/pending-deep-link'; import { useSyncLanguageWithOS } from '@/lib/i18n'; @@ -59,25 +59,48 @@ function AnalyticsTrackers() { return null; } -function GuardedStack() { +function PendingDeepLinkHandler() { + const router = useRouter(); const { isAuthenticated } = useAuth(); const [isFirstTime] = useIsFirstTime(); const segments: ReadonlyArray = useSegments(); const pendingDeepLink = usePendingDeepLink.use.path(); - const fallbackRoute = getFallbackRoute({ isFirstTime, isAuthenticated, pendingDeepLink }); - const isWaitingForLogin = segments.length === 0 - || isOnScreen(segments, AUTH_SCREENS) - || (!isAuthenticated && isOnScreen(segments, AUTHENTICATED_SCREENS)); React.useEffect(() => { - if (pendingDeepLink !== null && (isFirstTime || !isWaitingForLogin)) { + if (pendingDeepLink === null) { + return; + } + if (isFirstTime) { + clearPendingDeepLink(); + return; + } + if (isAuthenticated && hasValidSession() && segments[0] === '(app)') { clearPendingDeepLink(); + if (isReturnToPath(pendingDeepLink)) { + router.push(pendingDeepLink); + } + return; } - }, [isFirstTime, isWaitingForLogin, pendingDeepLink]); + const isWaitingForLogin = segments.length === 0 + || isOnScreen(segments, AUTH_SCREENS) + || isOnScreen(segments, AUTHENTICATED_SCREENS); + if (!isWaitingForLogin) { + clearPendingDeepLink(); + } + }, [isAuthenticated, isFirstTime, pendingDeepLink, router, segments]); + + return null; +} + +function GuardedStack() { + const { isAuthenticated } = useAuth(); + const [isFirstTime] = useIsFirstTime(); + const fallbackRoute = getFallbackRoute({ isFirstTime, isAuthenticated }); return ( <> + diff --git a/src/components/providers/auth.tsx b/src/components/providers/auth.tsx index 9ffe21779..f5dc6f11c 100644 --- a/src/components/providers/auth.tsx +++ b/src/components/providers/auth.tsx @@ -8,6 +8,7 @@ import { useMemo, useState, } from 'react'; +import { AppState } from 'react-native'; import { createMMKV } from 'react-native-mmkv'; import { client } from '@/api'; @@ -61,6 +62,12 @@ export function hasValidSession(): boolean { return getValidAccessToken() !== null; } +const sessionListeners = new Set<() => void>(); + +export function syncSession() { + sessionListeners.forEach(listener => listener()); +} + export function clearTokens() { authStorage.clearAll(); } @@ -142,6 +149,12 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ catch { setReady(true); } + sessionListeners.add(checkToken); + const appStateSubscription = AppState.addEventListener('change', (state) => { + if (state === 'active') { + checkToken(); + } + }); const requestInterceptor = client.interceptors.response.use( (config) => { if (config.status === unauthorizedHttpStatusCode) { @@ -154,6 +167,8 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ ); return () => { + sessionListeners.delete(checkToken); + appStateSubscription.remove(); client.interceptors.request.eject(requestInterceptor); }; }, [checkToken]); diff --git a/src/lib/auth/deep-link-path.ts b/src/lib/auth/deep-link-path.ts index 2067d110f..ae5b5f26a 100644 --- a/src/lib/auth/deep-link-path.ts +++ b/src/lib/auth/deep-link-path.ts @@ -11,7 +11,7 @@ export const AUTHENTICATED_SCREENS: ReadonlyArray = [ 'feed/add-post', ]; -const PUBLIC_ROUTES: ReadonlySet = new Set([...AUTH_SCREENS, 'onboarding', 'www', '_sitemap']); +export const APP_TAB_SCREENS: ReadonlyArray = ['index', 'settings', 'style']; const WEB_ORIGIN = /^https?:\/\/[^/?#]*/i; const APP_SCHEME = /^[a-z][a-z\d+.-]*:\/\//i; @@ -20,6 +20,12 @@ const ROUTE_GROUP = /^\(.*\)$/; const SINGLE_DOT_SEGMENT = /^(?:\.|%2e)$/i; const DOUBLE_DOT_SEGMENT = /^(?:\.|%2e){2}$/i; const IN_APP_PATH = /^\/(?![/\\])[^\\\s\p{Cc}]*$/u; +const DYNAMIC_SEGMENT = /^\[[^\]]+\]$/; + +const RETURN_TO_ROUTES: ReadonlyArray> = [ + ...APP_TAB_SCREENS.filter(screen => screen !== 'index'), + ...AUTHENTICATED_SCREENS.filter(screen => !ROUTE_GROUP.test(screen)), +].map(route => route.split('/')); export function toAppPath(url: string): string { const target = unwrapDevLaunchURL(url.trim()); @@ -64,13 +70,17 @@ function getRouteSegments(path: string): Array { .filter(segment => segment !== '' && !ROUTE_GROUP.test(segment)); } -export function isPublicPath(path: string): boolean { - const [firstSegment] = getRouteSegments(path); - return firstSegment !== undefined && PUBLIC_ROUTES.has(firstSegment); +function matchesRoute(segments: ReadonlyArray, route: ReadonlyArray): boolean { + return segments.length === route.length + && route.every((part, index) => DYNAMIC_SEGMENT.test(part) || part === segments[index]); } export function isReturnToPath(path: string): path is Extract { - return isInAppPath(path) && getRouteSegments(path).length > 0 && !isPublicPath(path); + if (!isInAppPath(path)) { + return false; + } + const segments = getRouteSegments(path); + return RETURN_TO_ROUTES.some(route => matchesRoute(segments, route)); } export function isOnScreen(segments: ReadonlyArray, screens: ReadonlyArray): boolean { diff --git a/src/lib/auth/get-fallback-route.ts b/src/lib/auth/get-fallback-route.ts index d98eb7296..375c5b99f 100644 --- a/src/lib/auth/get-fallback-route.ts +++ b/src/lib/auth/get-fallback-route.ts @@ -1,23 +1,13 @@ import type { Href } from 'expo-router'; -import { isReturnToPath } from './deep-link-path'; - type GuardState = { isFirstTime: boolean; isAuthenticated: boolean; - pendingDeepLink?: string | null; }; -export function getFallbackRoute({ - isFirstTime, - isAuthenticated, - pendingDeepLink = null, -}: GuardState): Extract { +export function getFallbackRoute({ isFirstTime, isAuthenticated }: GuardState): Extract { if (isFirstTime) { return '/onboarding'; } - if (!isAuthenticated) { - return '/sign-in'; - } - return pendingDeepLink !== null && isReturnToPath(pendingDeepLink) ? pendingDeepLink : '/'; + return isAuthenticated ? '/' : '/sign-in'; } From 54b00a21271e328238c8d9cad9a940a262d77934 Mon Sep 17 00:00:00 2001 From: Fernanda Toledo Date: Fri, 27 Nov 2026 13:56:50 -0300 Subject: [PATCH 06/11] fix(auth): keep the session sync to links and restore appVersion runtime - Drop the AppState re-check: logging a user out on foreground with no notice is a product decision. Links still sync the session through syncSession(). - Restore the appVersion runtime policy. expo-updates is not installed, and the fingerprint hashes extra, which can strand OTAs built from a different env file. - Make the unmount test fail when the session listener is not removed. --- __tests__/components/providers/auth.test.tsx | 27 +++++--------------- agent_docs/architecture.md | 2 +- app.config.ts | 2 +- docs/src/content/docs/guides/navigation.mdx | 2 +- src/components/providers/auth.tsx | 7 ----- 5 files changed, 9 insertions(+), 31 deletions(-) diff --git a/__tests__/components/providers/auth.test.tsx b/__tests__/components/providers/auth.test.tsx index a6611e998..65a070538 100644 --- a/__tests__/components/providers/auth.test.tsx +++ b/__tests__/components/providers/auth.test.tsx @@ -1,12 +1,12 @@ import { act, renderHook } from '@testing-library/react-hooks'; import { waitFor } from '@testing-library/react-native'; import dayjs from 'dayjs'; -import { AppState } from 'react-native'; import { Text, TouchableOpacity, View } from '@/components/ui'; import { fireEvent, render, screen } from '@/lib/test-utils'; import { + authStorage, AuthProvider, clearTokens, getTokenDetails, @@ -27,10 +27,6 @@ jest.mock('@/api', () => ({ }, })); -const mockAddAppStateListener = jest - .spyOn(AppState, 'addEventListener') - .mockImplementation(() => ({ remove: jest.fn() })); - const TestComponent = () => { const { token, isAuthenticated, loading, ready, logout } = useAuth(); return ( @@ -202,27 +198,16 @@ describe('AuthProvider', () => { clearTokens(); }); - it('logs out when the app returns to the foreground with an expired token', () => { - storeSession(dayjs().add(1, 'hour').toISOString()); - const { result } = renderHook(() => useAuth(), { wrapper: AuthProvider }); - const onAppStateChange = mockAddAppStateListener.mock.calls.at(-1)?.[1]; - - storeSession(mockedExpiryDate); - act(() => onAppStateChange?.('active')); - - expect(result.current.isAuthenticated).toBe(false); - clearTokens(); - }); - it('stops syncing once unmounted', () => { storeSession(dayjs().add(1, 'hour').toISOString()); - const { result, unmount } = renderHook(() => useAuth(), { wrapper: AuthProvider }); + const { unmount } = renderHook(() => useAuth(), { wrapper: AuthProvider }); unmount(); + const getString = jest.spyOn(authStorage, 'getString'); + const readsBeforeSync = getString.mock.calls.length; - storeSession(mockedExpiryDate); + syncSession(); - expect(() => syncSession()).not.toThrow(); - expect(result.current.isAuthenticated).toBe(true); + expect(getString.mock.calls).toHaveLength(readsBeforeSync); clearTokens(); }); diff --git a/agent_docs/architecture.md b/agent_docs/architecture.md index 5d1723787..c1869dc5b 100644 --- a/agent_docs/architecture.md +++ b/agent_docs/architecture.md @@ -46,7 +46,7 @@ A logged-out user who opens a link to a protected screen is sent to sign-in and 1. `src/app/+native-intent.tsx` normalises every incoming link with `toAppPath()` before the router sees it. If `isReturnToPath()` accepts it (an in-app path that, once dot segments and route groups are resolved, matches a route in `AUTHENTICATED_SCREENS` or a tab in `APP_TAB_SCREENS`) and `hasValidSession()` (`src/components/providers/auth.tsx`, the same check `AuthProvider` uses) is false, it calls `syncSession()` so a running `AuthProvider` drops an expired token, stores the link in the pending deep link store (`src/lib/auth/pending-deep-link.ts`) and returns the guard's fallback route (`getFallbackRoute()` with `isAuthenticated: false`) instead of the link. The protected screen is never pushed, so not even its header renders for a logged-out user. When `getIsFirstTime()` is true the fallback is `/onboarding` and the link is discarded. A logged-in user gets the link unchanged. Any other link (public, auth or unknown routes), or one that cannot be parsed, opens unchanged and clears the store so a stale target is never reused. 2. The guards always redirect with `getFallbackRoute()` (`src/lib/auth/get-fallback-route.ts`), so after login the user lands on `/` first. 3. `PendingDeepLinkHandler` in `src/app/_layout.tsx` pushes the pending link once the user is authenticated, `hasValidSession()` agrees, and the tabs (`(app)`) are showing. The linked screen then sits on top of the tabs, so back and swipe-back work. It drops the link when onboarding takes over or the logged-out user leaves the auth screens. -4. `AuthProvider` re-checks the stored token when the app returns to the foreground and whenever `syncSession()` is called, so `isAuthenticated` never stays true for an expired token while `+native-intent` treats the user as logged out. +4. `AuthProvider` re-checks the stored token whenever `syncSession()` is called, so `isAuthenticated` does not stay true for an expired token once `+native-intent` has treated the user as logged out. --- diff --git a/app.config.ts b/app.config.ts index f17fed7b4..8d46895d9 100644 --- a/app.config.ts +++ b/app.config.ts @@ -35,7 +35,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({ url: `https://u.expo.dev/${Env.EAS_PROJECT_ID}`, }, runtimeVersion: { - policy: 'fingerprint', + policy: 'appVersion', }, assetBundlePatterns: ['**/*'], ios: { diff --git a/docs/src/content/docs/guides/navigation.mdx b/docs/src/content/docs/guides/navigation.mdx index 76ac36ad0..dc4466dff 100644 --- a/docs/src/content/docs/guides/navigation.mdx +++ b/docs/src/content/docs/guides/navigation.mdx @@ -48,7 +48,7 @@ adb shell am start -W -a android.intent.action.VIEW -d "RootstrapApp.development In app code, read the scheme from `Env.SCHEME` (imported from `@/lib/env`) instead of hardcoding it, so links always match the environment the app was built for. Links configured outside the app (push notification payloads, emails, backend settings or OAuth redirect URIs) must also use the per-environment scheme, such as `RootstrapApp.staging://`, for `development`, `qa` and `staging` builds, or those builds will not open them. -Native builds register the scheme at build time, so the app uses the `fingerprint` runtime version policy: a change to the scheme or any other native config produces a new runtime version, and EAS Update only delivers an update to builds that share it. After changing `SCHEME` or switching to a version of the template with per-environment schemes, rebuild the app (for example `pnpm prebuild:staging`, or a new EAS build) before testing links. When you create a project with `create-rootstrap-rn-app`, `RootstrapApp` is replaced with your project name, so the schemes become `` and `.`. +Native builds register the scheme at build time, so after changing `SCHEME` or switching to a version of the template with per-environment schemes, rebuild the app (for example `pnpm prebuild:staging`, or a new EAS build) before testing links. When you create a project with `create-rootstrap-rn-app`, `RootstrapApp` is replaced with your project name, so the schemes become `` and `.`. ## Sitemap route diff --git a/src/components/providers/auth.tsx b/src/components/providers/auth.tsx index f5dc6f11c..244c89c9f 100644 --- a/src/components/providers/auth.tsx +++ b/src/components/providers/auth.tsx @@ -8,7 +8,6 @@ import { useMemo, useState, } from 'react'; -import { AppState } from 'react-native'; import { createMMKV } from 'react-native-mmkv'; import { client } from '@/api'; @@ -150,11 +149,6 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ setReady(true); } sessionListeners.add(checkToken); - const appStateSubscription = AppState.addEventListener('change', (state) => { - if (state === 'active') { - checkToken(); - } - }); const requestInterceptor = client.interceptors.response.use( (config) => { if (config.status === unauthorizedHttpStatusCode) { @@ -168,7 +162,6 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ return () => { sessionListeners.delete(checkToken); - appStateSubscription.remove(); client.interceptors.request.eject(requestInterceptor); }; }, [checkToken]); From 59fa8345120e3a43843925698ef1879cc14d25ca Mon Sep 17 00:00:00 2001 From: Fernanda Toledo Date: Mon, 30 Nov 2026 11:23:20 -0300 Subject: [PATCH 07/11] fix(auth): push the checked return-to path, remember links on web and fix sonar gate - Store and push the normalized path from toReturnToPath(), so the router opens the screen that was validated (/%28app%29/settings opens /settings). - Move the link handling into rememberProtectedLink() and call it once at startup on web, where +native-intent does not run. - Turn PendingDeepLinkHandler into the useOpenPendingDeepLink hook, clearing the typescript:S100 issue that pushed new_minor_violations over the gate. --- REVIEW.md | 2 +- __tests__/app/native-intent.test.ts | 28 +++++++++++- __tests__/app/root-layout.test.tsx | 56 +++++++++++++++++++++++ __tests__/lib/auth/deep-link-path.test.ts | 24 ++++++++++ agent_docs/architecture.md | 4 +- src/app/+native-intent.tsx | 20 ++++---- src/app/_layout.tsx | 21 +++++---- src/lib/auth/deep-link-path.ts | 15 ++++-- 8 files changed, 145 insertions(+), 25 deletions(-) diff --git a/REVIEW.md b/REVIEW.md index e996762bf..74360f058 100644 --- a/REVIEW.md +++ b/REVIEW.md @@ -20,7 +20,7 @@ Code review guidelines for human teammates and AI agents. All categories are gro - Tokens must be stored exclusively via `storeTokens()` and read via `getTokenDetails()` from `src/components/providers/auth.tsx`. Never store auth tokens in plain React state, `AsyncStorage`, or the general `storage` instance from `src/lib/storage.tsx`. - All routes that require a logged-in user must be declared under the `Stack.Protected` with `guard={isAuthenticated}` in `src/app/_layout.tsx`, either through the `(app)/` group or as a stack screen of their own (e.g. `feed/[id]`). Never replicate this guard inside individual screen files. - Screens under the authenticated and logged-out guards are rendered from `AUTHENTICATED_SCREENS` / `AUTH_SCREENS` in `src/lib/auth/deep-link-path.ts`. Add, move or remove a guarded screen there (and its options in `GUARDED_SCREEN_OPTIONS` in `src/app/_layout.tsx`), never as a hand-written `Stack.Screen` inside those guards. -- Pending deep links are only stored by `src/app/+native-intent.tsx` and only opened by `PendingDeepLinkHandler` in `src/app/_layout.tsx`, which pushes them on top of the tabs once the user is authenticated. The guards always redirect an authenticated user to `/`, never to the pending link, so the linked screen keeps a back stack. For a logged-out user, `+native-intent` must return the guard's fallback route instead of a protected link, so the protected screen is never pushed; the `Stack.Protected` guards alone redirect only after the screen is mounted. Never navigate to a pending link directly from a screen. Only routes listed in `AUTHENTICATED_SCREENS` or `APP_TAB_SCREENS` can become a return-to target, so a new route file must be added to one of those lists, `AUTH_SCREENS`, or the public list in the route classification test. +- Pending deep links are only stored by `rememberProtectedLink()` in `src/app/+native-intent.tsx` (called by `redirectSystemPath` on native, and once at startup from `src/app/_layout.tsx` on web) and only opened by `useOpenPendingDeepLink` in `src/app/_layout.tsx`, which pushes them on top of the tabs once the user is authenticated. Always store and push the path `toReturnToPath()` returns, never the raw link, so the screen that opens is the one that was checked. The guards always redirect an authenticated user to `/`, never to the pending link, so the linked screen keeps a back stack. For a logged-out user, `+native-intent` must return the guard's fallback route instead of a protected link, so the protected screen is never pushed; the `Stack.Protected` guards alone redirect only after the screen is mounted. Never navigate to a pending link directly from a screen. Only routes listed in `AUTHENTICATED_SCREENS` or `APP_TAB_SCREENS` can become a return-to target, so a new route file must be added to one of those lists, `AUTH_SCREENS`, or the public list in the route classification test. - Verify that API calls are not triggered before `ready === true` from `AuthProvider`. Until `ready` is true, the auth state is not yet hydrated from MMKV. - Token expiry must be evaluated using `dayjs` comparison against the ISO string stored in `authStorage` — do not compare raw Unix timestamps or use `Date` directly. diff --git a/__tests__/app/native-intent.test.ts b/__tests__/app/native-intent.test.ts index 230805240..bf8fff9d2 100644 --- a/__tests__/app/native-intent.test.ts +++ b/__tests__/app/native-intent.test.ts @@ -1,7 +1,7 @@ import { act, renderHook } from '@testing-library/react-native'; import dayjs from 'dayjs'; -import { redirectSystemPath } from '@/app/+native-intent'; +import { redirectSystemPath, rememberProtectedLink } from '@/app/+native-intent'; import { AuthProvider, clearTokens, storeTokens, useAuth } from '@/components/providers/auth'; import { clearPendingDeepLink, setPendingDeepLink, usePendingDeepLink } from '@/lib/auth/pending-deep-link'; import { storage } from '@/lib/storage'; @@ -52,6 +52,11 @@ describe('redirectSystemPath', () => { expect(pendingDeepLink()).toBe('/feed/1?ref=email'); }); + it('remembers the link in the form the router can open', () => { + expect(redirectSystemPath({ path: 'RootstrapApp://%28app%29/settings', initial: false })).toBe('/sign-in'); + expect(pendingDeepLink()).toBe('/settings'); + }); + it('treats an expired session as logged out', () => { logIn(dayjs().subtract(1, 'minute').toISOString()); @@ -154,3 +159,24 @@ describe('redirectSystemPath', () => { expect(pendingDeepLink()).toBeNull(); }); }); + +describe('rememberProtectedLink', () => { + beforeEach(() => { + clearTokens(); + clearPendingDeepLink(); + completeOnboarding(); + }); + + it('remembers a protected web page for a logged-out visitor', () => { + expect(rememberProtectedLink('http://localhost:8081/feed/1?ref=email')).toBe('/sign-in'); + expect(pendingDeepLink()).toBe('/feed/1?ref=email'); + }); + + it('remembers nothing for a logged-in visitor', () => { + logIn(); + setPendingDeepLink('/feed/2'); + + expect(rememberProtectedLink('http://localhost:8081/feed/1')).toBeNull(); + expect(pendingDeepLink()).toBeNull(); + }); +}); diff --git a/__tests__/app/root-layout.test.tsx b/__tests__/app/root-layout.test.tsx index fc045a719..e9ce2bd0b 100644 --- a/__tests__/app/root-layout.test.tsx +++ b/__tests__/app/root-layout.test.tsx @@ -2,6 +2,7 @@ import type { ReactElement, ReactNode } from 'react'; import { Stack } from 'expo-router'; import { hideAsync } from 'expo-splash-screen'; import { Children, isValidElement } from 'react'; +import { Platform } from 'react-native'; import RootLayout from '@/app/_layout'; import { hasValidSession, useAuth } from '@/components/providers/auth'; @@ -46,10 +47,12 @@ jest.mock('expo-router', () => { jest.mock('@/components/providers/auth', () => ({ AuthProvider: ({ children }: { children: ReactNode }) => children, hasValidSession: jest.fn(), + syncSession: jest.fn(), useAuth: jest.fn(), })); jest.mock('@/lib/hooks/use-is-first-time', () => ({ + getIsFirstTime: jest.fn(() => false), useIsFirstTime: jest.fn(), })); @@ -216,6 +219,23 @@ describe('RootLayout guards', () => { }, ); + it.each([ + ['/%28app%29/settings', '/settings'], + ['/(app)/style', '/style'], + ['/sign-in/../feed/1', '/feed/1'], + ['/feed/./1?ref=email', '/feed/1?ref=email'], + ['/feed/%2F%2Fexample.com', '/feed/%2F%2Fexample.com'], + ])('opens the pending link %s as %s after login', (pendingPath, expected) => { + setPendingDeepLink(pendingPath); + render(); + + setAuthenticated(true); + rerenderAt(['(app)']); + + expect(mockPush).toHaveBeenCalledTimes(1); + expect(mockPush).toHaveBeenCalledWith(expected); + }); + it('shows onboarding first and discards the pending link', () => { mockUseIsFirstTime.mockReturnValue([true, jest.fn()]); setPendingDeepLink('/feed/1'); @@ -301,3 +321,39 @@ describe('RootLayout while auth is hydrating', () => { expect(mockHideSplash).toHaveBeenCalledTimes(1); }); }); + +describe('RootLayout on web', () => { + const originalOS = Platform.OS; + const originalLocation = Object.getOwnPropertyDescriptor(globalThis, 'location'); + + function openOnWeb(href: string) { + Object.defineProperty(globalThis, 'location', { configurable: true, value: { href } }); + let path: string | null = null; + jest.isolateModules(() => { + const { Platform: isolatedPlatform } = jest.requireActual('react-native'); + Object.defineProperty(isolatedPlatform, 'OS', { configurable: true, get: () => 'web' }); + require('@/app/_layout'); + const { usePendingDeepLink: isolatedStore } = jest.requireActual('@/lib/auth/pending-deep-link'); + path = isolatedStore.getState().path; + }); + return path; + } + + afterEach(() => { + Object.defineProperty(Platform, 'OS', { configurable: true, get: () => originalOS }); + if (originalLocation === undefined) { + Reflect.deleteProperty(globalThis, 'location'); + } + else { + Object.defineProperty(globalThis, 'location', originalLocation); + } + }); + + it('remembers the protected page a logged-out visitor opened', () => { + expect(openOnWeb('http://localhost:8081/feed/1?ref=email')).toBe('/feed/1?ref=email'); + }); + + it('remembers nothing for a public page', () => { + expect(openOnWeb('http://localhost:8081/sign-up')).toBeNull(); + }); +}); diff --git a/__tests__/lib/auth/deep-link-path.test.ts b/__tests__/lib/auth/deep-link-path.test.ts index ebb5a7d40..55b7ad585 100644 --- a/__tests__/lib/auth/deep-link-path.test.ts +++ b/__tests__/lib/auth/deep-link-path.test.ts @@ -9,6 +9,7 @@ import { isOnScreen, isReturnToPath, toAppPath, + toReturnToPath, } from '@/lib/auth/deep-link-path'; describe('toAppPath', () => { @@ -142,6 +143,29 @@ describe('isReturnToPath', () => { }); }); +describe('toReturnToPath', () => { + it.each([ + ['/feed/1', '/feed/1'], + ['/feed/1?ref=email', '/feed/1?ref=email'], + ['/%28app%29/settings', '/settings'], + ['/(app)/style', '/style'], + ['/sign-in/../feed/1', '/feed/1'], + ['/feed/./1', '/feed/1'], + ['/feed/%61dd-post', '/feed/add-post'], + ['/feed/%2F%2Fexample.com', '/feed/%2F%2Fexample.com'], + ['/feed/caf%C3%A9', '/feed/caf%C3%A9'], + ])('opens %s as %s', (path, expected) => { + expect(toReturnToPath(path)).toBe(expected); + }); + + it.each(['/', '/sign-in', '/../sign-in', '/feed', '//example.com/x', 'https://example.com/feed/1'])( + 'has no return-to path for %s', + (path) => { + expect(toReturnToPath(path)).toBeNull(); + }, + ); +}); + describe('isOnScreen', () => { it.each([ [['sign-in'], AUTH_SCREENS], diff --git a/agent_docs/architecture.md b/agent_docs/architecture.md index c1869dc5b..a42fe01b5 100644 --- a/agent_docs/architecture.md +++ b/agent_docs/architecture.md @@ -43,9 +43,9 @@ Route guards are centralised in `src/app/_layout.tsx`. The `GuardedStack` compon A logged-out user who opens a link to a protected screen is sent to sign-in and lands on that screen after logging in: -1. `src/app/+native-intent.tsx` normalises every incoming link with `toAppPath()` before the router sees it. If `isReturnToPath()` accepts it (an in-app path that, once dot segments and route groups are resolved, matches a route in `AUTHENTICATED_SCREENS` or a tab in `APP_TAB_SCREENS`) and `hasValidSession()` (`src/components/providers/auth.tsx`, the same check `AuthProvider` uses) is false, it calls `syncSession()` so a running `AuthProvider` drops an expired token, stores the link in the pending deep link store (`src/lib/auth/pending-deep-link.ts`) and returns the guard's fallback route (`getFallbackRoute()` with `isAuthenticated: false`) instead of the link. The protected screen is never pushed, so not even its header renders for a logged-out user. When `getIsFirstTime()` is true the fallback is `/onboarding` and the link is discarded. A logged-in user gets the link unchanged. Any other link (public, auth or unknown routes), or one that cannot be parsed, opens unchanged and clears the store so a stale target is never reused. +1. On native, `redirectSystemPath` in `src/app/+native-intent.tsx` passes every incoming link to `rememberProtectedLink()` before the router sees it. That function turns the link into an app path with `toAppPath()`, then into a return-to path with `toReturnToPath()`: an in-app path that, once dot segments and route groups are resolved, matches a route in `AUTHENTICATED_SCREENS` or a tab in `APP_TAB_SCREENS`, rebuilt from those resolved segments so the router opens exactly the screen that was checked. If there is one and `hasValidSession()` (`src/components/providers/auth.tsx`, the same check `AuthProvider` uses) is false, it calls `syncSession()` so a running `AuthProvider` drops an expired token, stores that return-to path in the pending deep link store (`src/lib/auth/pending-deep-link.ts`) and returns the guard's fallback route (`getFallbackRoute()` with `isAuthenticated: false`) instead of the link. The protected screen is never pushed, so not even its header renders for a logged-out user. When `getIsFirstTime()` is true the fallback is `/onboarding` and the link is discarded. A logged-in user gets the link unchanged. Any other link (public, auth or unknown routes), or one that cannot be parsed, opens unchanged and clears the store so a stale target is never reused. On web there is no native intent: `src/app/_layout.tsx` calls `rememberProtectedLink()` once at startup with `window.location.href`, and the `Stack.Protected` guard does the redirect to sign-in. 2. The guards always redirect with `getFallbackRoute()` (`src/lib/auth/get-fallback-route.ts`), so after login the user lands on `/` first. -3. `PendingDeepLinkHandler` in `src/app/_layout.tsx` pushes the pending link once the user is authenticated, `hasValidSession()` agrees, and the tabs (`(app)`) are showing. The linked screen then sits on top of the tabs, so back and swipe-back work. It drops the link when onboarding takes over or the logged-out user leaves the auth screens. +3. `useOpenPendingDeepLink`, called by `GuardedStack` in `src/app/_layout.tsx`, pushes the pending link once the user is authenticated, `hasValidSession()` agrees, and the tabs (`(app)`) are showing. The linked screen then sits on top of the tabs, so back and swipe-back work. It drops the link when onboarding takes over or the logged-out user leaves the auth screens. 4. `AuthProvider` re-checks the stored token whenever `syncSession()` is called, so `isAuthenticated` does not stay true for an expired token once `+native-intent` has treated the user as logged out. --- diff --git a/src/app/+native-intent.tsx b/src/app/+native-intent.tsx index dd9d0fe8c..54552c401 100644 --- a/src/app/+native-intent.tsx +++ b/src/app/+native-intent.tsx @@ -1,19 +1,19 @@ -import type { NativeIntent } from 'expo-router'; +import type { Href, NativeIntent } from 'expo-router'; import { hasValidSession, syncSession } from '@/components/providers/auth'; -import { isReturnToPath, toAppPath } from '@/lib/auth/deep-link-path'; +import { toAppPath, toReturnToPath } from '@/lib/auth/deep-link-path'; import { getFallbackRoute } from '@/lib/auth/get-fallback-route'; import { clearPendingDeepLink, setPendingDeepLink } from '@/lib/auth/pending-deep-link'; import { getIsFirstTime } from '@/lib/hooks/use-is-first-time'; type RedirectSystemPathEvent = Parameters>[0]; -export function redirectSystemPath({ path }: RedirectSystemPathEvent): string { +export function rememberProtectedLink(url: string): Extract | null { try { - const appPath = toAppPath(path); - if (!isReturnToPath(appPath) || hasValidSession()) { + const returnTo = toReturnToPath(toAppPath(url)); + if (returnTo === null || hasValidSession()) { clearPendingDeepLink(); - return path; + return null; } syncSession(); @@ -22,12 +22,16 @@ export function redirectSystemPath({ path }: RedirectSystemPathEvent): string { clearPendingDeepLink(); } else { - setPendingDeepLink(appPath); + setPendingDeepLink(returnTo); } return getFallbackRoute({ isFirstTime, isAuthenticated: false }); } catch { clearPendingDeepLink(); - return path; + return null; } } + +export function redirectSystemPath({ path }: RedirectSystemPathEvent): string { + return rememberProtectedLink(path) ?? path; +} diff --git a/src/app/_layout.tsx b/src/app/_layout.tsx index e44cafe69..6044763d2 100644 --- a/src/app/_layout.tsx +++ b/src/app/_layout.tsx @@ -4,18 +4,19 @@ import { BottomSheetModalProvider } from '@gorhom/bottom-sheet'; import { Stack, ThemeProvider, useRouter, useSegments } from 'expo-router'; import * as SplashScreen from 'expo-splash-screen'; import * as React from 'react'; -import { StyleSheet } from 'react-native'; +import { Platform, StyleSheet } from 'react-native'; import FlashMessage from 'react-native-flash-message'; import { GestureHandlerRootView } from 'react-native-gesture-handler'; import { KeyboardProvider } from 'react-native-keyboard-controller'; import { APIProvider } from '@/api'; import interceptors from '@/api/common/interceptors'; +import { rememberProtectedLink } from '@/app/+native-intent'; import { AnalyticsProvider } from '@/components/providers/analytics'; import { useAnalyticsScreenTracking, useAnalyticsSessionReset } from '@/components/providers/analytics-tracking'; import { AuthProvider, hasValidSession, useAuth } from '@/components/providers/auth'; import { consoleAnalyticsProvider, hydrateAuth, loadSelectedTheme, useIsFirstTime } from '@/lib'; -import { AUTH_SCREENS, AUTHENTICATED_SCREENS, isOnScreen, isReturnToPath } from '@/lib/auth/deep-link-path'; +import { AUTH_SCREENS, AUTHENTICATED_SCREENS, isOnScreen, toReturnToPath } from '@/lib/auth/deep-link-path'; import { getFallbackRoute } from '@/lib/auth/get-fallback-route'; import { clearPendingDeepLink, usePendingDeepLink } from '@/lib/auth/pending-deep-link'; import { useSyncLanguageWithOS } from '@/lib/i18n'; @@ -32,6 +33,9 @@ export const unstable_settings = { hydrateAuth(); loadSelectedTheme(); interceptors(); +if (Platform.OS === 'web' && typeof window !== 'undefined') { + rememberProtectedLink(window.location.href); +} // Analytics providers the app reports to. Add real vendor adapters here. const analyticsProviders = [consoleAnalyticsProvider]; // Prevent the splash screen from auto-hiding before asset loading is complete. @@ -59,10 +63,8 @@ function AnalyticsTrackers() { return null; } -function PendingDeepLinkHandler() { +function useOpenPendingDeepLink({ isAuthenticated, isFirstTime }: { isAuthenticated: boolean; isFirstTime: boolean }) { const router = useRouter(); - const { isAuthenticated } = useAuth(); - const [isFirstTime] = useIsFirstTime(); const segments: ReadonlyArray = useSegments(); const pendingDeepLink = usePendingDeepLink.use.path(); @@ -76,8 +78,9 @@ function PendingDeepLinkHandler() { } if (isAuthenticated && hasValidSession() && segments[0] === '(app)') { clearPendingDeepLink(); - if (isReturnToPath(pendingDeepLink)) { - router.push(pendingDeepLink); + const returnTo = toReturnToPath(pendingDeepLink); + if (returnTo !== null) { + router.push(returnTo); } return; } @@ -88,19 +91,17 @@ function PendingDeepLinkHandler() { clearPendingDeepLink(); } }, [isAuthenticated, isFirstTime, pendingDeepLink, router, segments]); - - return null; } function GuardedStack() { const { isAuthenticated } = useAuth(); const [isFirstTime] = useIsFirstTime(); const fallbackRoute = getFallbackRoute({ isFirstTime, isAuthenticated }); + useOpenPendingDeepLink({ isAuthenticated, isFirstTime }); return ( <> - diff --git a/src/lib/auth/deep-link-path.ts b/src/lib/auth/deep-link-path.ts index ae5b5f26a..cf85521dc 100644 --- a/src/lib/auth/deep-link-path.ts +++ b/src/lib/auth/deep-link-path.ts @@ -75,12 +75,21 @@ function matchesRoute(segments: ReadonlyArray, route: ReadonlyArray DYNAMIC_SEGMENT.test(part) || part === segments[index]); } -export function isReturnToPath(path: string): path is Extract { +export function toReturnToPath(path: string): Extract | null { if (!isInAppPath(path)) { - return false; + return null; } const segments = getRouteSegments(path); - return RETURN_TO_ROUTES.some(route => matchesRoute(segments, route)); + if (!RETURN_TO_ROUTES.some(route => matchesRoute(segments, route))) { + return null; + } + const queryIndex = path.indexOf('?'); + const query = queryIndex === -1 ? '' : path.slice(queryIndex); + return `/${segments.map(encodeURIComponent).join('/')}${query}`; +} + +export function isReturnToPath(path: string): path is Extract { + return toReturnToPath(path) !== null; } export function isOnScreen(segments: ReadonlyArray, screens: ReadonlyArray): boolean { From d8759d94b106ad85600407d1c1c451b3c8334d4c Mon Sep 17 00:00:00 2001 From: Fernanda Toledo Date: Mon, 30 Nov 2026 11:30:58 -0300 Subject: [PATCH 08/11] test(auth): cover encoded dot segments in return-to paths --- __tests__/lib/auth/deep-link-path.test.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/__tests__/lib/auth/deep-link-path.test.ts b/__tests__/lib/auth/deep-link-path.test.ts index 55b7ad585..04ba36a3f 100644 --- a/__tests__/lib/auth/deep-link-path.test.ts +++ b/__tests__/lib/auth/deep-link-path.test.ts @@ -154,11 +154,23 @@ describe('toReturnToPath', () => { ['/feed/%61dd-post', '/feed/add-post'], ['/feed/%2F%2Fexample.com', '/feed/%2F%2Fexample.com'], ['/feed/caf%C3%A9', '/feed/caf%C3%A9'], + ['/feed/%252e%252e', '/feed/%252e%252e'], ])('opens %s as %s', (path, expected) => { expect(toReturnToPath(path)).toBe(expected); }); - it.each(['/', '/sign-in', '/../sign-in', '/feed', '//example.com/x', 'https://example.com/feed/1'])( + it.each([ + '/', + '/sign-in', + '/../sign-in', + '/feed', + '/feed/%2e%2e', + '/feed/%2E', + '/feed/.%2e', + '/feed/1/%2e%2e', + '//example.com/x', + 'https://example.com/feed/1', + ])( 'has no return-to path for %s', (path) => { expect(toReturnToPath(path)).toBeNull(); From 3a6b631756ec541e63bbaba8f12d81bd92f4087c Mon Sep 17 00:00:00 2001 From: Lucas Raposeiras Date: Wed, 2 Dec 2026 15:30:51 -0300 Subject: [PATCH 09/11] feat(auth): return to deep links after onboarding and login, add universal links --- .maestro/auth/login-with-validation.yaml | 2 +- .maestro/auth/onboarding.yaml | 6 +- .maestro/config.yaml | 2 + .maestro/deep-links/first-launch.yaml | 21 ++++++ .maestro/deep-links/return-to.yaml | 50 ++++++++++++ .maestro/deep-links/universal-link.yaml | 25 ++++++ .maestro/utils/assert-post-opened.yaml | 13 ++++ .maestro/utils/dismiss-password-prompt.yaml | 15 ++++ .maestro/utils/onboarding-and-login.yaml | 2 +- .maestro/utils/onboarding.yaml | 6 +- .maestro/utils/submit-login.yaml | 15 ++++ __tests__/app/feed-post.test.tsx | 23 ++++++ __tests__/app/native-intent.test.ts | 43 ++++++++++- __tests__/app/root-layout.test.tsx | 23 +++++- __tests__/env.test.ts | 36 ++++++++- agent_docs/architecture.md | 4 +- app.config.ts | 84 ++++++++++++++------- docs/src/content/docs/guides/navigation.mdx | 33 +++++--- env.js | 30 +++++++- package.json | 2 +- src/app/+native-intent.tsx | 11 +-- src/app/_layout.tsx | 13 ++-- src/app/feed/[id].tsx | 16 +++- src/lib/auth/deep-link-path.ts | 2 + 24 files changed, 401 insertions(+), 76 deletions(-) create mode 100644 .maestro/deep-links/first-launch.yaml create mode 100644 .maestro/deep-links/return-to.yaml create mode 100644 .maestro/deep-links/universal-link.yaml create mode 100644 .maestro/utils/assert-post-opened.yaml create mode 100644 .maestro/utils/dismiss-password-prompt.yaml create mode 100644 .maestro/utils/submit-login.yaml create mode 100644 __tests__/app/feed-post.test.tsx diff --git a/.maestro/auth/login-with-validation.yaml b/.maestro/auth/login-with-validation.yaml index 5cb1fdb69..b5008d653 100644 --- a/.maestro/auth/login-with-validation.yaml +++ b/.maestro/auth/login-with-validation.yaml @@ -7,7 +7,7 @@ env: - launchApp - runFlow: when: - visible: Obytes Starter + visible: React Native Template file: ../utils/onboarding.yaml - assertVisible: Sign In - assertVisible: diff --git a/.maestro/auth/onboarding.yaml b/.maestro/auth/onboarding.yaml index d3adc8e7b..2474f1d4e 100644 --- a/.maestro/auth/onboarding.yaml +++ b/.maestro/auth/onboarding.yaml @@ -2,7 +2,7 @@ appId: ${APP_ID} --- - clearState - launchApp -- assertVisible: Obytes Starter -- assertVisible: "Let's Get Started " -- tapOn: "Let's Get Started " +- assertVisible: React Native Template +- assertVisible: "Let's Get Started" +- tapOn: "Let's Get Started" - assertVisible: Sign In diff --git a/.maestro/config.yaml b/.maestro/config.yaml index 01923b3d0..d074878d7 100644 --- a/.maestro/config.yaml +++ b/.maestro/config.yaml @@ -1,9 +1,11 @@ flows: - auth/* - app/* + - deep-links/* excludeTags: - util + - universal-link # needs asdolo.dev verified, run with `maestro test --include-tags=universal-link` executionOrder: continueOnFailure: false # default is true diff --git a/.maestro/deep-links/first-launch.yaml b/.maestro/deep-links/first-launch.yaml new file mode 100644 index 000000000..a26e1a4b7 --- /dev/null +++ b/.maestro/deep-links/first-launch.yaml @@ -0,0 +1,21 @@ +appId: ${APP_ID} +env: + LINK: ${SCHEME}://feed/42?ref=email&utm=a%20b +--- +# A link opened on a fresh install goes through onboarding and sign-in before it opens +# A password manager prompt left by a previous run would cover the app +- runFlow: ../utils/dismiss-password-prompt.yaml +- clearState +- openLink: ${LINK} +- assertVisible: React Native Template +- tapOn: Let's Get Started +- assertVisible: + id: login-notice +- runFlow: ../utils/submit-login.yaml +- runFlow: ../utils/assert-post-opened.yaml +- assertVisible: + id: post-params + text: '.*ref.*email.*' +- assertVisible: + id: post-params + text: '.*utm.*a b.*' diff --git a/.maestro/deep-links/return-to.yaml b/.maestro/deep-links/return-to.yaml new file mode 100644 index 000000000..6e356fdc1 --- /dev/null +++ b/.maestro/deep-links/return-to.yaml @@ -0,0 +1,50 @@ +appId: ${APP_ID} +env: + LINK: ${SCHEME}://feed/42?ref=email&utm=a%20b +--- +# A prompt left by a previous run would cover the app +- runFlow: ../utils/dismiss-password-prompt.yaml +- clearState +# Finish onboarding, then close the app so the link below is a cold start +- launchApp +- runFlow: ../utils/onboarding.yaml +- assertVisible: Sign In +- stopApp + +# Logged out, cold start: sign-in asks for the login, then opens the post with its params +- openLink: ${LINK} +- assertVisible: + id: login-notice +- runFlow: ../utils/submit-login.yaml +- runFlow: ../utils/assert-post-opened.yaml +- assertVisible: + id: post-params + text: '.*ref.*email.*' +- assertVisible: + id: post-params + text: '.*utm.*a b.*' + +# Logged in: the same link opens the post straight away +- stopApp +- openLink: ${LINK} +- assertVisible: + id: post-id + text: 'id: 42' +- assertNotVisible: + id: login-notice + +# Logged out, warm start: log out, open the link while the app is running +- launchApp +- tapOn: + id: settings-tab +- scroll +- tapOn: Logout +- assertVisible: Sign In +- openLink: ${LINK} +- assertVisible: + id: login-notice +- runFlow: ../utils/submit-login.yaml +- runFlow: ../utils/assert-post-opened.yaml +- assertVisible: + id: post-params + text: '.*ref.*email.*' diff --git a/.maestro/deep-links/universal-link.yaml b/.maestro/deep-links/universal-link.yaml new file mode 100644 index 000000000..76b1cf549 --- /dev/null +++ b/.maestro/deep-links/universal-link.yaml @@ -0,0 +1,25 @@ +appId: ${APP_ID} +env: + LINK: https://asdolo.dev/feed/42?ref=email&utm=a%20b +tags: + - universal-link +--- +# Needs the app verified for asdolo.dev (assetlinks.json / apple-app-site-association hosted there) +# A password manager prompt left by a previous run would cover the app +- runFlow: ../utils/dismiss-password-prompt.yaml +- clearState +- launchApp +- runFlow: ../utils/onboarding.yaml +- assertVisible: Sign In +- stopApp +- openLink: ${LINK} +- assertVisible: + id: login-notice +- runFlow: ../utils/submit-login.yaml +- runFlow: ../utils/assert-post-opened.yaml +- assertVisible: + id: post-params + text: '.*ref.*email.*' +- assertVisible: + id: post-params + text: '.*utm.*a b.*' diff --git a/.maestro/utils/assert-post-opened.yaml b/.maestro/utils/assert-post-opened.yaml new file mode 100644 index 000000000..16ae20112 --- /dev/null +++ b/.maestro/utils/assert-post-opened.yaml @@ -0,0 +1,13 @@ +appId: ${APP_ID} +tags: + - util +--- +# A password prompt can appear at any moment after login and hide the app, +# so dismiss it and assert again instead of waiting a fixed time +- retry: + maxRetries: 3 + commands: + - runFlow: ../utils/dismiss-password-prompt.yaml + - assertVisible: + id: post-id + text: 'id: 42' diff --git a/.maestro/utils/dismiss-password-prompt.yaml b/.maestro/utils/dismiss-password-prompt.yaml new file mode 100644 index 000000000..a8b77adfd --- /dev/null +++ b/.maestro/utils/dismiss-password-prompt.yaml @@ -0,0 +1,15 @@ +appId: ${APP_ID} +tags: + - util +--- +# Password managers and the OS can show a "save password" prompt that covers the app +- runFlow: + when: + visible: No, thanks + commands: + - tapOn: No, thanks +- runFlow: + when: + visible: Not Now + commands: + - tapOn: Not Now diff --git a/.maestro/utils/onboarding-and-login.yaml b/.maestro/utils/onboarding-and-login.yaml index 190ede9ad..0fddf23f4 100644 --- a/.maestro/utils/onboarding-and-login.yaml +++ b/.maestro/utils/onboarding-and-login.yaml @@ -4,7 +4,7 @@ tags: --- - runFlow: when: - visible: Obytes Starter + visible: React Native Template file: onboarding.yaml - runFlow: when: diff --git a/.maestro/utils/onboarding.yaml b/.maestro/utils/onboarding.yaml index 5562d77f2..11d4dab93 100644 --- a/.maestro/utils/onboarding.yaml +++ b/.maestro/utils/onboarding.yaml @@ -2,7 +2,7 @@ appId: ${APP_ID} tags: - util --- -- assertVisible: Obytes Starter -- assertVisible: "Let's Get Started " -- tapOn: "Let's Get Started " +- assertVisible: React Native Template +- assertVisible: "Let's Get Started" +- tapOn: "Let's Get Started" - assertVisible: Sign In diff --git a/.maestro/utils/submit-login.yaml b/.maestro/utils/submit-login.yaml new file mode 100644 index 000000000..65737ca99 --- /dev/null +++ b/.maestro/utils/submit-login.yaml @@ -0,0 +1,15 @@ +appId: ${APP_ID} +tags: + - util +--- +# EMAIL and PASSWORD must be passed with `maestro test -e EMAIL=... -e PASSWORD=...` +- tapOn: + id: email-input +- inputText: ${EMAIL} +- runFlow: ../utils/hide-keyboard.yaml +- tapOn: + id: password-input +- inputText: ${PASSWORD} +- runFlow: ../utils/hide-keyboard.yaml +- tapOn: + id: login-button diff --git a/__tests__/app/feed-post.test.tsx b/__tests__/app/feed-post.test.tsx new file mode 100644 index 000000000..8d49232e6 --- /dev/null +++ b/__tests__/app/feed-post.test.tsx @@ -0,0 +1,23 @@ +import { cleanup, render, screen } from '@/lib/test-utils'; + +import Post from '@/app/feed/[id]'; + +const mockParams = jest.fn(); + +jest.mock('expo-router', () => ({ + Stack: { Screen: () => null }, + useIsFocused: () => true, + useLocalSearchParams: () => mockParams(), +})); + +afterEach(cleanup); + +describe('post screen', () => { + it('shows the id and the rest of the params', () => { + mockParams.mockReturnValue({ id: '42', ref: 'email', utm: 'a b', tag: ['x', 'y'] }); + render(); + + expect(screen.getByTestId('post-id')).toHaveTextContent('id: 42'); + expect(screen.getByTestId('post-params')).toHaveTextContent('params: {"ref":"email","utm":"a b","tag":["x","y"]}'); + }); +}); diff --git a/__tests__/app/native-intent.test.ts b/__tests__/app/native-intent.test.ts index bf8fff9d2..ecb0e719e 100644 --- a/__tests__/app/native-intent.test.ts +++ b/__tests__/app/native-intent.test.ts @@ -78,12 +78,12 @@ describe('redirectSystemPath', () => { expect(pendingDeepLink()).toBe('/feed/add-post'); }); - it('sends a protected link to onboarding on first launch and forgets it', () => { + it('sends a protected link to onboarding on first launch and remembers it for after login', () => { storage.remove('IS_FIRST_TIME'); setPendingDeepLink('/feed/1'); - expect(redirectSystemPath({ path: 'RootstrapApp://feed/add-post', initial: true })).toBe('/onboarding'); - expect(pendingDeepLink()).toBeNull(); + expect(redirectSystemPath({ path: 'rootstrapapp.development://feed/42?ref=email', initial: true })).toBe('/onboarding'); + expect(pendingDeepLink()).toBe('/feed/42?ref=email'); }); }); @@ -180,3 +180,40 @@ describe('rememberProtectedLink', () => { expect(pendingDeepLink()).toBeNull(); }); }); + +describe('redirectSystemPath with every scheme and universal links', () => { + beforeEach(() => { + clearTokens(); + clearPendingDeepLink(); + completeOnboarding(); + }); + + it.each([ + 'RootstrapApp://feed/42?ref=email&utm=a%20b&tag=x&tag=y', + 'RootstrapApp.development://feed/42?ref=email&utm=a%20b&tag=x&tag=y', + 'RootstrapApp.qa://feed/42?ref=email&utm=a%20b&tag=x&tag=y', + 'RootstrapApp.staging://feed/42?ref=email&utm=a%20b&tag=x&tag=y', + 'rootstrapapp.development://feed/42?ref=email&utm=a%20b&tag=x&tag=y', + 'https://asdolo.dev/feed/42?ref=email&utm=a%20b&tag=x&tag=y', + 'http://asdolo.dev/feed/42?ref=email&utm=a%20b&tag=x&tag=y', + ])('keeps the whole query of %s for the return trip', (path) => { + expect(redirectSystemPath({ path, initial: false })).toBe('/sign-in'); + expect(pendingDeepLink()).toBe('/feed/42?ref=email&utm=a%20b&tag=x&tag=y'); + }); + + it.each([ + ['RootstrapApp.development://feed/hello%20world', '/feed/hello%20world'], + ['https://asdolo.dev/feed/hello%20world?ref=email', '/feed/hello%20world?ref=email'], + ])('keeps an encoded id in %s', (path, expected) => { + expect(redirectSystemPath({ path, initial: false })).toBe('/sign-in'); + expect(pendingDeepLink()).toBe(expected); + }); + + it('opens a universal link to a protected screen unchanged for a logged-in user', () => { + logIn(); + const path = 'https://asdolo.dev/feed/42?ref=email'; + + expect(redirectSystemPath({ path, initial: true })).toBe(path); + expect(pendingDeepLink()).toBeNull(); + }); +}); diff --git a/__tests__/app/root-layout.test.tsx b/__tests__/app/root-layout.test.tsx index e9ce2bd0b..e6dadc16c 100644 --- a/__tests__/app/root-layout.test.tsx +++ b/__tests__/app/root-layout.test.tsx @@ -236,12 +236,33 @@ describe('RootLayout guards', () => { expect(mockPush).toHaveBeenCalledWith(expected); }); - it('shows onboarding first and discards the pending link', () => { + it('shows onboarding first and keeps the pending link', () => { mockUseIsFirstTime.mockReturnValue([true, jest.fn()]); + mockSegments = ['onboarding']; setPendingDeepLink('/feed/1'); render(); expect(guardFor('feed/[id]').redirectTo).toBe('/onboarding'); + expect(pendingDeepLink()).toBe('/feed/1'); + expect(mockPush).not.toHaveBeenCalled(); + }); + + it('opens the pending link with its params after onboarding and login', () => { + mockUseIsFirstTime.mockReturnValue([true, jest.fn()]); + mockSegments = ['onboarding']; + setPendingDeepLink('/feed/42?ref=email&utm=a%20b'); + render(); + + mockUseIsFirstTime.mockReturnValue([false, jest.fn()]); + rerenderAt(['sign-in']); + + expect(pendingDeepLink()).toBe('/feed/42?ref=email&utm=a%20b'); + + setAuthenticated(true); + rerenderAt(['(app)']); + + expect(mockPush).toHaveBeenCalledTimes(1); + expect(mockPush).toHaveBeenCalledWith('/feed/42?ref=email&utm=a%20b'); expect(pendingDeepLink()).toBeNull(); }); diff --git a/__tests__/env.test.ts b/__tests__/env.test.ts index a0381ccc6..e55cef1af 100644 --- a/__tests__/env.test.ts +++ b/__tests__/env.test.ts @@ -13,6 +13,7 @@ const OTHER_SCRIPT = 'jest'; type EnvModule = { Env: Record; ClientEnv: Record; + parseAssociatedDomains: (value: string | undefined) => Array; }; const loadEnv = ( @@ -66,7 +67,7 @@ describe('env', () => { it('keeps the base scheme in production', () => { const { ClientEnv } = loadEnv(VALID_ENV, RUN_SCRIPT, 'production'); - expect(ClientEnv.SCHEME).toMatch(/^[A-Z][A-Z\d+.-]*$/i); + expect(ClientEnv.SCHEME).toMatch(/^[a-z][a-z\d+.-]*$/); expect(ClientEnv.SCHEME).not.toMatch(/\.(?:development|qa|staging|production)$/); }); @@ -78,6 +79,7 @@ describe('env', () => { const { Env, ClientEnv } = loadEnv(VALID_ENV, RUN_SCRIPT, appEnv); expect(ClientEnv.SCHEME).toBe(`${productionScheme}.${appEnv}`); + expect(ClientEnv.SCHEME).toBe(String(ClientEnv.SCHEME).toLowerCase()); expect(Env.SCHEME).toBe(ClientEnv.SCHEME); }, ); @@ -112,4 +114,36 @@ describe('env', () => { expect(Env.API_URL).toBe('https://api.example.com'); expect(ClientEnv.VAR_NUMBER).toBeUndefined(); }); + + describe('parseAssociatedDomains', () => { + const parse = (value: string | undefined) => + loadEnv(VALID_ENV, OTHER_SCRIPT).parseAssociatedDomains(value); + + it.each([undefined, '', ' ', ' , ,'])('returns no domains for %j', (value) => { + expect(parse(value)).toEqual([]); + }); + + it('keeps a single domain', () => { + expect(parse('asdolo.dev')).toEqual(['asdolo.dev']); + }); + + it('splits a list, trims the entries and ignores empty and repeated ones', () => { + expect(parse(' example.com, www.example.com ,,example.com,*.example.org ')).toEqual([ + 'example.com', + 'www.example.com', + '*.example.org', + ]); + }); + + it.each(['https://example.com', 'example.com/path', 'example.com:8080', 'exa mple.com', 'example.com?x=1'])( + 'throws for %j, which is not a plain host', + (value) => { + expect(() => parse(value)).toThrow(/Invalid ASSOCIATED_DOMAIN entry/); + }, + ); + + it('throws when a single entry of the list is invalid', () => { + expect(() => parse('example.com,https://www.example.com')).toThrow(/https:\/\/www\.example\.com/); + }); + }); }); diff --git a/agent_docs/architecture.md b/agent_docs/architecture.md index a42fe01b5..ae1766244 100644 --- a/agent_docs/architecture.md +++ b/agent_docs/architecture.md @@ -43,9 +43,9 @@ Route guards are centralised in `src/app/_layout.tsx`. The `GuardedStack` compon A logged-out user who opens a link to a protected screen is sent to sign-in and lands on that screen after logging in: -1. On native, `redirectSystemPath` in `src/app/+native-intent.tsx` passes every incoming link to `rememberProtectedLink()` before the router sees it. That function turns the link into an app path with `toAppPath()`, then into a return-to path with `toReturnToPath()`: an in-app path that, once dot segments and route groups are resolved, matches a route in `AUTHENTICATED_SCREENS` or a tab in `APP_TAB_SCREENS`, rebuilt from those resolved segments so the router opens exactly the screen that was checked. If there is one and `hasValidSession()` (`src/components/providers/auth.tsx`, the same check `AuthProvider` uses) is false, it calls `syncSession()` so a running `AuthProvider` drops an expired token, stores that return-to path in the pending deep link store (`src/lib/auth/pending-deep-link.ts`) and returns the guard's fallback route (`getFallbackRoute()` with `isAuthenticated: false`) instead of the link. The protected screen is never pushed, so not even its header renders for a logged-out user. When `getIsFirstTime()` is true the fallback is `/onboarding` and the link is discarded. A logged-in user gets the link unchanged. Any other link (public, auth or unknown routes), or one that cannot be parsed, opens unchanged and clears the store so a stale target is never reused. On web there is no native intent: `src/app/_layout.tsx` calls `rememberProtectedLink()` once at startup with `window.location.href`, and the `Stack.Protected` guard does the redirect to sign-in. +1. On native, `redirectSystemPath` in `src/app/+native-intent.tsx` passes every incoming link to `rememberProtectedLink()` before the router sees it. That function turns the link into an app path with `toAppPath()`, then into a return-to path with `toReturnToPath()`: an in-app path that, once dot segments and route groups are resolved, matches a route in `AUTHENTICATED_SCREENS` or a tab in `APP_TAB_SCREENS`, rebuilt from those resolved segments so the router opens exactly the screen that was checked. If there is one and `hasValidSession()` (`src/components/providers/auth.tsx`, the same check `AuthProvider` uses) is false, it calls `syncSession()` so a running `AuthProvider` drops an expired token, stores that return-to path in the pending deep link store (`src/lib/auth/pending-deep-link.ts`) and returns the guard's fallback route (`getFallbackRoute()` with `isAuthenticated: false`) instead of the link. The protected screen is never pushed, so not even its header renders for a logged-out user. When `getIsFirstTime()` is true the fallback is `/onboarding`, and the link is still remembered for after sign-in. A logged-in user gets the link unchanged. Any other link (public, auth or unknown routes), or one that cannot be parsed, opens unchanged and clears the store so a stale target is never reused. On web there is no native intent: `src/app/_layout.tsx` calls `rememberProtectedLink()` once at startup with `window.location.href`, and the `Stack.Protected` guard does the redirect to sign-in. 2. The guards always redirect with `getFallbackRoute()` (`src/lib/auth/get-fallback-route.ts`), so after login the user lands on `/` first. -3. `useOpenPendingDeepLink`, called by `GuardedStack` in `src/app/_layout.tsx`, pushes the pending link once the user is authenticated, `hasValidSession()` agrees, and the tabs (`(app)`) are showing. The linked screen then sits on top of the tabs, so back and swipe-back work. It drops the link when onboarding takes over or the logged-out user leaves the auth screens. +3. `useOpenPendingDeepLink`, called by `GuardedStack` in `src/app/_layout.tsx`, pushes the pending link once the user is authenticated, `hasValidSession()` agrees, and the tabs (`(app)`) are showing. The linked screen then sits on top of the tabs, so back and swipe-back work. The link survives onboarding on first launch (the user sees onboarding, then sign-in, then the linked screen). It is dropped when the logged-out user leaves onboarding and the auth screens for anywhere else. 4. `AuthProvider` re-checks the stored token whenever `syncSession()` is called, so `isAuthenticated` does not stay true for an expired token once `+native-intent` has treated the user as logged out. --- diff --git a/app.config.ts b/app.config.ts index 8d46895d9..328058d1f 100644 --- a/app.config.ts +++ b/app.config.ts @@ -1,7 +1,7 @@ import type { ConfigContext, ExpoConfig } from '@expo/config'; import type { AppIconBadgeConfig } from 'app-icon-badge/types'; -import { ClientEnv, Env } from './env'; +import { ClientEnv, Env, parseAssociatedDomains } from './env'; const appIconBadgeConfig: AppIconBadgeConfig = { enabled: Env.APP_ENV !== 'production', @@ -19,6 +19,57 @@ const appIconBadgeConfig: AppIconBadgeConfig = { ], }; +const associatedDomains = parseAssociatedDomains(Env.ASSOCIATED_DOMAIN); +const hasAssociatedDomains = associatedDomains.length > 0; + +// mode=developer skips Apple's CDN cache so non-production builds pick up AASA changes right away +const associatedDomainsIOS = hasAssociatedDomains + ? associatedDomains.map(domain => `applinks:${domain}${Env.APP_ENV === 'production' ? '' : '?mode=developer'}`) + : undefined; + +const intentFiltersAndroid = hasAssociatedDomains + ? [ + { + action: 'VIEW', + autoVerify: true, + category: ['BROWSABLE', 'DEFAULT'], + data: associatedDomains.flatMap(host => [ + { scheme: 'https', host }, + { scheme: 'http', host }, + ]), + }, + ] + : undefined; + +const plugins: NonNullable = [ + [ + 'expo-build-properties', + { + ios: { + deploymentTarget: '16.4', + }, + }, + ], + [ + 'expo-splash-screen', + { + backgroundColor: '#000000', + image: './assets/splash-icon.png', + imageWidth: 150, + }, + ], + [ + 'expo-font', + { + fonts: ['./assets/fonts/Inter.ttf'], + }, + ], + 'expo-dev-client', + 'expo-localization', + ['expo-router', { sitemap: Env.APP_ENV !== 'production' }], + ['app-icon-badge', appIconBadgeConfig], +]; + export default ({ config }: ConfigContext): ExpoConfig => ({ ...config, name: Env.NAME, @@ -44,6 +95,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({ config: { usesNonExemptEncryption: false, }, + associatedDomains: associatedDomainsIOS, }, experiments: { typedRoutes: true, @@ -54,39 +106,13 @@ export default ({ config }: ConfigContext): ExpoConfig => ({ backgroundColor: '#2E3C4B', }, package: Env.PACKAGE, + intentFilters: intentFiltersAndroid, }, web: { favicon: './assets/favicon.png', bundler: 'metro', }, - plugins: [ - [ - 'expo-build-properties', - { - ios: { - deploymentTarget: '16.4', - }, - }, - ], - [ - 'expo-splash-screen', - { - backgroundColor: '#000000', - image: './assets/splash-icon.png', - imageWidth: 150, - }, - ], - [ - 'expo-font', - { - fonts: ['./assets/fonts/Inter.ttf'], - }, - ], - 'expo-dev-client', - 'expo-localization', - ['expo-router', { sitemap: Env.APP_ENV !== 'production' }], - ['app-icon-badge', appIconBadgeConfig], - ], + plugins, extra: { ...ClientEnv, eas: { diff --git a/docs/src/content/docs/guides/navigation.mdx b/docs/src/content/docs/guides/navigation.mdx index dc4466dff..883f7231a 100644 --- a/docs/src/content/docs/guides/navigation.mdx +++ b/docs/src/content/docs/guides/navigation.mdx @@ -28,30 +28,43 @@ The app scheme is defined as `SCHEME` in `env.js` and passed to `app.config.ts` | `APP_ENV` | Scheme | | ------------- | -------------------------- | -| `production` | `RootstrapApp` | -| `staging` | `RootstrapApp.staging` | -| `qa` | `RootstrapApp.qa` | -| `development` | `RootstrapApp.development` | +| `production` | `rootstrapapp` | +| `staging` | `rootstrapapp.staging` | +| `qa` | `rootstrapapp.qa` | +| `development` | `rootstrapapp.development` | To build a deep link, put the scheme of the build you want to open in front of the route path. For example, to open `src/app/feed/[id].tsx` with the post `1`: ```bash # production -RootstrapApp://feed/1 +rootstrapapp://feed/1 # staging -RootstrapApp.staging://feed/1 +rootstrapapp.staging://feed/1 # development, on the iOS simulator -xcrun simctl openurl booted "RootstrapApp.development://feed/1" +xcrun simctl openurl booted "rootstrapapp.development://feed/1" # development, on an Android emulator -adb shell am start -W -a android.intent.action.VIEW -d "RootstrapApp.development://feed/1" +adb shell am start -W -a android.intent.action.VIEW -d "rootstrapapp.development://feed/1" ``` -In app code, read the scheme from `Env.SCHEME` (imported from `@/lib/env`) instead of hardcoding it, so links always match the environment the app was built for. Links configured outside the app (push notification payloads, emails, backend settings or OAuth redirect URIs) must also use the per-environment scheme, such as `RootstrapApp.staging://`, for `development`, `qa` and `staging` builds, or those builds will not open them. +In app code, read the scheme from `Env.SCHEME` (imported from `@/lib/env`) instead of hardcoding it, so links always match the environment the app was built for. Links configured outside the app (push notification payloads, emails, backend settings or OAuth redirect URIs) must also use the per-environment scheme, such as `rootstrapapp.staging://`, for `development`, `qa` and `staging` builds, or those builds will not open them. -Native builds register the scheme at build time, so after changing `SCHEME` or switching to a version of the template with per-environment schemes, rebuild the app (for example `pnpm prebuild:staging`, or a new EAS build) before testing links. When you create a project with `create-rootstrap-rn-app`, `RootstrapApp` is replaced with your project name, so the schemes become `` and `.`. +Native builds register the scheme at build time, so after changing `SCHEME` or switching to a version of the template with per-environment schemes, rebuild the app (for example `pnpm prebuild:staging`, or a new EAS build) before testing links. When you create a project with `create-rootstrap-rn-app`, `RootstrapApp` is replaced with your project name, so the schemes become `` and `.`. + +The scheme is always registered in lowercase. Android matches URL schemes case-sensitively, and browsers and mail apps often lowercase them, so a mixed-case scheme would not open the app from those links. Write links in lowercase too. Changing the casing of an already released scheme means older installed builds only open the old spelling on Android, so release a new build before using the new links. ## Sitemap route +### Universal links + +Set `ASSOCIATED_DOMAIN` in your `.env.{env}` file to the host, or the comma-separated hosts, that should open the app from `https://` links, for example `ASSOCIATED_DOMAIN=example.com,www.example.com`. Use only the host: no scheme, path or port. A wildcard such as `*.example.com` covers every subdomain but not `example.com` itself, so list both if you need both. When it is set, `app.config.ts` adds one `applinks:` entry per host to `ios.associatedDomains` (with `?mode=developer` on non-production builds) and an Android `intentFilters` entry with `autoVerify` for `https` and `http` on every host. When it is empty, no universal link config is generated. The path handling is the same as for schemes, so `https:///feed/1?ref=email` behaves like `rootstrapapp://feed/1?ref=email`, including returning to it after login. + +Every host must prove it belongs to the app, and `www.example.com` and `example.com` are different hosts. Host these files on each one: + +- iOS: `https:///.well-known/apple-app-site-association`, served as `application/json` without a file extension, listing `.` under `applinks.details`. +- Android: `https:///.well-known/assetlinks.json` with the `package_name` and the `sha256_cert_fingerprints` of the key that signs the build. + +Both files can list several apps, so one host can open the `development`, `qa`, `staging` and `production` builds: add one entry per environment, since each has its own bundle ID, package and signing key. Rebuild the app after changing `ASSOCIATED_DOMAIN`. To test on Android, run `adb shell pm get-app-links ` and look for `verified` next to every host. Before Android 12, `autoVerify` is all or nothing: if one host in the list fails verification, none of them are verified. + Expo Router injects a [`/_sitemap`](https://docs.expo.dev/router/reference/sitemap/) route that lists every route in the app, which is handy for debugging. The template removes this in-app route browser from production builds: the `expo-router` plugin in `app.config.ts` is configured with `sitemap: Env.APP_ENV !== 'production'`. This does not hide the route names themselves, which still ship in the JS bundle and the typed-routes output. On `development`, `qa` and `staging` builds you can open `://_sitemap` (or `/_sitemap` on web); on `production` builds that path is handled by the template's catch-all route, `src/app/[...messing].tsx`. If you remove that catch-all route, unmatched paths fall back to Expo Router's built-in not-found screen, which renders a hard-coded link to `/_sitemap`. In production that link leads nowhere, so keep a custom catch-all (or `+not-found`) route if you disable the sitemap. diff --git a/env.js b/env.js index 95a9e7201..210fa17ab 100644 --- a/env.js +++ b/env.js @@ -103,6 +103,30 @@ const SCHEME = 'RootstrapApp'; // app scheme const withEnvSuffix = (name) => APP_ENV === 'production' ? name : `${name}.${APP_ENV}`; +/** + * Split the comma-separated ASSOCIATED_DOMAIN value into a list of hosts. + * Empty entries and repeated hosts are ignored. An entry with a scheme, a path or a port throws, + * because the native config only accepts hosts such as `example.com` or `*.example.com`. + * @param {string | undefined} value + * @returns {string[]} + */ +const parseAssociatedDomains = (value) => { + const domains = (value ?? '') + .split(',') + .map((domain) => domain.trim()) + .filter((domain) => domain !== ''); + + domains.forEach((domain) => { + if (/[/:?#\s]/.test(domain)) { + throw new Error( + `Invalid ASSOCIATED_DOMAIN entry "${domain}": use only the host, for example example.com or *.example.com`, + ); + } + }); + + return [...new Set(domains)]; +}; + /** * 2nd part: Define your env variables schema * we use the `envField` helpers (see `env-fields.js`) to define our env variables schema @@ -145,6 +169,8 @@ const buildTimeEnvSchema = envSchema({ EAS_PROJECT_ID: envField.string(), // ADD YOUR BUILD TIME ENV VARS HERE SECRET_KEY: envField.string(), + // Comma-separated domains that open the app through universal links (iOS) and app links (Android), e.g. example.com,www.example.com + ASSOCIATED_DOMAIN: envField.string({ optional: true }), }); /** @@ -153,7 +179,8 @@ const buildTimeEnvSchema = envSchema({ const clientStaticValues = { APP_ENV, NAME, - SCHEME: withEnvSuffix(SCHEME), + // Android matches URL schemes case-sensitively and browsers or mail apps may lowercase them, so register it in lowercase + SCHEME: withEnvSuffix(SCHEME).toLowerCase(), BUNDLE_ID: withEnvSuffix(BUNDLE_ID), PACKAGE: withEnvSuffix(PACKAGE), VERSION: packageJSON.version, @@ -242,4 +269,5 @@ module.exports = { Env, ClientEnv, withEnvSuffix, + parseAssociatedDomains, }; diff --git a/package.json b/package.json index f76b5f74c..1274abe46 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "test:ci": "pnpm run test --coverage", "test:watch": "pnpm run test --watch", "install-maestro": "curl -Ls 'https://get.maestro.mobile.dev' | bash", - "e2e-test": "maestro test .maestro/ -e APP_ID=com.obytes.development" + "e2e-test": "maestro test .maestro/ -e APP_ID=com.rootstrap.development -e SCHEME=rootstrapapp.development" }, "dependencies": { "@expo/metro-runtime": "^58.0.17", diff --git a/src/app/+native-intent.tsx b/src/app/+native-intent.tsx index 54552c401..a3ef93e40 100644 --- a/src/app/+native-intent.tsx +++ b/src/app/+native-intent.tsx @@ -17,14 +17,9 @@ export function rememberProtectedLink(url: string): Extract | null } syncSession(); - const isFirstTime = getIsFirstTime(); - if (isFirstTime) { - clearPendingDeepLink(); - } - else { - setPendingDeepLink(returnTo); - } - return getFallbackRoute({ isFirstTime, isAuthenticated: false }); + // Remember the link even on first launch: the user still has to go through onboarding and sign-in + setPendingDeepLink(returnTo); + return getFallbackRoute({ isFirstTime: getIsFirstTime(), isAuthenticated: false }); } catch { clearPendingDeepLink(); diff --git a/src/app/_layout.tsx b/src/app/_layout.tsx index 6044763d2..3336090d7 100644 --- a/src/app/_layout.tsx +++ b/src/app/_layout.tsx @@ -16,7 +16,7 @@ import { AnalyticsProvider } from '@/components/providers/analytics'; import { useAnalyticsScreenTracking, useAnalyticsSessionReset } from '@/components/providers/analytics-tracking'; import { AuthProvider, hasValidSession, useAuth } from '@/components/providers/auth'; import { consoleAnalyticsProvider, hydrateAuth, loadSelectedTheme, useIsFirstTime } from '@/lib'; -import { AUTH_SCREENS, AUTHENTICATED_SCREENS, isOnScreen, toReturnToPath } from '@/lib/auth/deep-link-path'; +import { AUTH_SCREENS, AUTHENTICATED_SCREENS, isOnScreen, ONBOARDING_SCREENS, toReturnToPath } from '@/lib/auth/deep-link-path'; import { getFallbackRoute } from '@/lib/auth/get-fallback-route'; import { clearPendingDeepLink, usePendingDeepLink } from '@/lib/auth/pending-deep-link'; import { useSyncLanguageWithOS } from '@/lib/i18n'; @@ -63,7 +63,7 @@ function AnalyticsTrackers() { return null; } -function useOpenPendingDeepLink({ isAuthenticated, isFirstTime }: { isAuthenticated: boolean; isFirstTime: boolean }) { +function useOpenPendingDeepLink({ isAuthenticated }: { isAuthenticated: boolean }) { const router = useRouter(); const segments: ReadonlyArray = useSegments(); const pendingDeepLink = usePendingDeepLink.use.path(); @@ -72,10 +72,6 @@ function useOpenPendingDeepLink({ isAuthenticated, isFirstTime }: { isAuthentica if (pendingDeepLink === null) { return; } - if (isFirstTime) { - clearPendingDeepLink(); - return; - } if (isAuthenticated && hasValidSession() && segments[0] === '(app)') { clearPendingDeepLink(); const returnTo = toReturnToPath(pendingDeepLink); @@ -85,19 +81,20 @@ function useOpenPendingDeepLink({ isAuthenticated, isFirstTime }: { isAuthentica return; } const isWaitingForLogin = segments.length === 0 + || isOnScreen(segments, ONBOARDING_SCREENS) || isOnScreen(segments, AUTH_SCREENS) || isOnScreen(segments, AUTHENTICATED_SCREENS); if (!isWaitingForLogin) { clearPendingDeepLink(); } - }, [isAuthenticated, isFirstTime, pendingDeepLink, router, segments]); + }, [isAuthenticated, pendingDeepLink, router, segments]); } function GuardedStack() { const { isAuthenticated } = useAuth(); const [isFirstTime] = useIsFirstTime(); const fallbackRoute = getFallbackRoute({ isFirstTime, isAuthenticated }); - useOpenPendingDeepLink({ isAuthenticated, isFirstTime }); + useOpenPendingDeepLink({ isAuthenticated }); return ( <> diff --git a/src/app/feed/[id].tsx b/src/app/feed/[id].tsx index 8e610d44b..dd902aade 100644 --- a/src/app/feed/[id].tsx +++ b/src/app/feed/[id].tsx @@ -1,12 +1,20 @@ -import { Stack } from 'expo-router'; +import { Stack, useLocalSearchParams } from 'expo-router'; -import { FocusAwareStatusBar, View } from '@/components/ui'; +import { FocusAwareStatusBar, ScrollView, Text } from '@/components/ui'; export default function Post() { + const { id, ...params } = useLocalSearchParams>>(); + return ( - + - + {`id: ${String(id)}`} + {`params: ${JSON.stringify(params)}`} + ); } diff --git a/src/lib/auth/deep-link-path.ts b/src/lib/auth/deep-link-path.ts index cf85521dc..c63a04738 100644 --- a/src/lib/auth/deep-link-path.ts +++ b/src/lib/auth/deep-link-path.ts @@ -2,6 +2,8 @@ import type { Href } from 'expo-router'; import { unwrapDevLaunchURL } from 'expo-linking'; +export const ONBOARDING_SCREENS: ReadonlyArray = ['onboarding']; + export const AUTH_SCREENS: ReadonlyArray = ['sign-in', 'sign-up', 'forgot-password']; export const AUTHENTICATED_SCREENS: ReadonlyArray = [ From fbb2848bdf76d6b6e1d78589cf5831804e2be106 Mon Sep 17 00:00:00 2001 From: Fernanda Toledo Date: Wed, 2 Dec 2026 16:29:24 -0300 Subject: [PATCH 10/11] chore(deps): align expo packages with SDK 58 expected versions --- package.json | 16 +- pnpm-lock.yaml | 1072 ++++++++++++++++++++++++++++-------------------- 2 files changed, 632 insertions(+), 456 deletions(-) diff --git a/package.json b/package.json index 1274abe46..d34e4f1e2 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "e2e-test": "maestro test .maestro/ -e APP_ID=com.rootstrap.development -e SCHEME=rootstrapapp.development" }, "dependencies": { - "@expo/metro-runtime": "^58.0.17", + "@expo/metro-runtime": "^58.0.18", "@gorhom/bottom-sheet": "^5.2.14", "@hookform/resolvers": "^3.9.0", "@lukemorales/query-key-factory": "^1.3.4", @@ -76,18 +76,18 @@ "app-icon-badge": "^0.1.2", "axios": "^1.7.5", "dayjs": "^1.11.13", - "expo": "~58.0.26", + "expo": "~58.1.1", "expo-build-properties": "^58.0.12", "expo-constants": "~58.0.16", - "expo-crypto": "^58.0.8", - "expo-dev-client": "~58.0.21", + "expo-crypto": "^58.0.9", + "expo-dev-client": "~58.0.22", "expo-font": "~58.0.12", - "expo-image": "~58.0.18", + "expo-image": "~58.0.19", "expo-linking": "~58.0.17", "expo-localization": "~58.0.5", "expo-navigation-bar": "~58.0.4", - "expo-router": "~58.0.32", - "expo-splash-screen": "~58.0.14", + "expo-router": "~58.0.34", + "expo-splash-screen": "~58.0.15", "expo-status-bar": "~58.0.5", "expo-system-ui": "~58.0.7", "i18next": "^23.14.0", @@ -151,7 +151,7 @@ "husky": "^9.1.5", "jest": "^30.5.2", "jest-environment-jsdom": "^30.5.2", - "jest-expo": "~58.0.15", + "jest-expo": "~58.0.16", "jest-junit": "^16.0.0", "lint-staged": "^15.2.9", "np": "^10.0.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d7be77584..9130b6a40 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@expo/metro-runtime': - specifier: ^58.0.17 - version: 58.0.17(@expo/log-box@58.0.15)(expo@58.0.26)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + specifier: ^58.0.18 + version: 58.0.18(@expo/log-box@58.0.15)(expo@58.1.1)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) '@gorhom/bottom-sheet': specifier: ^5.2.14 version: 5.2.14(@types/react@19.3.0)(react-native-gesture-handler@3.3.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-reanimated@4.7.1(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) @@ -39,47 +39,47 @@ importers: specifier: ^1.11.13 version: 1.11.18 expo: - specifier: ~58.0.26 - version: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + specifier: ~58.1.1 + version: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) expo-build-properties: specifier: ^58.0.12 - version: 58.0.12(expo@58.0.26) + version: 58.0.12(expo@58.1.1) expo-constants: specifier: ~58.0.16 - version: 58.0.16(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) + version: 58.0.16(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) expo-crypto: - specifier: ^58.0.8 - version: 58.0.8(expo@58.0.26) + specifier: ^58.0.9 + version: 58.0.9(expo@58.1.1) expo-dev-client: - specifier: ~58.0.21 - version: 58.0.21(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) + specifier: ~58.0.22 + version: 58.0.22(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) expo-font: specifier: ~58.0.12 - version: 58.0.12(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + version: 58.0.12(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) expo-image: - specifier: ~58.0.18 - version: 58.0.18(expo@58.0.26)(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + specifier: ~58.0.19 + version: 58.0.19(expo@58.1.1)(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) expo-linking: specifier: ~58.0.17 - version: 58.0.17(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + version: 58.0.17(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) expo-localization: specifier: ~58.0.5 - version: 58.0.5(expo@58.0.26)(react@19.3.0) + version: 58.0.5(expo@58.1.1)(react@19.3.0) expo-navigation-bar: specifier: ~58.0.4 - version: 58.0.4(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + version: 58.0.4(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) expo-router: - specifier: ~58.0.32 - version: 58.0.32(dc98b791f8aae0352ce82c41f3d383d8) + specifier: ~58.0.34 + version: 58.0.34(233d38d7bd611bbb03499390dc1825be) expo-splash-screen: - specifier: ~58.0.14 - version: 58.0.14(expo@58.0.26)(typescript@6.0.3) + specifier: ~58.0.15 + version: 58.0.15(expo@58.1.1)(typescript@6.0.3) expo-status-bar: specifier: ~58.0.5 - version: 58.0.5(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + version: 58.0.5(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) expo-system-ui: specifier: ~58.0.7 - version: 58.0.7(expo@58.0.26)(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) + version: 58.0.7(expo@58.1.1)(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) i18next: specifier: ^23.14.0 version: 23.14.0 @@ -179,7 +179,7 @@ importers: version: 19.2.2 '@dev-plugins/react-query': specifier: ^0.0.7 - version: 0.0.7(@tanstack/react-query@5.52.1(react@19.3.0))(expo@58.0.26) + version: 0.0.7(@tanstack/react-query@5.52.1(react@19.3.0))(expo@58.1.1) '@eslint-react/eslint-plugin': specifier: ^2.7.2 version: 2.13.0(eslint@9.39.4(jiti@1.21.6))(typescript@6.0.3) @@ -259,8 +259,8 @@ importers: specifier: ^30.5.2 version: 30.5.2 jest-expo: - specifier: ~58.0.15 - version: 58.0.15(@babel/core@7.29.13)(@react-native/jest-preset@0.88.1(@babel/core@7.29.13)(react@19.3.0))(@types/react@19.3.0)(expo@58.0.26)(jest@30.5.2(@types/node@22.9.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + specifier: ~58.0.16 + version: 58.0.16(@babel/core@7.29.13)(@react-native/jest-preset@0.88.1(@babel/core@7.29.13)(react@19.3.0))(@types/react@19.3.0)(expo@58.1.1)(jest@30.5.2(@types/node@22.9.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) jest-junit: specifier: ^16.0.0 version: 16.0.0 @@ -427,10 +427,6 @@ packages: resolution: {integrity: sha512-FuTSn8mXKAP+aHXnbkCYQsQAdlEIJptEutwc2NaPd28hyVqsjRDmBnI2EPJX6HCodKIqOHfayQHqtxQCkqwthA==} engines: {node: '>=6.9.0'} - '@babel/helper-module-imports@7.27.1': - resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==} - engines: {node: '>=6.9.0'} - '@babel/helper-module-imports@7.29.7': resolution: {integrity: sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==} engines: {node: '>=6.9.0'} @@ -640,12 +636,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-syntax-typescript@7.27.1': - resolution: {integrity: sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - '@babel/plugin-syntax-typescript@7.29.7': resolution: {integrity: sha512-ngr+82Sh0xMz25TPCZi+nC2iTzjfCdWS2ONXTp/PtSCHCgaCNBpdMqgvJ2ccdLlClVZ7sisIgB914j/JFe+RZA==} engines: {node: '>=6.9.0'} @@ -676,12 +666,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-class-properties@7.27.1': - resolution: {integrity: sha512-D0VcalChDMtuRvJIu3U/fwWjf8ZMykz5iZsg77Nuj821vCKI3zCyRLwRdWbsuJ/uRwZhZ002QtCqIkwC/ZkvbA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-class-properties@7.29.7': resolution: {integrity: sha512-GtcpjFvanPfzNQi3eTitsCqtRRmmqzpy/A+yhTR1HaZo1Ly3EA8ZXxlPyHdR8/IuRMYc3E4wdGBewB2QKQjAaA==} engines: {node: '>=6.9.0'} @@ -694,12 +678,6 @@ packages: peerDependencies: '@babel/core': ^7.12.0 - '@babel/plugin-transform-classes@7.28.4': - resolution: {integrity: sha512-cFOlhIYPBv/iBoc+KS3M6et2XPtbT2HiCRfBXWtfpc9OAyostldxIf9YAYB6ypURBBbx+Qv6nyrLzASfJe+hBA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-classes@7.29.11': resolution: {integrity: sha512-f8kTDM/nTvpLeafb+TJ4jboFr/Y3BbC+QzgPpPGzSKJqWLnj9LW0WLqv4XKA11LX5sr+EgvLE6Ix3YsCEusodw==} engines: {node: '>=6.9.0'} @@ -736,12 +714,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-modules-commonjs@7.27.1': - resolution: {integrity: sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-modules-commonjs@7.29.14': resolution: {integrity: sha512-mbv2yy5dqP6e3DbusCx+5AypXkFbyJD/JhG4/XhA+BIADOw5o7W+X0ewSp/h3w7gRL3oR5yny2/K8ljiydj4uA==} engines: {node: '>=6.9.0'} @@ -754,12 +726,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0 - '@babel/plugin-transform-nullish-coalescing-operator@7.27.1': - resolution: {integrity: sha512-aGZh6xMo6q9vq1JGcw58lZ1Z0+i0xB2x0XaauNIUXd6O1xXc3RwoWEBlsTQrY4KQ9Jf0s5rgD6SiNkaUdJegTA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-nullish-coalescing-operator@7.29.7': resolution: {integrity: sha512-idmp1dFaekP9GbcMvG24Kvw2BfhFZjHnNJCkV4WuIY4PskJzwI3f1N5OdgYke38T7rftO6ERulFRn2cFeZwRkg==} engines: {node: '>=6.9.0'} @@ -778,12 +744,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-optional-chaining@7.27.1': - resolution: {integrity: sha512-BQmKPPIuc8EkZgNKsv0X4bPmOoayeu4F1YCwx2/CfmDSXDbp7GnzlUH+/ul5VGfRg1AoFPsrIThlEBj2xb4CAg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-optional-chaining@7.29.7': resolution: {integrity: sha512-6GM1dhvK3gNODkXcEcMCOLEDCLSoZ/sBbro2Ax8HURyasQ4NshagQixkRFdh5niI6E4gmA/jYI/4aT7rRos3ZQ==} engines: {node: '>=6.9.0'} @@ -868,12 +828,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-typescript@7.28.0': - resolution: {integrity: sha512-4AEiDEBPIZvLQaWlc9liCavE0xRM0dNca41WtBeM3jgFptfUOSG9z0uteLhq6+3rq+WB6jIvUwKDTpXEHPJ2Vg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-typescript@7.29.9': resolution: {integrity: sha512-FFwIwzU+7SCOuxxV4YtJql6T9981ZVTm+FHO5GhVsRqCTdy0WwrEZh3l42ARpXruJUDGOptdduHW6Zr7pNPLNg==} engines: {node: '>=6.9.0'} @@ -886,12 +840,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/preset-typescript@7.27.1': - resolution: {integrity: sha512-l7WfQfX0WK4M0v2RudjuQK4u99BS6yLHYEmdtVPP7lKV013zr9DygFuWNlnbvQ9LR+LS0Egz/XAvGx5U9MX0fQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - '@babel/preset-typescript@7.29.7': resolution: {integrity: sha512-/Foi8vKY2EVbed/1eZx0gJEEwHAIxogrySI7rULcRIvhZzbvoE/b5qG5Ghc0WKAFKOHA9SD1x7RsFlOYdutIiQ==} engines: {node: '>=6.9.0'} @@ -1188,8 +1136,8 @@ packages: resolution: {integrity: sha512-rZAP3aVgB9ds9KOeUSL+zZ21hPmo8dh6fnIFwRQj5EAZl9gzR7wxYbYXYysAM8CTqGmUGyp2S4kUdV17MnGuWQ==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} - '@expo/cli@58.1.21': - resolution: {integrity: sha512-E+27FQ1Y26fVb0p1wVHBFkbe5oQubUXLwF/au5Vy8OCqDWrmbekBQamRI4mBhY15FhZQxAkyK0e6hXcEFKVBOw==} + '@expo/cli@58.1.23': + resolution: {integrity: sha512-MasERAE2h9raacYvTJHwmNA6lyH9b+EXdhrHHpVpqbJnciT0AxnO38Y+DeiRvHA6McchFTcdm+4IkBJW0jTQMA==} hasBin: true peerDependencies: expo: '*' @@ -1211,12 +1159,18 @@ packages: '@expo/config-plugins@58.0.13': resolution: {integrity: sha512-Vbkt0vpIJ9z+oCFr2simtfuiPxdpIovDgYnzenC9z7jX0rlo8nTLGQky+q+SJdovIbyymGAO45UR0YqwLgbvKw==} + '@expo/config-plugins@58.0.14': + resolution: {integrity: sha512-2R96Wy16bE3tty+LibRcYQf/0EuX1UvlmdlQfcsE1YuGiBzjAAX0pUATzys+J8+V7iSmohRITAWNOrjR/42yFQ==} + '@expo/config-types@58.0.3': resolution: {integrity: sha512-wyfrwkTT/hQHzwyqkXkngKxoOa8L6ovsTP4h/UukS1mTmssee5et6HOPoN5RtawdJPnm5JO28f//C/wXlpka8Q==} '@expo/config@58.0.12': resolution: {integrity: sha512-Ch/4Cb8womWYpY1zI4BEEYT1rGuKti8O8aSzyAM79xNTVRx6nPw2h9j91Knq95OSH3wtjrcthZwVYZ3po4igNg==} + '@expo/config@58.0.13': + resolution: {integrity: sha512-/6TFc+/VyI27/rVdZX9BLYWMUzBtbQO/9Fs8JDVNVs9QrW7wqpftsX79xtPOnPc+z3UVhy1zGlUtuqt5rkCZqQ==} + '@expo/devcert@1.2.2': resolution: {integrity: sha512-wz1YedXwdNbYqk/PRr34vixnuw1+l6uSwmPXUj649cot5iYNccb2zIOnK7Nonb1Pfd/dxAY6CvU6KM3uSdxC7A==} @@ -1245,21 +1199,21 @@ packages: resolution: {integrity: sha512-pSNESQU0IGhLs/A3QlNPoh/acb1vWU7N721OjaIm3JT8yzgZymIM/m4x2y73YwpEtqgwWsCl6+japtq2PtXIPw==} engines: {node: '>=20.12.0'} - '@expo/fingerprint@0.21.10': - resolution: {integrity: sha512-u73rWDHOYijO1wT60uKjtuoGBKsU9/MFSh7WEE63K2jJ0ML8eycUCXF9FmLf3EVzzIjYIPu6Ns04LR7FVGh6mA==} + '@expo/fingerprint@0.22.0': + resolution: {integrity: sha512-1ezPuF3rjCoKO0AADfx+ia260UZxKHuLMt+B+Q+asmA/hW/dcwUNt4gDMWIFUB6mKmWRYUwBtVcafrFZZgOXbw==} hasBin: true '@expo/image-utils@0.12.7': resolution: {integrity: sha512-fuiRQxvvkbj932BamtYh1UKuyRJ5tXBJ3XxpGm5pT4zzynPmygd3RtOQrzIhcsIZGcG6i1n+KvrszYRnk3evqQ==} - '@expo/inline-modules@0.2.10': - resolution: {integrity: sha512-WFqhlOrUUc0VZxrUPq5X328aP2e/cQKvJJXhwNxNj9fqWS9iFWC1E9VRHHhJIqdu+qy2YU3s2OBDlyIz9X/5aA==} + '@expo/inline-modules@0.2.11': + resolution: {integrity: sha512-H+ajCjJfEZHGBt8PeeZyk/368DeQ2ASoBNk9v8/sDAYmoFZ+2UB+xPDHQ7uQx+PYm7oBMOXLrG42HramHX7d7Q==} '@expo/json-file@11.2.1': resolution: {integrity: sha512-UPhKoFCj8BcwgLB1rKQ1CuR/REITnZLiqxHEHOeH1tPsdXcHGtUDh0P5bLbr7oU0nKVdtJ5rzyKx8jniMQdESQ==} - '@expo/local-build-cache-provider@58.0.12': - resolution: {integrity: sha512-2fpz4A+cf7YybeVx6lc/kulUpMLOv0OrlhdcvOpMCQG/9Wp5IBOZUgykSN86wmU5ZGJe4JeDJ4Soq5H3hfvzIw==} + '@expo/local-build-cache-provider@58.0.13': + resolution: {integrity: sha512-bqmBvCdc51IfXt4t3jp4p7UN/ff0PulhHSPAxGbyjqs6SfXd4getX2vXao9ghAUWMa/xmScfzUMEv9s5kTgEUQ==} '@expo/log-box-utils@58.0.2': resolution: {integrity: sha512-My8Lwe9FU/yDwwzqwi5LN2rzzDcJqIAZKrD9f0XHZEKz/FQnWJYdt1rsV7+RwqMGeGq2XsxTCVT1ggTCOvumxw==} @@ -1275,19 +1229,19 @@ packages: expo: optional: true - '@expo/metro-config@58.0.23': - resolution: {integrity: sha512-cEFdrMxH4cddH9rHDg2FxUAl4FUC7TBs8d8GYE1r+zXOjsScoKrQhMtLOPqIc2VEj3ehUFvto3EycrEgrWck+A==} + '@expo/metro-config@58.0.25': + resolution: {integrity: sha512-f+9Y/Wu4qx4dxfzoAzMZWKAJrPTIJsA24hGFnfp31++GimbXrU3aNHN8bZEPeqeoVS3gQWAyHnqlRUap0DU85w==} peerDependencies: expo: '*' peerDependenciesMeta: expo: optional: true - '@expo/metro-file-map@58.0.6': - resolution: {integrity: sha512-+kPFI328BSUxpK7OO0kM31NQlYG/z7WOTISbPEuY4fMZxmN/nLnmJIDNG8NTtM5ZHXlNPqgjRvdukxtsBEkvuw==} + '@expo/metro-file-map@58.0.8': + resolution: {integrity: sha512-HuGePajcQXTiJ3ynFvpfw/O3gQashxCO4ob/CBMmObbBN4mbYq/2OhtnFlICqLNy2ucRUgWQ1X3pumyffRkgEA==} - '@expo/metro-runtime@58.0.17': - resolution: {integrity: sha512-onJvBi90uwLj69F1EaVPmPeds/ndxc2/vNc0Z5n8rqcMKToMyLxGaL3Be6yf7OVjPhGvoDj+LWQ/IcbpN1hnoA==} + '@expo/metro-runtime@58.0.18': + resolution: {integrity: sha512-sX6RpFOsqFumkV1e7t+ev2yksQmAG30nQsYJUOTOj8sBdWeTZgc7QVggAwR00a8XniLWh+QP4Gc0Ey6oTq49Dw==} peerDependencies: '@expo/log-box': ^58.0.15 expo: '*' @@ -1298,8 +1252,8 @@ packages: react-dom: optional: true - '@expo/metro@58.0.0': - resolution: {integrity: sha512-PMD640ihB0C3Oqm0AnDVJ/8qF2cKbRUEqGuSOr4tM/OTb9ktxsQqsiSSSeaOEgdCZBq20AxRS0d6WHNhhH2P+g==} + '@expo/metro@58.1.0': + resolution: {integrity: sha512-Jlhr3NkB1gDIngjy0kq4yT5TyQQvOLTjl8FZw6wOVQ4RM/Xdqcy8A2h1blmt0j2TdBo6FQcLsRmDh8lmxzcmpA==} '@expo/modules-macros-linux-arm64@0.33.0': resolution: {integrity: sha512-5F4L/IJThOBq3oRo9NB5BI4+Od8K2YDTbU+2IHgsnXsrTc5icQtOlLwHOEfExghjo0PHCXGap4zprfOKvtANxw==} @@ -1334,8 +1288,8 @@ packages: '@expo/plist@0.10.2': resolution: {integrity: sha512-kaCDdGLtezkt5s1w7iCaISNJ+RkNac/1yBYYE8XyXLSJu3czGHZKzJGQ8fFOrpEGm6GdlIHFpzVeiF01ZVyHyg==} - '@expo/prebuild-config@58.0.20': - resolution: {integrity: sha512-lqXK5d6ni2MCNO/MbuXhojKC+Iy/gaYm0a3vVebwf/njoe1Fp3iw8mXDwoofmvlzZ3HO+beL7XCX6e6ZEYmVyg==} + '@expo/prebuild-config@58.0.21': + resolution: {integrity: sha512-FFM5R2LbcIww0+eBVpT/Ba3Wh/nOEDOMgGXRJdoQZVUfkZXyPA2pWvhOzWD2Ze6mDZG1aDEEiaeyJZ92d3pRMQ==} '@expo/require-utils@58.0.6': resolution: {integrity: sha512-k9Ce7indjY3+nRBNT6wKw7NghN7pP6WhFnYNjuDiAypwjtVgaZHpD9fo0/g3/emDUpM6ebl8Ekz/teyUGfD9og==} @@ -1345,15 +1299,15 @@ packages: typescript: optional: true - '@expo/router-server@58.0.23': - resolution: {integrity: sha512-Vcd/mskn2BSGt9dVAzAKlUFGbagfUlMT3afTgkw7KDpn8pwtkbm6M4g11158OcVSZ10m3VLvoySeZDFPskHLaQ==} + '@expo/router-server@58.0.25': + resolution: {integrity: sha512-C7e79QpVsoF01mLh8rYmYnkGWKOb3nbVBVfMmBRZtKRt75Ukq2HYm6WrkR6F9/AURYdAkUimOtiU3+ZIyw49OA==} peerDependencies: - '@expo/metro-runtime': ^58.0.17 + '@expo/metro-runtime': ^58.0.18 expo: '*' expo-constants: ^58.0.16 expo-font: ^58.0.12 expo-router: '*' - expo-server: ^58.1.0 + expo-server: ^58.1.1 react: '*' react-dom: '*' react-server-dom-webpack: ~19.0.1 || ~19.1.2 || ~19.2.1 || ~19.3.0 @@ -1814,50 +1768,50 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@noxcturnal/noxcturnal-darwin-arm64@0.1.14': - resolution: {integrity: sha512-5g1fvtfmDsaDzNoqZicO7UKUUaGm9HOTJy30KNxXbSJRreLOQwK0fd0wuAA0OEbBgJSQAvVdAovpjT5HvYRIWw==} + '@noxcturnal/noxcturnal-darwin-arm64@0.2.2': + resolution: {integrity: sha512-GRR4jnJOYCr/H6GiLCmmAJl/fxmDoMcuQLY0YpWgXwHp9sxIekg1kEF7ilKVjrkuNUcdT1SSkZ0IMaoDIFaKKg==} engines: {node: '>=18'} cpu: [arm64] os: [darwin] - '@noxcturnal/noxcturnal-darwin-x64@0.1.14': - resolution: {integrity: sha512-rnZ8LRa+rYOyHmPS2PpPgxRHaeU0zJZ7Ii8huuAMbADfJHGceGBU8SQYqd7+Vs1VwSUcxRm4BMC4+QL1IgdqrA==} + '@noxcturnal/noxcturnal-darwin-x64@0.2.2': + resolution: {integrity: sha512-wUNYf4aXvK4NVpAYQd9bZ9MEcH9Zk3Gi0AyHqqhV7BwWETb5vbO7r1abcjiFQBauv4X1neNz4lQ8WeGSMj7jIA==} engines: {node: '>=18'} cpu: [x64] os: [darwin] - '@noxcturnal/noxcturnal-linux-arm64-gnu@0.1.14': - resolution: {integrity: sha512-9SZoiNaEKwFJ0V7cgpoCjHLh80fd8/wAJrbG1VWR8DJfkbVBvXhipTnxEISZ0LdidmthpVo0i2GiI6ToUdkmkg==} + '@noxcturnal/noxcturnal-linux-arm64-gnu@0.2.2': + resolution: {integrity: sha512-uWJ+pPfpK5YYdVJEUySFomuWcGUHkl3V/l4xbkl4Y9u9MXBNbelzNS5UQQv99G9VxwJFM7kuAhFnVFi/q02Cqg==} engines: {node: '>=18'} cpu: [arm64] os: [linux] - '@noxcturnal/noxcturnal-linux-arm64-musl@0.1.14': - resolution: {integrity: sha512-dxZXo7Xj00w8eeFac+ev/75lJd/62GSUIX4wwCN2yYn6r9Jrim3DJ6yKVZwmfqHDE0v55TZsif0/vdhNFxFXfQ==} + '@noxcturnal/noxcturnal-linux-arm64-musl@0.2.2': + resolution: {integrity: sha512-AiDjogDaezzsFC86XHTfEa8/m95M91lilhIF7wjoB4KOHirlqnlxuU9JkyOYyaHVqKdVIlYjwSLAilIci7N5Ow==} engines: {node: '>=18'} cpu: [arm64] os: [linux] - '@noxcturnal/noxcturnal-linux-x64-gnu@0.1.14': - resolution: {integrity: sha512-ek3098/TS+Ma2vJUjzpIZnhU70lryFzFPEdKdQ5u+1w00QKvMg0teFa2mec1H8/ndK74/xYWy8e4d92Uz+s9Dg==} + '@noxcturnal/noxcturnal-linux-x64-gnu@0.2.2': + resolution: {integrity: sha512-5SkMRnB0BUzDp0t87nJK05ACbwMmlNf3HyYGOOWAi33GcXOgXd+TNHo9+C+sMoL+Qb+AJHGS+ofwqVMhDaZCFw==} engines: {node: '>=18'} cpu: [x64] os: [linux] - '@noxcturnal/noxcturnal-linux-x64-musl@0.1.14': - resolution: {integrity: sha512-qblXyvGhD5HoJSK32Q8YN6PnEz4GPXgr2KLgStpRG1oG8+BRPlrqZCaQRbQI5Bn3L8NZ+OjyGWhLEG1kgdzHBw==} + '@noxcturnal/noxcturnal-linux-x64-musl@0.2.2': + resolution: {integrity: sha512-/+9urX69CIMKA+RqCKVfChckYnqyHx9IUFSRosyW2B7LH/QCO40Ct3oZorFl9MMcE0/HJUZFmUsRojeBeUuBxw==} engines: {node: '>=18'} cpu: [x64] os: [linux] - '@noxcturnal/noxcturnal-win32-arm64-msvc@0.1.14': - resolution: {integrity: sha512-K9Q82l32juE/p7Ca6p36rAWfNzORkCyoL0R2aDUq3tkYOmivu3xTewnxUwDLTzDIuLsMgb4niy5vrtr4IXdNXw==} + '@noxcturnal/noxcturnal-win32-arm64-msvc@0.2.2': + resolution: {integrity: sha512-cBg6L0j7vpLqKkuryr8RAKc3jbw6my8DzM9FPja3vaOI2eyZ2vmrXm9fOokGacDwpwNfTDgN8m8tPFo3WnWJeA==} engines: {node: '>=18'} cpu: [arm64] os: [win32] - '@noxcturnal/noxcturnal-win32-x64-msvc@0.1.14': - resolution: {integrity: sha512-qiiOLLQUYnLZai3traWx90yzMLGZlkvwGNYMFkGw5MwnMifVgfl3Z3ooFiSYaVKjkTYqxBF9rOCvhFL6yXaoxA==} + '@noxcturnal/noxcturnal-win32-x64-msvc@0.2.2': + resolution: {integrity: sha512-zqRib9EDbcss5j6x+nQYJ0Uu1cxIjt3q4Qa5obdwIPPh0f9sRvwUD7WR8eT5CUwBc/bIkBoRQHgymkHauc1Udg==} engines: {node: '>=18'} cpu: [x64] os: [win32] @@ -2315,6 +2269,9 @@ packages: '@types/babel__traverse@7.20.6': resolution: {integrity: sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==} + '@types/connect@3.4.38': + resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} + '@types/conventional-commits-parser@5.0.0': resolution: {integrity: sha512-loB369iXNmAZglwWATL+WRe+CRMmmBPtpolYzIebFaX4YA3x+BEfLqhUAV9WanycKI3TG1IMr5bMJDajDKLlUQ==} @@ -2389,6 +2346,9 @@ packages: '@types/react@19.3.0': resolution: {integrity: sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==} + '@types/source-map@0.5.2': + resolution: {integrity: sha512-++w4WmMbk3dS3UeHGzAG+xJOSz5Xqtjys/TBkqG3qp3SeWE7Wwezqe5eB7B51cxUyh4PW7bwVotpsLdBK0D8cw==} + '@types/stack-utils@2.0.3': resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} @@ -2398,12 +2358,18 @@ packages: '@types/unist@3.0.3': resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} + '@types/ws@7.4.7': + resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} + '@types/yargs-parser@21.0.3': resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} '@types/yargs@17.0.33': resolution: {integrity: sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==} + '@types/yargs@17.0.35': + resolution: {integrity: sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==} + '@typescript-eslint/eslint-plugin@8.60.0': resolution: {integrity: sha512-QYb/sa74/s7OKMbACMjrYnGspj9Hs5YI5aaffSL65UfeBUzVzBJfVo3oWSpbzPurvm7yaCCo2Lk7lVj610HqKw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2688,8 +2654,8 @@ packages: resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==} engines: {node: '>= 14'} - agent-cli-detector@0.1.7: - resolution: {integrity: sha512-d8OWDVdZMgjhLUT9ZPgSv/BdFFF9pVuscC0JdUSz3bjwE15gcp6u/o0/JooM2yyAWC49KThFhXlgTXRa9B7yng==} + agent-cli-detector@0.1.8: + resolution: {integrity: sha512-o9iM2eTePg7zrZQNoC80Dgljvz53u6MT0EPeBshRKipEl2K3825mthxQCGsYkHob7pFZ/VCwKXMJJ5qa8Z44EA==} engines: {node: '>=18.18'} hasBin: true @@ -2893,12 +2859,12 @@ packages: peerDependencies: '@babel/core': ^7.0.0 || ^8.0.0-0 - babel-preset-expo@58.0.26: - resolution: {integrity: sha512-ZCH0nRF6T5Txn2r7FqY66xcYN2ni80WzH3snBA0pFGHZpMeSgaADnb5jJmPGEnWKcb7p34ViGFf17jXoFQ1zGg==} + babel-preset-expo@58.0.28: + resolution: {integrity: sha512-NkbSvYRqJTSI9z3ZgyD94fSPkFngyTTHRh5u6y1E/VGmsZtE29+BZRX5J3KPKYpCD2B8w5U71vQJ8ARKHvEGEA==} peerDependencies: '@babel/runtime': ^7.20.0 expo: '*' - expo-widgets: ^58.0.29 + expo-widgets: ^58.0.31 react-refresh: '>=0.14.0 <1.0.0' peerDependenciesMeta: '@babel/runtime': @@ -4000,18 +3966,18 @@ packages: expo: '*' react-native: '*' - expo-crypto@58.0.8: - resolution: {integrity: sha512-yMSiMlallOweQ28oQ3BqJf6I/4ZoBggFNRg+PfjG1NbQWBWzGKmkPPUrd3yT0oPW4P+AYppg+Mw6xoAYddLUKA==} + expo-crypto@58.0.9: + resolution: {integrity: sha512-+3IFQfHZKpGBxdtKQuCGB24HfnL7ZPq1HAVTjlO5LXwu+cqt4dvgRIDrCs07HPMj+a+ZRQnVrKDbXoo1Yq+PxQ==} peerDependencies: expo: '*' - expo-dev-client@58.0.21: - resolution: {integrity: sha512-W1ZWddy0p64Z8j8FNOU4bCRDhbU8b5Gt7yZRouiw7bkyCfY5T3yODKTOLCVuhjbs3Oy3aUH6kLdn0i6hXozhqA==} + expo-dev-client@58.0.22: + resolution: {integrity: sha512-/3UVlKO9AvrG6ZiLie4UVAG6EvUlC3BwFwPPJbRSVdGjO1RMrPd7htKlA8jGW0D//94SnNGMDw3zwn1oAdgOUg==} peerDependencies: expo: '*' - expo-dev-launcher@58.0.21: - resolution: {integrity: sha512-EAW01s7Y4sT7x1AHDE3Zo3mSa/6y6ImsMRMsIHWhG+5Os4rDzi1yIlXJoP13cNTkciVE5rK2Jt7xj0HkmfPmPA==} + expo-dev-launcher@58.1.0: + resolution: {integrity: sha512-mM6u9Hs8VL9p6xLR87lYBWmqLS3lRQOAl8uhRcYl3Pu+jC5l3/vJZD22+A5mRJgiDjImulXD36iZWrY+QVbj1w==} peerDependencies: expo: '*' react-native: '*' @@ -4027,8 +3993,8 @@ packages: expo: '*' react-native: '*' - expo-file-system@58.0.14: - resolution: {integrity: sha512-VK67RQPDmWRHGbvpmPY5MeA1Ulw1LiyKs4KIN8na/q7SlkxYuPPR8biWsyX1S1/8XAHm6y2txUnYjCKh9l93lQ==} + expo-file-system@58.0.16: + resolution: {integrity: sha512-7EKsoXw1QETu7emMh09LX2Na4HLFZv51jBVN1mhVizABOX4TOOBHcgYQlufCIi3fGHZkJJH7R97HvcwOXdbLXA==} peerDependencies: expo: '*' react-native: '*' @@ -4040,15 +4006,15 @@ packages: react: '*' react-native: '*' - expo-glass-effect@58.0.5: - resolution: {integrity: sha512-PkL1X/r0cTs6NG47Xp3TxRvtqSeRmPYhPOHp3GDmZB2oOxpjXge6qLi/bSSv0asFWqf+MLOlXZ+hq2Imuh0Z1g==} + expo-glass-effect@58.0.6: + resolution: {integrity: sha512-2lkGh1LucDm9rG6jjXf1ZoqIqfsrVaSBYPyL5PT+MDmyZIp0iFxNb3kt6rxJRH8zsSoOvre2+yHoUbD/hxxAgg==} peerDependencies: expo: '*' react: '*' react-native: '*' - expo-image@58.0.18: - resolution: {integrity: sha512-bWbFD8eBbZywr1WssV6KtcglRlpD5WpzVj+oA3hfjX1MJBN43IeB7A6EQAGXE0eGBVG93Mf2dRBmCRJ/e/Hw6g==} + expo-image@58.0.19: + resolution: {integrity: sha512-coIyqT5vv1wAcHnfqMyKeeyqj2vjGvVhihf5BTbcyf1sqLVU7tkCWyO+AA9ilmqCF0/1NkhevNLW/iu6bGaaVg==} peerDependencies: expo: '*' react: '*' @@ -4094,8 +4060,8 @@ packages: engines: {node: ^22.13.0 || ^24.3.0 || ^26.0.0 || >=27.0.0} hasBin: true - expo-modules-core@58.1.0: - resolution: {integrity: sha512-eXHOPyxHkDyTxUWnKEatC+Hx4tLoPWCPd5pCynAU4WkaBvAG/l5t/wu5jXiE5eh2CRr2NU4iAQePX2zUfNEVhA==} + expo-modules-core@58.2.1: + resolution: {integrity: sha512-OxjaJ0/v+PbnAY0UDNa5MY2WOSt+y/ma1ctQZYxJIGnAEi5AJahZ353mlLoblCNbJDENbcxEwFRkXcqal5qGkw==} peerDependencies: react: '*' react-native: '*' @@ -4104,8 +4070,8 @@ packages: react-native-worklets: optional: true - expo-modules-jsi@58.0.23: - resolution: {integrity: sha512-ex3CnT8KLubsPjUG0RpEL5VgmpnWxf7Ouc+WXEr8jEbIwqcULEWtA2tfhGZwjg6jS3zeNwjygF1w8QSstP7JfQ==} + expo-modules-jsi@58.0.24: + resolution: {integrity: sha512-xoJLTtRaCSuxAhJXY0XJn31puGK0ugzke1At92FsjsQ14N62x55JZeY/4qEgzimLP74Vk6OKyCwgHarQs/WCmw==} peerDependencies: react-native: '*' @@ -4119,12 +4085,13 @@ packages: react: '*' react-native: '*' - expo-router@58.0.32: - resolution: {integrity: sha512-UEfbsGvjGL8MJXj/NHt/elUupdJ5tUDvaHdSy0fEfIIeUnOqixr6KJZlyv9OrJyl4OYmWt8HuCHDyT5Pzqbfkw==} + expo-router@58.0.34: + resolution: {integrity: sha512-Wo6x2L6QKKIwiPq5wuIQMwlNfRV1BLmwWFcoFHtc0UVV2kQc8r6iu3DxRV+mw0rlIlzQfCQXa7jh4So/1rXvKw==} peerDependencies: '@expo/log-box': ^58.0.15 - '@expo/metro-runtime': ^58.0.17 - '@expo/ui': ^58.0.29 + '@expo/metro-runtime': ^58.0.18 + '@expo/ui': ^58.1.0 + '@react-native-masked-view/masked-view': ^0.3.2 '@testing-library/react-native': '>= 14.0.0' expo: '*' expo-constants: ^58.0.16 @@ -4143,6 +4110,8 @@ packages: peerDependenciesMeta: '@expo/ui': optional: true + '@react-native-masked-view/masked-view': + optional: true '@testing-library/react-native': optional: true expo-symbols: @@ -4160,12 +4129,12 @@ packages: react-server-dom-webpack: optional: true - expo-server@58.1.0: - resolution: {integrity: sha512-jo7I6uHnP5OQYKx3+7lbpdVVnOEwFj2ryDkQdauUQSwgh2HuMUkiFXWUIVe01ts6DLRoff5U0Tv+uNb3CMq/kw==} + expo-server@58.1.1: + resolution: {integrity: sha512-8ide8YcjOorxVBgTDokQwtq0u3etk/a01pixnosN3SdNVNerDsx3EwoQM47WYUSEn7KEQFh8r85auyvYRkbyQQ==} engines: {node: ^22.13.0 || ^24.3.0 || ^26.0.0 || >=27.0.0} - expo-splash-screen@58.0.14: - resolution: {integrity: sha512-Z05ihk8LoBX3GeUd1EiV8yG9hd1Pw9wa5AaiAFQx4c81laMVo0LX6x+0o5fXFKnBA9VjlMe5CYWQqUtZf3BCIw==} + expo-splash-screen@58.0.15: + resolution: {integrity: sha512-yPgRWGhmhdbvF7kVPOymQXtiB6l3yuDYaGM24wQY39QYPDXk004CZul2f0DWZxJwgKcmPKC65LbBrcosqnmmxQ==} peerDependencies: expo: '*' @@ -4191,8 +4160,8 @@ packages: peerDependencies: expo: '*' - expo@58.0.26: - resolution: {integrity: sha512-6i4kqt5lbcQdxmtnkkJ3JR5sn+A3L+xO45duLhh2rndvrek/chX/GTysTYozl4oL3+txKD53pDlJd75XRYf9Ow==} + expo@58.1.1: + resolution: {integrity: sha512-gl+ApNzGFJz5GFBAGy8W2heEKx+aAq6REj8PwoRWtn4DRiT5JLHLi/MwJw6lVlw+OPKBmwKXhlI7SDSuEqQdRA==} engines: {node: ^22.13.0 || ^24.3.0 || ^26.0.0 || >=27.0.0} hasBin: true peerDependencies: @@ -4355,6 +4324,10 @@ packages: resolution: {integrity: sha512-FVLYkSL/ITb/QXBEQvNWPjPooRGswuUtGOwrH+puSlMDneNkxy640+FZsk/TfKL+b7Wbw/Fg9FTUv2bMQDpj2w==} engines: {node: '>=18'} + flow-estree@0.340.0: + resolution: {integrity: sha512-LpYdzPWHsfDAc5nNmVrUPLo8UedFkJqogIxNyVO19tG7qBhvNwjs+Oo4TfWB+2Qa4arFevu3vdbxR5tfWps53g==} + engines: {node: '>=18'} + flow-parser@0.327.0: resolution: {integrity: sha512-/MYZ5hXWf5ozpbdfUDmazMgQXviLxWEiRLH3MppEGDdW0itRVqmB5UaU7QX+SBCDNiq+gEesSVn8nlxmPDyDkw==} engines: {node: '>=0.4.0'} @@ -4363,6 +4336,10 @@ packages: resolution: {integrity: sha512-vEZcHIlnKeN8JSVtYFczj8sWJfHIJOkz+YG00O/oul/Bete+t1ZhTi+O6JRRLFYvGW+yJkZ0YgL16iStnbkUqQ==} engines: {node: '>=0.4.0'} + flow-parser@0.340.0: + resolution: {integrity: sha512-zB1DgZcBVes/hHj/upWKLhukHAIkj+6g2o0yVnxCxS1Wyi/YLX513w8XpFLJ7/LUrbSE7CIHJAEZ94smHujt9Q==} + engines: {node: '>=0.4.0'} + follow-redirects@1.15.9: resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==} engines: {node: '>=4.0'} @@ -4967,8 +4944,8 @@ packages: resolution: {integrity: sha512-Ciz4KgTGIbojxSKpuFImgWJj5EyqfE8xMq9NxWmOXnQywHHS03H9Mv+vaCB29J5pr3JBrY27WbRV18rBdjh8Dg==} engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0} - jest-expo@58.0.15: - resolution: {integrity: sha512-3m7JlS6Lmay8FfhTFGitmSjktO5uIgerxRidxv223MRauZnJjfxbKzK8A/ATot8Y+1Ac9qZY518+O7RQ2Xe58Q==} + jest-expo@58.0.16: + resolution: {integrity: sha512-nQ/088pLZg0NQ2zm07r1h94jZ4bu62gOVWY41xrQ8ChTgrwqYBgBnKcNr41n0HZcZiON4ggkM9r8rEQiYn3yuA==} hasBin: true peerDependencies: '@react-native/jest-preset': ^0.88.1 @@ -5582,60 +5559,118 @@ packages: resolution: {integrity: sha512-orvRIGpb0yK1yMbk5YP3dhVKjmoxUkRB9fdltGJxNppEqus/1tFpNuf9KnGFR3Qjg0izoUrJ4z6WgoBvdkXPrA==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-babel-transformer@0.88.1: + resolution: {integrity: sha512-UYUqDS6zL2UM09HktxrV4nYyNQxjAoEjW0B4zIFWMy+V4U3cmWhmXC+PLIMd6Tx24ZNw6mlXQnRuTAaAtu8ICQ==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-cache-key@0.87.1: resolution: {integrity: sha512-scqVVPMA2c+RVO12I3wyMDp5xCkRPLsyrcG4Qc3xfU5JR0EW/0sz2tjty+5UjMUtG09uiM1KYQ8HjWg7OQXHtw==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-cache-key@0.88.1: + resolution: {integrity: sha512-vSZYpThaTMenlpNYVWF2SQNqknNwS5MKI0YDavM4m/X/gYPm5RdwOeHdioRQ9iEvdIAbhNSqLGN+XP5To6CDpA==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-cache@0.87.1: resolution: {integrity: sha512-juNPaj0Xi5tkLp8imXqvbSnEIijwKG36m7OiFFVJMqEkiURwAjkMFVek3/xpix1+LVQqO7kjVp3PvuvIM61mKQ==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-cache@0.88.1: + resolution: {integrity: sha512-AjCfGFpmnv0Phdkbjo9ALQZ+I9u9d8E92vStMSJcFOx4isKzZHvej46DOliF4Xx8HEC8vx2eyWWOlK/xyxWkxA==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-config@0.87.1: resolution: {integrity: sha512-NmkDlc/qZAdo5gTkVTuO2AKE/khemRKRH5IA+SKfqUBJigI5GqZ5TOXhmEokhlkAqzjt8dyzKhzI6FHvXoXaTQ==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-config@0.88.1: + resolution: {integrity: sha512-PMPPNSOX+nSBNsAf1X5k+VkQlMGuTOIYab5e6KmH9viMwRpDLkZG+pBsJFM+ptWCeGZcpCOEQsKL9Q4tC2zG2w==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-core@0.87.1: resolution: {integrity: sha512-xizzky/4+c/Mkznege8OW05j7bSdM39VPoEps61Se4+hf32UQujmbvLvIE9+UnP6kNEPVomk0Fw8NsBK9iRQmw==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-core@0.88.1: + resolution: {integrity: sha512-+RiI8FpWSN5cgu7mMmB6obPhs5wI7HL2+D4KG765XabVw8qhclgZupWyGC2uf5kGhK6qKfzkSDyqb4BfwxEkFQ==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-file-map@0.87.1: resolution: {integrity: sha512-9sPuNCojC3pS4vj+ZPY7FXmHGpdJeckXuKXQrDAfJvZc60AF8owRFTkI8XdwlwrmPIB2w++KraK9FMEXvC4wJw==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-file-map@0.88.1: + resolution: {integrity: sha512-/biccjtClNFI8HLV5H13Dowfh7/x7SVg7R1KVsdzyL3CkhPTEHctxMla+SoaYToGd2P7MZtgS6Q0X9//1HHF4Q==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-minify-terser@0.87.1: resolution: {integrity: sha512-YK4k1oO1wV48hfE+Nbw2rJCnAgeabzrgT/xH5ha5n9gbK4p3HYFC898cERUiyTl9vRh58CNTiXRc88f7y6PfKg==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-minify-terser@0.88.1: + resolution: {integrity: sha512-gXfnv+KG1nyfqoHcYi5fkpJ7XFjYn3u743gPb14RFaTEdv1Kcmyi33Y6pso8gJahrigH2IOTOr/Wp22LgZokgg==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-resolver@0.87.1: resolution: {integrity: sha512-FXH/brY69wT6sPxaSW8BhMmDGD/6irmBr/cL4rUi+VWwqR3pbvdcfUOfyjcHucgQ7pe5IW3xJY21eHKLVKNumQ==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-resolver@0.88.1: + resolution: {integrity: sha512-yoX9Z96IFfI0y0pFv8NGrHQedkQBdRvGn8oQt8Y99Bx0g2Ee06FUS5eqLThDcvcauQjvQkcsQ9lCsWMnyKMp6w==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-runtime@0.87.1: resolution: {integrity: sha512-kjeuSvInsM6OzBjkCQsWxnkrKZFMKtnkCl38oXWRI9lDGs2L9hGs9Tak9sQYJ9h3gtDujneB7wZio+irgqJKDw==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-runtime@0.88.1: + resolution: {integrity: sha512-hunR8xhsUkzv/FERDDODijnSNACLEAAg1Lq+rdeOMMAoFXSRT+DhYiaSdffupQs7+QvZtQeKZYHiB/5cgys5GQ==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-source-map@0.87.1: resolution: {integrity: sha512-Bqpm0PBGdy53pigIJb4HRF7QxD2pUOdgSmVh/4AWbP635kSCv+Y6ltVxUZgSnzS/QbSmzyCGijmRPlXMj2/qHw==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-source-map@0.88.1: + resolution: {integrity: sha512-uoCr5jd/IKtCKdwsCcV0tIFJ7kEzI9OmIHrbvryWo8WnNt26pcQ/1YaVvk84SSD00ZVE66tFa06GxrIKERCpcQ==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-symbolicate@0.87.1: resolution: {integrity: sha512-rcGvwabrg0lbXGRGRKl14PY3My3+dkno2jZYhdJEuH2DmjTtTkV5bYwgto4JtV/Lbe+sXE6GO1UGg654430uow==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} hasBin: true + metro-symbolicate@0.88.1: + resolution: {integrity: sha512-LmZAfmcFFuezMt6/6BAKoywD7/YIKbgR0ACtRpAVvX/RJSP1ShKMEPGQYaa9p6fl5v2EfkKgjSRh8EKqu/R74A==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + hasBin: true + metro-transform-plugins@0.87.1: resolution: {integrity: sha512-qMiJ/x+VfqumFJJSefKS6nj8uojzC29b2/aK8vlMuFABIqGjDucICEOXd2Yt6k/XMFAgAcaJvShUOT0HLyYaPw==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-transform-plugins@0.88.1: + resolution: {integrity: sha512-L5dbVayzMG7313a3mfT8FTcGKszokqW1PfdFbtn3752oV5o0XmqyAurGsW7pPDnDpUg97YyVaFDsJQUAXde4SQ==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-transform-worker@0.87.1: resolution: {integrity: sha512-VOzs3OV405FuOLYdAhqA2wsn1F9lvueDVxMDLvCKaQ44U+yknIqphJ9eMjjsGwLDZiJq9sW3DMLhjD27JxQgqQ==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro-transform-worker@0.88.1: + resolution: {integrity: sha512-z72v4RG4GB5ZbvIox+0h9fln/PIF8uZhNcu0zHTrarup62GsNtjtbNZTlvsMFJUxcfbBZvIUHx3gW8eGBUD+CQ==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + metro@0.87.1: resolution: {integrity: sha512-1oyLU9elM7hPAsKIqKooEekwxiuWr27+MZBhUROPhzcbXhMDxK64GPF/hCXwBZVp1F89ODavCrBmJtLx9WtBoQ==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} hasBin: true + metro@0.88.1: + resolution: {integrity: sha512-09CrFciy6p6GD0ZZRFs4RS2DIxVYOu49ddagp7UGVd/Nk1Z7GJfhouiZkrnrsWWNB9EixbbZVPV/5G6Dl1wPyg==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + hasBin: true + micromark-core-commonmark@2.0.3: resolution: {integrity: sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==} @@ -5731,10 +5766,6 @@ packages: resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} engines: {node: '>= 0.6'} - mime-db@1.53.0: - resolution: {integrity: sha512-oHlN/w+3MQ3rba9rqFr6V/ypF10LSkdwUysQL7GkXoTgIWeV+tcXGA852TBxH+gsh8UWoyhR1hKcoMJTuWflpg==} - engines: {node: '>= 0.6'} - mime-db@1.54.0: resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==} engines: {node: '>= 0.6'} @@ -5783,9 +5814,6 @@ packages: resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==} engines: {node: 18 || 20 || >=22} - minimatch@3.1.2: - resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - minimatch@3.1.5: resolution: {integrity: sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==} @@ -5926,8 +5954,8 @@ packages: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} - noxcturnal@0.1.14: - resolution: {integrity: sha512-dYhWwCVfxlxnyzkVvP6W+XXd7lKikl04YckNur8xV4IejmgYDPq2ykSvzA2zfYVaNgEvmWDceOVRFn3sjry69Q==} + noxcturnal@0.2.2: + resolution: {integrity: sha512-xuBaq5Xr8frnwzJncYcZSFZvcfMdDVYdnMa3WEkyBa2oCmnzMaP1/km6P5mAgC2LrLsUfURbHEjiudJ67iSUng==} engines: {node: '>=18'} np@10.0.7: @@ -5968,6 +5996,10 @@ packages: resolution: {integrity: sha512-i8iA8uij0g1YQzS8uOJPSRCgwDjO9warIHUAu1Fqj877Wc3wlfxDYBioYWgKTBF2+URVJttyDWSEpmd99nlvtQ==} engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + ob1@0.88.1: + resolution: {integrity: sha512-gvy1XbtbGSP+V2+JqcCleF8ITat+5t3I9cimDQcBxEPSjPehHgur7LjHfgempIWWVo1RywxykwSBHIC8jojBLg==} + engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0} + object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} @@ -6455,9 +6487,6 @@ packages: react-is@18.3.1: resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} - react-is@19.1.1: - resolution: {integrity: sha512-tr41fA15Vn8p4X9ntI+yCyeGSf1TlYaY5vlTZfQmeLBrFo3psOPX6HhTDnFNL9uj3EhP0KAQ80cugCl4b4BERA==} - react-is@19.3.1: resolution: {integrity: sha512-RRieF6IyxQBkcK6pP8xOHprLTPW6QjRkbGdImtqNme+/hYVwCZkLQLdlZGOhUqXwkS9IEynaGvPJtv6XB/cz0Q==} @@ -6878,10 +6907,6 @@ packages: setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} - sf-symbols-typescript@2.1.0: - resolution: {integrity: sha512-ezT7gu/SHTPIOEEoG6TF+O0m5eewl0ZDAO4AtdBi5HjsrUI6JdCG17+Q8+aKp0heM06wZKApRCn5olNbs0Wb/A==} - engines: {node: '>=10'} - sf-symbols-typescript@2.2.0: resolution: {integrity: sha512-TPbeg0b7ylrswdGCji8FRGFAKuqbpQlLbL8SOle3j1iHSs5Ob5mhvMAxWN2UItOjgALAB5Zp3fmMfj8mbWvXKw==} engines: {node: '>=10'} @@ -7958,13 +7983,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-module-imports@7.27.1': - dependencies: - '@babel/traverse': 7.29.14 - '@babel/types': 7.29.14 - transitivePeerDependencies: - - supports-color - '@babel/helper-module-imports@7.29.7': dependencies: '@babel/traverse': 7.29.14 @@ -8064,7 +8082,7 @@ snapshots: '@babel/plugin-proposal-decorators@7.28.0(@babel/core@7.29.13)': dependencies: '@babel/core': 7.29.13 - '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.29.13) + '@babel/helper-create-class-features-plugin': 7.29.13(@babel/core@7.29.13) '@babel/helper-plugin-utils': 7.29.7 '@babel/plugin-syntax-decorators': 7.27.1(@babel/core@7.29.13) transitivePeerDependencies: @@ -8183,11 +8201,6 @@ snapshots: '@babel/core': 7.29.13 '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-syntax-typescript@7.27.1(@babel/core@7.29.13)': - dependencies: - '@babel/core': 7.29.13 - '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13)': dependencies: '@babel/core': 7.29.13 @@ -8221,14 +8234,6 @@ snapshots: '@babel/core': 7.29.13 '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-transform-class-properties@7.27.1(@babel/core@7.29.13)': - dependencies: - '@babel/core': 7.29.13 - '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.29.13) - '@babel/helper-plugin-utils': 7.29.7 - transitivePeerDependencies: - - supports-color - '@babel/plugin-transform-class-properties@7.29.7(@babel/core@7.29.13)': dependencies: '@babel/core': 7.29.13 @@ -8240,20 +8245,8 @@ snapshots: '@babel/plugin-transform-class-static-block@7.28.3(@babel/core@7.29.13)': dependencies: '@babel/core': 7.29.13 - '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.29.13) - '@babel/helper-plugin-utils': 7.29.7 - transitivePeerDependencies: - - supports-color - - '@babel/plugin-transform-classes@7.28.4(@babel/core@7.29.13)': - dependencies: - '@babel/core': 7.29.13 - '@babel/helper-annotate-as-pure': 7.29.7 - '@babel/helper-compilation-targets': 7.29.13 - '@babel/helper-globals': 7.29.7 + '@babel/helper-create-class-features-plugin': 7.29.13(@babel/core@7.29.13) '@babel/helper-plugin-utils': 7.29.7 - '@babel/helper-replace-supers': 7.27.1(@babel/core@7.29.13) - '@babel/traverse': 7.29.14 transitivePeerDependencies: - supports-color @@ -8292,7 +8285,7 @@ snapshots: dependencies: '@babel/core': 7.29.13 '@babel/helper-plugin-utils': 7.29.7 - '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 + '@babel/helper-skip-transparent-expression-wrappers': 7.29.13 transitivePeerDependencies: - supports-color @@ -8301,14 +8294,6 @@ snapshots: '@babel/core': 7.29.13 '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-transform-modules-commonjs@7.27.1(@babel/core@7.29.13)': - dependencies: - '@babel/core': 7.29.13 - '@babel/helper-module-transforms': 7.29.14(@babel/core@7.29.13) - '@babel/helper-plugin-utils': 7.29.7 - transitivePeerDependencies: - - supports-color - '@babel/plugin-transform-modules-commonjs@7.29.14(@babel/core@7.29.13)': dependencies: '@babel/core': 7.29.13 @@ -8323,11 +8308,6 @@ snapshots: '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.29.13) '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-transform-nullish-coalescing-operator@7.27.1(@babel/core@7.29.13)': - dependencies: - '@babel/core': 7.29.13 - '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-transform-nullish-coalescing-operator@7.29.7(@babel/core@7.29.13)': dependencies: '@babel/core': 7.29.13 @@ -8349,14 +8329,6 @@ snapshots: '@babel/core': 7.29.13 '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-transform-optional-chaining@7.27.1(@babel/core@7.29.13)': - dependencies: - '@babel/core': 7.29.13 - '@babel/helper-plugin-utils': 7.29.7 - '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 - transitivePeerDependencies: - - supports-color - '@babel/plugin-transform-optional-chaining@7.29.7(@babel/core@7.29.13)': dependencies: '@babel/core': 7.29.13 @@ -8373,7 +8345,7 @@ snapshots: '@babel/plugin-transform-private-methods@7.27.1(@babel/core@7.29.13)': dependencies: '@babel/core': 7.29.13 - '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.29.13) + '@babel/helper-create-class-features-plugin': 7.29.13(@babel/core@7.29.13) '@babel/helper-plugin-utils': 7.29.7 transitivePeerDependencies: - supports-color @@ -8382,7 +8354,7 @@ snapshots: dependencies: '@babel/core': 7.29.13 '@babel/helper-annotate-as-pure': 7.29.7 - '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.29.13) + '@babel/helper-create-class-features-plugin': 7.29.13(@babel/core@7.29.13) '@babel/helper-plugin-utils': 7.29.7 transitivePeerDependencies: - supports-color @@ -8453,17 +8425,6 @@ snapshots: '@babel/core': 7.29.13 '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-transform-typescript@7.28.0(@babel/core@7.29.13)': - dependencies: - '@babel/core': 7.29.13 - '@babel/helper-annotate-as-pure': 7.29.7 - '@babel/helper-create-class-features-plugin': 7.28.3(@babel/core@7.29.13) - '@babel/helper-plugin-utils': 7.29.7 - '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 - '@babel/plugin-syntax-typescript': 7.27.1(@babel/core@7.29.13) - transitivePeerDependencies: - - supports-color - '@babel/plugin-transform-typescript@7.29.9(@babel/core@7.29.13)': dependencies: '@babel/core': 7.29.13 @@ -8481,17 +8442,6 @@ snapshots: '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.29.13) '@babel/helper-plugin-utils': 7.29.7 - '@babel/preset-typescript@7.27.1(@babel/core@7.29.13)': - dependencies: - '@babel/core': 7.29.13 - '@babel/helper-plugin-utils': 7.29.7 - '@babel/helper-validator-option': 7.29.7 - '@babel/plugin-syntax-jsx': 7.29.7(@babel/core@7.29.13) - '@babel/plugin-transform-modules-commonjs': 7.29.14(@babel/core@7.29.13) - '@babel/plugin-transform-typescript': 7.28.0(@babel/core@7.29.13) - transitivePeerDependencies: - - supports-color - '@babel/preset-typescript@7.29.7(@babel/core@7.29.13)': dependencies: '@babel/core': 7.29.13 @@ -8674,10 +8624,10 @@ snapshots: '@csstools/css-tokenizer@3.0.4': {} - '@dev-plugins/react-query@0.0.7(@tanstack/react-query@5.52.1(react@19.3.0))(expo@58.0.26)': + '@dev-plugins/react-query@0.0.7(@tanstack/react-query@5.52.1(react@19.3.0))(expo@58.1.1)': dependencies: '@tanstack/react-query': 5.52.1(react@19.3.0) - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) flatted: 3.3.2 '@e18e/eslint-plugin@0.2.0(eslint@9.39.4(jiti@1.21.6))': @@ -8899,29 +8849,29 @@ snapshots: '@eslint/core': 1.2.1 levn: 0.4.1 - '@expo/cli@58.1.21(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-constants@58.0.16)(expo-font@58.0.12(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(expo-router@58.0.32)(expo@58.0.26)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3)': + '@expo/cli@58.1.23(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-constants@58.0.16)(expo-font@58.0.12(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(expo-router@58.0.34)(expo@58.1.1)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3)': dependencies: 2g: 1.0.1(typescript@6.0.3) '@expo/code-signing-certificates': 0.0.7 - '@expo/config': 58.0.12(typescript@6.0.3) - '@expo/config-plugins': 58.0.13(typescript@6.0.3) + '@expo/config': 58.0.13(typescript@6.0.3) + '@expo/config-plugins': 58.0.14(typescript@6.0.3) '@expo/devcert': 1.2.2 '@expo/env': 2.6.0 '@expo/image-utils': 0.12.7(typescript@6.0.3) - '@expo/inline-modules': 0.2.10(typescript@6.0.3) + '@expo/inline-modules': 0.2.11(typescript@6.0.3) '@expo/json-file': 11.2.1 - '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) '@expo/log-box-utils': 58.0.2 - '@expo/metro': 58.0.0 - '@expo/metro-config': 58.0.23(expo@58.0.26)(typescript@6.0.3) - '@expo/metro-file-map': 58.0.6(typescript@6.0.3) + '@expo/metro': 58.1.0 + '@expo/metro-config': 58.0.25(expo@58.1.1)(typescript@6.0.3) + '@expo/metro-file-map': 58.0.8(typescript@6.0.3) '@expo/osascript': 2.8.1 '@expo/package-manager': 1.14.2 '@expo/platforms': 58.0.1 '@expo/plist': 0.10.2 - '@expo/prebuild-config': 58.0.20(typescript@6.0.3) + '@expo/prebuild-config': 58.0.21(typescript@6.0.3) '@expo/require-utils': 58.0.6(typescript@6.0.3) - '@expo/router-server': 58.0.23(@expo/metro-runtime@58.0.17)(expo-constants@58.0.16)(expo-font@58.0.12(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(expo-router@58.0.32)(expo-server@58.1.0)(expo@58.0.26)(react-dom@19.3.0(react@19.3.0))(react@19.3.0) + '@expo/router-server': 58.0.25(@expo/metro-runtime@58.0.18)(expo-constants@58.0.16)(expo-font@58.0.12(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(expo-router@58.0.34)(expo-server@58.1.1)(expo@58.1.1)(react-dom@19.3.0(react@19.3.0))(react@19.3.0) '@expo/schema-utils': 58.0.3 '@expo/spawn-async': 1.8.0 '@expo/ws-tunnel': 2.0.1(ws@8.18.3) @@ -8930,7 +8880,7 @@ snapshots: '@react-native/dev-middleware': 0.88.1 '@react-native/js-polyfills': 0.88.1 accepts: 1.3.8 - agent-cli-detector: 0.1.7 + agent-cli-detector: 0.1.8 arg: 5.0.2 bplist-creator: 0.1.0 bplist-parser: 0.3.2 @@ -8939,8 +8889,8 @@ snapshots: compression: 1.7.5 connect: 3.7.0 dnssd-advertise: 1.1.6 - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-server: 58.1.0 + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo-server: 58.1.1 fetch-nodeshim: 0.4.10 lan-network: 0.2.1 multitars: 1.0.2 @@ -8953,7 +8903,7 @@ snapshots: prompts: 2.4.2 resolve-from: 5.0.0 sandbox-cli-detector: 0.2.0 - semver: 7.8.1 + semver: 7.8.6 send: 0.19.1 slugify: 1.6.6 stacktrace-parser: 0.1.10 @@ -8964,7 +8914,7 @@ snapshots: wrap-ansi: 7.0.0 ws: 8.18.3 optionalDependencies: - expo-router: 58.0.32(dc98b791f8aae0352ce82c41f3d383d8) + expo-router: 58.0.34(233d38d7bd611bbb03499390dc1825be) react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) transitivePeerDependencies: - '@expo/dom-webview' @@ -9001,6 +8951,24 @@ snapshots: - supports-color - typescript + '@expo/config-plugins@58.0.14(typescript@6.0.3)': + dependencies: + '@expo/config-types': 58.0.3 + '@expo/json-file': 11.2.1 + '@expo/plist': 0.10.2 + '@expo/require-utils': 58.0.6(typescript@6.0.3) + '@expo/sdk-runtime-versions': 1.0.1 + chalk: 4.1.2 + debug: 4.4.3 + semver: 7.8.6 + slugify: 1.6.6 + tinyglobby: 0.2.16 + xcode: 4.0.0 + xml2js: 0.6.0 + transitivePeerDependencies: + - supports-color + - typescript + '@expo/config-types@58.0.3': {} '@expo/config@58.0.12(typescript@6.0.3)': @@ -9017,6 +8985,20 @@ snapshots: - supports-color - typescript + '@expo/config@58.0.13(typescript@6.0.3)': + dependencies: + '@expo/config-plugins': 58.0.14(typescript@6.0.3) + '@expo/config-types': 58.0.3 + '@expo/json-file': 11.2.1 + '@expo/platforms': 58.0.1 + '@expo/require-utils': 58.0.6(typescript@6.0.3) + resolve-workspace-root: 2.0.0 + semver: 7.8.6 + slugify: 1.6.6 + transitivePeerDependencies: + - supports-color + - typescript + '@expo/devcert@1.2.2': dependencies: '@expo/sudo-prompt': 9.3.2 @@ -9024,17 +9006,17 @@ snapshots: transitivePeerDependencies: - supports-color - '@expo/devtools@58.0.2(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)': + '@expo/devtools@58.0.2(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)': dependencies: chalk: 4.1.2 optionalDependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - '@expo/dom-webview@58.0.2(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)': + '@expo/dom-webview@58.0.2(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)': dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) @@ -9045,7 +9027,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@expo/fingerprint@0.21.10': + '@expo/fingerprint@0.22.0': dependencies: '@expo/env': 2.6.0 '@expo/spawn-async': 1.8.0 @@ -9055,7 +9037,7 @@ snapshots: ignore: 5.3.2 minimatch: 10.2.6 resolve-from: 5.0.0 - semver: 7.8.1 + semver: 7.8.6 transitivePeerDependencies: - supports-color @@ -9066,14 +9048,14 @@ snapshots: chalk: 4.1.2 jimp-compact: 0.16.1 parse-png: 2.1.0 - semver: 7.8.1 + semver: 7.8.6 transitivePeerDependencies: - supports-color - typescript - '@expo/inline-modules@0.2.10(typescript@6.0.3)': + '@expo/inline-modules@0.2.11(typescript@6.0.3)': dependencies: - '@expo/config-plugins': 58.0.13(typescript@6.0.3) + '@expo/config-plugins': 58.0.14(typescript@6.0.3) transitivePeerDependencies: - supports-color - typescript @@ -9083,9 +9065,9 @@ snapshots: '@babel/code-frame': 7.29.7 json5: 2.2.3 - '@expo/local-build-cache-provider@58.0.12(typescript@6.0.3)': + '@expo/local-build-cache-provider@58.0.13(typescript@6.0.3)': dependencies: - '@expo/config': 58.0.12(typescript@6.0.3) + '@expo/config': 58.0.13(typescript@6.0.3) chalk: 4.1.2 transitivePeerDependencies: - supports-color @@ -9093,27 +9075,27 @@ snapshots: '@expo/log-box-utils@58.0.2': {} - '@expo/log-box@58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)': + '@expo/log-box@58.0.15(@expo/dom-webview@58.0.2)(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)': dependencies: - '@expo/dom-webview': 58.0.2(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + '@expo/dom-webview': 58.0.2(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) '@expo/log-box-utils': 58.0.2 anser: 1.4.10 react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) stacktrace-parser: 0.1.10 optionalDependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - '@expo/metro-config@58.0.23(expo@58.0.26)(typescript@6.0.3)': + '@expo/metro-config@58.0.25(expo@58.1.1)(typescript@6.0.3)': dependencies: 2g: 1.0.1(typescript@6.0.3) '@babel/code-frame': 7.29.7 '@babel/core': 7.29.13 '@babel/generator': 7.29.14 - '@expo/config': 58.0.12(typescript@6.0.3) + '@expo/config': 58.0.13(typescript@6.0.3) '@expo/env': 2.6.0 '@expo/json-file': 11.2.1 - '@expo/metro': 58.0.0 + '@expo/metro': 58.1.0 '@expo/platforms': 58.0.1 '@expo/require-utils': 58.0.6(typescript@6.0.3) '@expo/spawn-async': 1.8.0 @@ -9128,36 +9110,35 @@ snapshots: hermes-parser: 0.36.1 jsc-safe-url: 0.2.4 lightningcss: 1.30.2 - noxcturnal: 0.1.14 + noxcturnal: 0.2.2 picomatch: 4.0.4 postcss: 8.5.33 resolve-from: 5.0.0 tinyglobby: 0.2.16 optionalDependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) transitivePeerDependencies: - bufferutil - supports-color - typescript - utf-8-validate - '@expo/metro-file-map@58.0.6(typescript@6.0.3)': + '@expo/metro-file-map@58.0.8(typescript@6.0.3)': dependencies: 2g: 1.0.1(typescript@6.0.3) debug: 4.4.3 fb-watchman: 2.0.2 invariant: 2.2.4 jest-worker: 29.7.0 - walker: 1.0.8 transitivePeerDependencies: - supports-color - typescript - '@expo/metro-runtime@58.0.17(@expo/log-box@58.0.15)(expo@58.0.26)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)': + '@expo/metro-runtime@58.0.18(@expo/log-box@58.0.15)(expo@58.1.1)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)': dependencies: - '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) anser: 1.4.10 - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) pretty-format: 29.7.0 react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) @@ -9166,22 +9147,22 @@ snapshots: optionalDependencies: react-dom: 19.3.0(react@19.3.0) - '@expo/metro@58.0.0': - dependencies: - metro: 0.87.1 - metro-babel-transformer: 0.87.1 - metro-cache: 0.87.1 - metro-cache-key: 0.87.1 - metro-config: 0.87.1 - metro-core: 0.87.1 - metro-file-map: 0.87.1 - metro-minify-terser: 0.87.1 - metro-resolver: 0.87.1 - metro-runtime: 0.87.1 - metro-source-map: 0.87.1 - metro-symbolicate: 0.87.1 - metro-transform-plugins: 0.87.1 - metro-transform-worker: 0.87.1 + '@expo/metro@58.1.0': + dependencies: + metro: 0.88.1 + metro-babel-transformer: 0.88.1 + metro-cache: 0.88.1 + metro-cache-key: 0.88.1 + metro-config: 0.88.1 + metro-core: 0.88.1 + metro-file-map: 0.88.1 + metro-minify-terser: 0.88.1 + metro-resolver: 0.88.1 + metro-runtime: 0.88.1 + metro-source-map: 0.88.1 + metro-symbolicate: 0.88.1 + metro-transform-plugins: 0.88.1 + metro-transform-worker: 0.88.1 transitivePeerDependencies: - bufferutil - supports-color @@ -9219,10 +9200,10 @@ snapshots: '@xmldom/xmldom': 0.8.10 xmlbuilder: 15.1.1 - '@expo/prebuild-config@58.0.20(typescript@6.0.3)': + '@expo/prebuild-config@58.0.21(typescript@6.0.3)': dependencies: - '@expo/config': 58.0.12(typescript@6.0.3) - '@expo/config-plugins': 58.0.13(typescript@6.0.3) + '@expo/config': 58.0.13(typescript@6.0.3) + '@expo/config-plugins': 58.0.14(typescript@6.0.3) '@expo/config-types': 58.0.3 '@expo/image-utils': 0.12.7(typescript@6.0.3) '@expo/json-file': 11.2.1 @@ -9230,7 +9211,7 @@ snapshots: debug: 4.4.3 expo-modules-autolinking: 58.1.0(typescript@6.0.3) resolve-from: 5.0.0 - semver: 7.8.1 + semver: 7.8.6 transitivePeerDependencies: - supports-color - typescript @@ -9245,17 +9226,17 @@ snapshots: transitivePeerDependencies: - supports-color - '@expo/router-server@58.0.23(@expo/metro-runtime@58.0.17)(expo-constants@58.0.16)(expo-font@58.0.12(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(expo-router@58.0.32)(expo-server@58.1.0)(expo@58.0.26)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)': + '@expo/router-server@58.0.25(@expo/metro-runtime@58.0.18)(expo-constants@58.0.16)(expo-font@58.0.12(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(expo-router@58.0.34)(expo-server@58.1.1)(expo@58.1.1)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)': dependencies: debug: 4.4.3 - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-constants: 58.0.16(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) - expo-font: 58.0.12(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) - expo-server: 58.1.0 + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo-constants: 58.0.16(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) + expo-font: 58.0.12(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + expo-server: 58.1.1 react: 19.3.0 optionalDependencies: - '@expo/metro-runtime': 58.0.17(@expo/log-box@58.0.15)(expo@58.0.26)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) - expo-router: 58.0.32(dc98b791f8aae0352ce82c41f3d383d8) + '@expo/metro-runtime': 58.0.18(@expo/log-box@58.0.15)(expo@58.1.1)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + expo-router: 58.0.34(233d38d7bd611bbb03499390dc1825be) react-dom: 19.3.0(react@19.3.0) transitivePeerDependencies: - supports-color @@ -9906,28 +9887,28 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@noxcturnal/noxcturnal-darwin-arm64@0.1.14': + '@noxcturnal/noxcturnal-darwin-arm64@0.2.2': optional: true - '@noxcturnal/noxcturnal-darwin-x64@0.1.14': + '@noxcturnal/noxcturnal-darwin-x64@0.2.2': optional: true - '@noxcturnal/noxcturnal-linux-arm64-gnu@0.1.14': + '@noxcturnal/noxcturnal-linux-arm64-gnu@0.2.2': optional: true - '@noxcturnal/noxcturnal-linux-arm64-musl@0.1.14': + '@noxcturnal/noxcturnal-linux-arm64-musl@0.2.2': optional: true - '@noxcturnal/noxcturnal-linux-x64-gnu@0.1.14': + '@noxcturnal/noxcturnal-linux-x64-gnu@0.2.2': optional: true - '@noxcturnal/noxcturnal-linux-x64-musl@0.1.14': + '@noxcturnal/noxcturnal-linux-x64-musl@0.2.2': optional: true - '@noxcturnal/noxcturnal-win32-arm64-msvc@0.1.14': + '@noxcturnal/noxcturnal-win32-arm64-msvc@0.2.2': optional: true - '@noxcturnal/noxcturnal-win32-x64-msvc@0.1.14': + '@noxcturnal/noxcturnal-win32-x64-msvc@0.2.2': optional: true '@ota-meshi/ast-token-store@0.3.0': {} @@ -10133,6 +10114,7 @@ snapshots: dependencies: react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) + optional: true '@react-native/asset-utils@0.88.1': {} @@ -10268,7 +10250,9 @@ snapshots: metro-runtime: 0.87.1 transitivePeerDependencies: - '@babel/core' + - bufferutil - supports-color + - utf-8-validate '@react-native/normalize-colors@0.74.88': {} @@ -10399,6 +10383,10 @@ snapshots: dependencies: '@babel/types': 7.29.14 + '@types/connect@3.4.38': + dependencies: + '@types/node': 22.9.1 + '@types/conventional-commits-parser@5.0.0': dependencies: '@types/node': 22.9.1 @@ -10478,18 +10466,28 @@ snapshots: dependencies: csstype: 3.2.4 + '@types/source-map@0.5.2': {} + '@types/stack-utils@2.0.3': {} '@types/tough-cookie@4.0.5': {} '@types/unist@3.0.3': {} + '@types/ws@7.4.7': + dependencies: + '@types/node': 22.9.1 + '@types/yargs-parser@21.0.3': {} '@types/yargs@17.0.33': dependencies: '@types/yargs-parser': 21.0.3 + '@types/yargs@17.0.35': + dependencies: + '@types/yargs-parser': 21.0.3 + '@typescript-eslint/eslint-plugin@8.60.0(@typescript-eslint/parser@8.60.0(eslint@9.39.4(jiti@1.21.6))(typescript@6.0.3))(eslint@9.39.4(jiti@1.21.6))(typescript@6.0.3)': dependencies: '@eslint-community/regexpp': 4.12.2 @@ -10793,7 +10791,7 @@ snapshots: agent-base@7.1.4: {} - agent-cli-detector@0.1.7: {} + agent-cli-detector@0.1.8: {} aggregate-error@4.0.1: dependencies: @@ -11040,10 +11038,10 @@ snapshots: '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.29.13) '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.29.13) - babel-preset-expo@58.0.26(@babel/core@7.29.13)(@babel/runtime@7.26.0)(expo@58.0.26)(react-refresh@0.14.2): + babel-preset-expo@58.0.28(@babel/core@7.29.13)(@babel/runtime@7.26.0)(expo@58.1.1)(react-refresh@0.14.2): dependencies: '@babel/generator': 7.29.14 - '@babel/helper-module-imports': 7.27.1 + '@babel/helper-module-imports': 7.29.7 '@babel/plugin-proposal-decorators': 7.28.0(@babel/core@7.29.13) '@babel/plugin-proposal-export-default-from': 7.27.1(@babel/core@7.29.13) '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.29.13) @@ -11053,20 +11051,20 @@ snapshots: '@babel/plugin-transform-async-generator-functions': 7.28.0(@babel/core@7.29.13) '@babel/plugin-transform-async-to-generator': 7.27.1(@babel/core@7.29.13) '@babel/plugin-transform-block-scoping': 7.28.4(@babel/core@7.29.13) - '@babel/plugin-transform-class-properties': 7.27.1(@babel/core@7.29.13) + '@babel/plugin-transform-class-properties': 7.29.7(@babel/core@7.29.13) '@babel/plugin-transform-class-static-block': 7.28.3(@babel/core@7.29.13) - '@babel/plugin-transform-classes': 7.28.4(@babel/core@7.29.13) + '@babel/plugin-transform-classes': 7.29.11(@babel/core@7.29.13) '@babel/plugin-transform-destructuring': 7.28.0(@babel/core@7.29.13) '@babel/plugin-transform-export-namespace-from': 7.27.1(@babel/core@7.29.13) '@babel/plugin-transform-flow-strip-types': 7.27.1(@babel/core@7.29.13) '@babel/plugin-transform-for-of': 7.27.1(@babel/core@7.29.13) '@babel/plugin-transform-logical-assignment-operators': 7.27.1(@babel/core@7.29.13) - '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.29.13) + '@babel/plugin-transform-modules-commonjs': 7.29.14(@babel/core@7.29.13) '@babel/plugin-transform-named-capturing-groups-regex': 7.27.1(@babel/core@7.29.13) - '@babel/plugin-transform-nullish-coalescing-operator': 7.27.1(@babel/core@7.29.13) + '@babel/plugin-transform-nullish-coalescing-operator': 7.29.7(@babel/core@7.29.13) '@babel/plugin-transform-object-rest-spread': 7.28.4(@babel/core@7.29.13) '@babel/plugin-transform-optional-catch-binding': 7.27.1(@babel/core@7.29.13) - '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/core@7.29.13) + '@babel/plugin-transform-optional-chaining': 7.29.7(@babel/core@7.29.13) '@babel/plugin-transform-parameters': 7.27.7(@babel/core@7.29.13) '@babel/plugin-transform-private-methods': 7.27.1(@babel/core@7.29.13) '@babel/plugin-transform-private-property-in-object': 7.27.1(@babel/core@7.29.13) @@ -11075,9 +11073,9 @@ snapshots: '@babel/plugin-transform-react-jsx-development': 7.27.1(@babel/core@7.29.13) '@babel/plugin-transform-react-pure-annotations': 7.27.1(@babel/core@7.29.13) '@babel/plugin-transform-runtime': 7.28.3(@babel/core@7.29.13) - '@babel/plugin-transform-typescript': 7.28.0(@babel/core@7.29.13) + '@babel/plugin-transform-typescript': 7.29.9(@babel/core@7.29.13) '@babel/plugin-transform-unicode-regex': 7.27.1(@babel/core@7.29.13) - '@babel/preset-typescript': 7.27.1(@babel/core@7.29.13) + '@babel/preset-typescript': 7.29.7(@babel/core@7.29.13) '@react-native/babel-plugin-codegen': 0.88.1(@babel/core@7.29.13) babel-plugin-react-compiler: 1.0.0 babel-plugin-react-native-web: 0.21.4 @@ -11087,7 +11085,7 @@ snapshots: react-refresh: 0.14.2 optionalDependencies: '@babel/runtime': 7.26.0 - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) transitivePeerDependencies: - '@babel/core' - supports-color @@ -11390,7 +11388,7 @@ snapshots: compressible@2.0.18: dependencies: - mime-db: 1.53.0 + mime-db: 1.54.0 compression@1.7.5: dependencies: @@ -11724,7 +11722,7 @@ snapshots: eslint-compat-utils@0.5.1(eslint@9.39.4(jiti@1.21.6)): dependencies: eslint: 9.39.4(jiti@1.21.6) - semver: 7.8.1 + semver: 7.8.6 eslint-config-flat-gitignore@2.3.0(eslint@9.39.4(jiti@1.21.6)): dependencies: @@ -12245,87 +12243,87 @@ snapshots: jest-mock: 30.5.2 jest-util: 30.5.1 - expo-asset@58.0.21(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3): + expo-asset@58.0.21(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3): dependencies: '@expo/image-utils': 0.12.7(typescript@6.0.3) - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-constants: 58.0.16(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo-constants: 58.0.16(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) transitivePeerDependencies: - supports-color - typescript - expo-build-properties@58.0.12(expo@58.0.26): + expo-build-properties@58.0.12(expo@58.1.1): dependencies: '@expo/schema-utils': 58.0.3 - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) resolve-from: 5.0.0 semver: 7.8.1 - expo-constants@58.0.16(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3): + expo-constants@58.0.16(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3): dependencies: '@expo/env': 2.6.0 '@expo/require-utils': 58.0.6(typescript@6.0.3) - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) transitivePeerDependencies: - supports-color - typescript - expo-crypto@58.0.8(expo@58.0.26): + expo-crypto@58.0.9(expo@58.1.1): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-dev-client@58.0.21(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): + expo-dev-client@58.0.22(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-dev-launcher: 58.0.21(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) - expo-dev-menu: 58.0.13(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) - expo-dev-menu-interface: 58.0.2(expo@58.0.26) - expo-manifests: 58.0.1(expo@58.0.26) - expo-updates-interface: 58.0.1(expo@58.0.26) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo-dev-launcher: 58.1.0(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) + expo-dev-menu: 58.0.13(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) + expo-dev-menu-interface: 58.0.2(expo@58.1.1) + expo-manifests: 58.0.1(expo@58.1.1) + expo-updates-interface: 58.0.1(expo@58.1.1) transitivePeerDependencies: - react-native - expo-dev-launcher@58.0.21(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): + expo-dev-launcher@58.1.0(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): dependencies: '@expo/schema-utils': 58.0.3 - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-dev-menu: 58.0.13(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) - expo-manifests: 58.0.1(expo@58.0.26) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo-dev-menu: 58.0.13(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) + expo-manifests: 58.0.1(expo@58.1.1) react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - expo-dev-menu-interface@58.0.2(expo@58.0.26): + expo-dev-menu-interface@58.0.2(expo@58.1.1): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-dev-menu@58.0.13(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): + expo-dev-menu@58.0.13(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-dev-menu-interface: 58.0.2(expo@58.0.26) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo-dev-menu-interface: 58.0.2(expo@58.1.1) react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - expo-file-system@58.0.14(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): + expo-file-system@58.0.16(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - expo-font@58.0.12(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): + expo-font@58.0.12(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - expo-glass-effect@58.0.5(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): + expo-glass-effect@58.0.6(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - expo-image@58.0.18(expo@58.0.26)(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): + expo-image@58.0.19(expo@58.1.1)(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) sf-symbols-typescript: 2.2.0 @@ -12334,15 +12332,15 @@ snapshots: expo-json-utils@58.0.1: {} - expo-keep-awake@58.0.4(expo@58.0.26)(react@19.3.0): + expo-keep-awake@58.0.4(expo@58.1.1)(react@19.3.0): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react: 19.3.0 - expo-linking@58.0.17(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3): + expo-linking@58.0.17(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-constants: 58.0.16(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo-constants: 58.0.16(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) invariant: 2.2.4 react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) @@ -12350,15 +12348,15 @@ snapshots: - supports-color - typescript - expo-localization@58.0.5(expo@58.0.26)(react@19.3.0): + expo-localization@58.0.5(expo@58.1.1)(react@19.3.0): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react: 19.3.0 rtl-detect: 1.1.2 - expo-manifests@58.0.1(expo@58.0.26): + expo-manifests@58.0.1(expo@58.1.1): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) expo-json-utils: 58.0.1 expo-modules-autolinking@58.1.0(typescript@6.0.3): @@ -12377,9 +12375,9 @@ snapshots: '@babel/parser': 7.29.14 arg: 5.0.2 - expo-modules-core@58.1.0(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): + expo-modules-core@58.2.1(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: - expo-modules-jsi: 58.0.23(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) + expo-modules-jsi: 58.0.24(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) expo-modules-macros: 0.33.0 invariant: 2.2.4 react: 19.3.0 @@ -12387,7 +12385,7 @@ snapshots: optionalDependencies: react-native-worklets: 0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) - expo-modules-jsi@58.0.23(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): + expo-modules-jsi@58.0.24(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): dependencies: react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) @@ -12398,43 +12396,43 @@ snapshots: '@expo/modules-macros-win32-arm64': 0.33.0 '@expo/modules-macros-win32-x64': 0.33.0 - expo-navigation-bar@58.0.4(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): + expo-navigation-bar@58.0.4(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: debug: 4.4.3 - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) transitivePeerDependencies: - supports-color - expo-router@58.0.32(dc98b791f8aae0352ce82c41f3d383d8): + expo-router@58.0.34(233d38d7bd611bbb03499390dc1825be): dependencies: - '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) - '@expo/metro-runtime': 58.0.17(@expo/log-box@58.0.15)(expo@58.0.26)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + '@expo/metro-runtime': 58.0.18(@expo/log-box@58.0.15)(expo@58.1.1)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) '@expo/schema-utils': 58.0.3 '@radix-ui/react-slot': 1.2.3(@types/react@19.3.0)(react@19.3.0) '@radix-ui/react-tabs': 1.1.13(@types/react@19.3.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0) - '@react-native-masked-view/masked-view': 0.3.2(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) '@react-native/normalize-colors': 0.88.1 client-only: 0.0.1 - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-constants: 58.0.16(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) - expo-glass-effect: 58.0.5(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) - expo-linking: 58.0.17(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-server: 58.1.0 - expo-status-bar: 58.0.5(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo-constants: 58.0.16(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) + expo-glass-effect: 58.0.6(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + expo-linking: 58.0.17(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo-server: 58.1.1 + expo-status-bar: 58.0.5(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) nanoid: 3.3.20 react: 19.3.0 react-fast-compare: 3.2.2 - react-is: 19.1.1 + react-is: 19.3.1 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) react-native-drawer-layout: 4.2.13(react-native-gesture-handler@3.3.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-reanimated@4.7.1(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) react-native-safe-area-context: 5.11.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) react-native-screens: 4.30.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) server-only: 0.0.1 - sf-symbols-typescript: 2.1.0 + sf-symbols-typescript: 2.2.0 standard-navigation: 0.0.5 optionalDependencies: + '@react-native-masked-view/masked-view': 0.3.2(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) '@testing-library/react-native': 12.7.2(jest@30.5.2(@types/node@22.9.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react-test-renderer@19.1.0(react@19.3.0))(react@19.3.0) react-dom: 19.3.0(react@19.3.0) react-native-gesture-handler: 3.3.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) @@ -12445,70 +12443,70 @@ snapshots: - '@types/react' - '@types/react-dom' - expo-server@58.1.0: {} + expo-server@58.1.1: {} - expo-splash-screen@58.0.14(expo@58.0.26)(typescript@6.0.3): + expo-splash-screen@58.0.15(expo@58.1.1)(typescript@6.0.3): dependencies: - '@expo/config-plugins': 58.0.13(typescript@6.0.3) + '@expo/config-plugins': 58.0.14(typescript@6.0.3) '@expo/image-utils': 0.12.7(typescript@6.0.3) - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) xml2js: 0.6.0 transitivePeerDependencies: - supports-color - typescript - expo-status-bar@58.0.5(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): + expo-status-bar@58.0.5(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - expo-system-ui@58.0.7(expo@58.0.26)(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): + expo-system-ui@58.0.7(expo@58.1.1)(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): dependencies: '@react-native/normalize-colors': 0.88.1 debug: 4.4.3 - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) optionalDependencies: react-native-web: 0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0) transitivePeerDependencies: - supports-color - expo-updates-interface@58.0.1(expo@58.0.26): + expo-updates-interface@58.0.1(expo@58.1.1): dependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo@58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3): + expo@58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3): dependencies: '@babel/runtime': 7.26.0 - '@expo/cli': 58.1.21(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-constants@58.0.16)(expo-font@58.0.12(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(expo-router@58.0.32)(expo@58.0.26)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - '@expo/config': 58.0.12(typescript@6.0.3) - '@expo/config-plugins': 58.0.13(typescript@6.0.3) - '@expo/devtools': 58.0.2(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) - '@expo/fingerprint': 0.21.10 - '@expo/local-build-cache-provider': 58.0.12(typescript@6.0.3) - '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + '@expo/cli': 58.1.23(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-constants@58.0.16)(expo-font@58.0.12(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(expo-router@58.0.34)(expo@58.1.1)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + '@expo/config': 58.0.13(typescript@6.0.3) + '@expo/config-plugins': 58.0.14(typescript@6.0.3) + '@expo/devtools': 58.0.2(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + '@expo/fingerprint': 0.22.0 + '@expo/local-build-cache-provider': 58.0.13(typescript@6.0.3) + '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) '@expo/log-box-utils': 58.0.2 - '@expo/metro': 58.0.0 - '@expo/metro-config': 58.0.23(expo@58.0.26)(typescript@6.0.3) + '@expo/metro': 58.1.0 + '@expo/metro-config': 58.0.25(expo@58.1.1)(typescript@6.0.3) '@ungap/structured-clone': 1.3.0 - babel-preset-expo: 58.0.26(@babel/core@7.29.13)(@babel/runtime@7.26.0)(expo@58.0.26)(react-refresh@0.14.2) - expo-asset: 58.0.21(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-constants: 58.0.16(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) - expo-file-system: 58.0.14(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) - expo-font: 58.0.12(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) - expo-keep-awake: 58.0.4(expo@58.0.26)(react@19.3.0) + babel-preset-expo: 58.0.28(@babel/core@7.29.13)(@babel/runtime@7.26.0)(expo@58.1.1)(react-refresh@0.14.2) + expo-asset: 58.0.21(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo-constants: 58.0.16(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) + expo-file-system: 58.0.16(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)) + expo-font: 58.0.12(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + expo-keep-awake: 58.0.4(expo@58.1.1)(react@19.3.0) expo-modules-autolinking: 58.1.0(typescript@6.0.3) expo-modules-cli: 0.5.0 - expo-modules-core: 58.1.0(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + expo-modules-core: 58.2.1(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) pretty-format: 29.7.0 react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) react-refresh: 0.14.2 whatwg-url-minimum: 0.2.0 optionalDependencies: - '@expo/dom-webview': 58.0.2(expo@58.0.26)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) - '@expo/metro-runtime': 58.0.17(@expo/log-box@58.0.15)(expo@58.0.26)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + '@expo/dom-webview': 58.0.2(expo@58.1.1)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + '@expo/metro-runtime': 58.0.18(@expo/log-box@58.0.15)(expo@58.1.1)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) react-dom: 19.3.0(react@19.3.0) react-native-web: 0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0) react-native-webview: 14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) @@ -12674,6 +12672,8 @@ snapshots: flow-estree@0.331.0: {} + flow-estree@0.340.0: {} + flow-parser@0.327.0: dependencies: flow-estree: 0.327.0 @@ -12682,6 +12682,10 @@ snapshots: dependencies: flow-estree: 0.331.0 + flow-parser@0.340.0: + dependencies: + flow-estree: 0.340.0 + follow-redirects@1.15.9: {} foreground-child@3.3.0: @@ -12782,7 +12786,7 @@ snapshots: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 3.1.2 + minimatch: 3.1.5 once: 1.4.0 path-is-absolute: 1.0.1 @@ -12986,7 +12990,7 @@ snapshots: cli-width: 2.2.1 external-editor: 3.1.0 figures: 2.0.0 - lodash: 4.17.21 + lodash: 4.18.1 mute-stream: 0.0.7 run-async: 2.4.1 rxjs: 6.6.7 @@ -13002,7 +13006,7 @@ snapshots: cli-width: 3.0.0 external-editor: 3.1.0 figures: 3.2.0 - lodash: 4.17.21 + lodash: 4.18.1 mute-stream: 0.0.8 run-async: 2.4.1 rxjs: 6.6.7 @@ -13352,7 +13356,7 @@ snapshots: jest-util: 30.5.1 jest-validate: 30.5.1 - jest-expo@58.0.15(@babel/core@7.29.13)(@react-native/jest-preset@0.88.1(@babel/core@7.29.13)(react@19.3.0))(@types/react@19.3.0)(expo@58.0.26)(jest@30.5.2(@types/node@22.9.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): + jest-expo@58.0.16(@babel/core@7.29.13)(@react-native/jest-preset@0.88.1(@babel/core@7.29.13)(react@19.3.0))(@types/react@19.3.0)(expo@58.1.1)(jest@30.5.2(@types/node@22.9.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: '@jest/create-cache-key-function': 30.5.1 '@jest/globals': 30.5.2 @@ -13372,7 +13376,7 @@ snapshots: stacktrace-js: 2.0.2 test-renderer: 1.3.0(@types/react@19.3.0)(react@19.3.0) optionalDependencies: - expo: 58.0.26(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.32)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) + expo: 58.1.1(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.18)(expo-router@58.0.34)(react-dom@19.3.0(react@19.3.0))(react-native-web@0.21.4(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(react-native-webview@14.0.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) transitivePeerDependencies: - '@babel/core' - '@types/react' @@ -13577,7 +13581,7 @@ snapshots: jest-message-util: 30.5.1 jest-util: 30.5.1 pretty-format: 30.5.1 - semver: 7.8.1 + semver: 7.8.6 synckit: 0.11.12 transitivePeerDependencies: - supports-color @@ -14215,10 +14219,26 @@ snapshots: transitivePeerDependencies: - supports-color + metro-babel-transformer@0.88.1: + dependencies: + '@babel/core': 7.29.13 + '@babel/types': 7.29.14 + '@types/babel__core': 7.20.5 + flow-enums-runtime: 0.0.6 + flow-parser: 0.340.0 + metro-cache-key: 0.88.1 + nullthrows: 1.1.1 + transitivePeerDependencies: + - supports-color + metro-cache-key@0.87.1: dependencies: flow-enums-runtime: 0.0.6 + metro-cache-key@0.88.1: + dependencies: + flow-enums-runtime: 0.0.6 + metro-cache@0.87.1: dependencies: exponential-backoff: 3.1.1 @@ -14228,6 +14248,15 @@ snapshots: transitivePeerDependencies: - supports-color + metro-cache@0.88.1: + dependencies: + exponential-backoff: 3.1.1 + flow-enums-runtime: 0.0.6 + https-proxy-agent: 7.0.6 + metro-core: 0.88.1 + transitivePeerDependencies: + - supports-color + metro-config@0.87.1: dependencies: connect: 3.7.0 @@ -14242,12 +14271,31 @@ snapshots: - supports-color - utf-8-validate + metro-config@0.88.1: + dependencies: + '@types/connect': 3.4.38 + connect: 3.7.0 + flow-enums-runtime: 0.0.6 + jest-validate: 29.7.0 + metro: 0.88.1 + metro-cache: 0.88.1 + metro-core: 0.88.1 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + metro-core@0.87.1: dependencies: flow-enums-runtime: 0.0.6 lodash.throttle: 4.1.1 metro-resolver: 0.87.1 + metro-core@0.88.1: + dependencies: + flow-enums-runtime: 0.0.6 + metro-resolver: 0.88.1 + metro-file-map@0.87.1: dependencies: debug: 4.4.3 @@ -14261,20 +14309,45 @@ snapshots: transitivePeerDependencies: - supports-color + metro-file-map@0.88.1: + dependencies: + debug: 4.4.3 + fb-watchman: 2.0.2 + flow-enums-runtime: 0.0.6 + invariant: 2.2.4 + jest-worker: 29.7.0 + nullthrows: 1.1.1 + transitivePeerDependencies: + - supports-color + metro-minify-terser@0.87.1: dependencies: flow-enums-runtime: 0.0.6 terser: 5.36.0 + metro-minify-terser@0.88.1: + dependencies: + flow-enums-runtime: 0.0.6 + terser: 5.36.0 + metro-resolver@0.87.1: dependencies: flow-enums-runtime: 0.0.6 + metro-resolver@0.88.1: + dependencies: + flow-enums-runtime: 0.0.6 + metro-runtime@0.87.1: dependencies: '@babel/runtime': 7.26.0 flow-enums-runtime: 0.0.6 + metro-runtime@0.88.1: + dependencies: + '@babel/runtime': 7.26.0 + flow-enums-runtime: 0.0.6 + metro-source-map@0.87.1: dependencies: '@babel/traverse': 7.29.14 @@ -14289,6 +14362,21 @@ snapshots: transitivePeerDependencies: - supports-color + metro-source-map@0.88.1: + dependencies: + '@babel/core': 7.29.13 + '@babel/traverse': 7.29.14 + '@babel/types': 7.29.14 + '@types/babel__core': 7.20.5 + flow-enums-runtime: 0.0.6 + invariant: 2.2.4 + metro-symbolicate: 0.88.1 + nullthrows: 1.1.1 + ob1: 0.88.1 + source-map: 0.5.7 + transitivePeerDependencies: + - supports-color + metro-symbolicate@0.87.1: dependencies: flow-enums-runtime: 0.0.6 @@ -14300,6 +14388,18 @@ snapshots: transitivePeerDependencies: - supports-color + metro-symbolicate@0.88.1: + dependencies: + '@types/source-map': 0.5.2 + flow-enums-runtime: 0.0.6 + invariant: 2.2.4 + metro-source-map: 0.88.1 + nullthrows: 1.1.1 + source-map: 0.5.7 + vlq: 1.0.1 + transitivePeerDependencies: + - supports-color + metro-transform-plugins@0.87.1: dependencies: '@babel/core': 7.29.13 @@ -14311,6 +14411,20 @@ snapshots: transitivePeerDependencies: - supports-color + metro-transform-plugins@0.88.1: + dependencies: + '@babel/core': 7.29.13 + '@babel/generator': 7.29.14 + '@babel/template': 7.29.7 + '@babel/traverse': 7.29.14 + '@babel/types': 7.29.14 + '@types/babel__core': 7.20.5 + '@types/babel__traverse': 7.20.6 + flow-enums-runtime: 0.0.6 + nullthrows: 1.1.1 + transitivePeerDependencies: + - supports-color + metro-transform-worker@0.87.1: dependencies: '@babel/core': 7.29.13 @@ -14331,6 +14445,27 @@ snapshots: - supports-color - utf-8-validate + metro-transform-worker@0.88.1: + dependencies: + '@babel/core': 7.29.13 + '@babel/generator': 7.29.14 + '@babel/parser': 7.29.14 + '@babel/types': 7.29.14 + '@jridgewell/sourcemap-codec': 1.5.5 + flow-enums-runtime: 0.0.6 + metro: 0.88.1 + metro-babel-transformer: 0.88.1 + metro-cache: 0.88.1 + metro-cache-key: 0.88.1 + metro-minify-terser: 0.88.1 + metro-source-map: 0.88.1 + metro-transform-plugins: 0.88.1 + nullthrows: 1.1.1 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + metro@0.87.1: dependencies: '@babel/code-frame': 7.29.7 @@ -14375,6 +14510,53 @@ snapshots: - supports-color - utf-8-validate + metro@0.88.1: + dependencies: + '@babel/code-frame': 7.29.7 + '@babel/core': 7.29.13 + '@babel/generator': 7.29.14 + '@babel/parser': 7.29.14 + '@babel/template': 7.29.7 + '@babel/traverse': 7.29.14 + '@babel/types': 7.29.14 + '@types/babel__core': 7.20.5 + '@types/babel__traverse': 7.20.6 + '@types/connect': 3.4.38 + '@types/ws': 7.4.7 + '@types/yargs': 17.0.35 + accepts: 2.0.0 + connect: 3.7.0 + debug: 4.4.3 + error-stack-parser: 2.1.4 + flow-enums-runtime: 0.0.6 + flow-parser: 0.340.0 + invariant: 2.2.4 + jest-worker: 29.7.0 + jsc-safe-url: 0.2.4 + metro-babel-transformer: 0.88.1 + metro-cache: 0.88.1 + metro-cache-key: 0.88.1 + metro-config: 0.88.1 + metro-core: 0.88.1 + metro-file-map: 0.88.1 + metro-resolver: 0.88.1 + metro-runtime: 0.88.1 + metro-source-map: 0.88.1 + metro-symbolicate: 0.88.1 + metro-transform-plugins: 0.88.1 + metro-transform-worker: 0.88.1 + mime-types: 3.0.2 + nullthrows: 1.1.1 + serialize-error: 2.1.0 + source-map: 0.5.7 + throat: 5.0.0 + ws: 7.5.10 + yargs: 17.7.2 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + micromark-core-commonmark@2.0.3: dependencies: decode-named-character-reference: 1.3.0 @@ -14580,8 +14762,6 @@ snapshots: mime-db@1.52.0: {} - mime-db@1.53.0: {} - mime-db@1.54.0: {} mime-types@2.1.35: @@ -14616,10 +14796,6 @@ snapshots: dependencies: brace-expansion: 5.0.13 - minimatch@3.1.2: - dependencies: - brace-expansion: 1.1.11 - minimatch@3.1.5: dependencies: brace-expansion: 1.1.11 @@ -14730,24 +14906,24 @@ snapshots: normalize-package-data@6.0.2: dependencies: hosted-git-info: 7.0.2 - semver: 7.8.1 + semver: 7.8.6 validate-npm-package-license: 3.0.4 normalize-path@3.0.0: {} - noxcturnal@0.1.14: + noxcturnal@0.2.2: dependencies: '@babel/code-frame': 7.29.7 '@oxc-project/types': 0.154.0 optionalDependencies: - '@noxcturnal/noxcturnal-darwin-arm64': 0.1.14 - '@noxcturnal/noxcturnal-darwin-x64': 0.1.14 - '@noxcturnal/noxcturnal-linux-arm64-gnu': 0.1.14 - '@noxcturnal/noxcturnal-linux-arm64-musl': 0.1.14 - '@noxcturnal/noxcturnal-linux-x64-gnu': 0.1.14 - '@noxcturnal/noxcturnal-linux-x64-musl': 0.1.14 - '@noxcturnal/noxcturnal-win32-arm64-msvc': 0.1.14 - '@noxcturnal/noxcturnal-win32-x64-msvc': 0.1.14 + '@noxcturnal/noxcturnal-darwin-arm64': 0.2.2 + '@noxcturnal/noxcturnal-darwin-x64': 0.2.2 + '@noxcturnal/noxcturnal-linux-arm64-gnu': 0.2.2 + '@noxcturnal/noxcturnal-linux-arm64-musl': 0.2.2 + '@noxcturnal/noxcturnal-linux-x64-gnu': 0.2.2 + '@noxcturnal/noxcturnal-linux-x64-musl': 0.2.2 + '@noxcturnal/noxcturnal-win32-arm64-msvc': 0.2.2 + '@noxcturnal/noxcturnal-win32-x64-msvc': 0.2.2 np@10.0.7(typescript@6.0.3): dependencies: @@ -14808,7 +14984,7 @@ snapshots: dependencies: hosted-git-info: 7.0.2 proc-log: 4.2.0 - semver: 7.8.1 + semver: 7.8.6 validate-npm-package-name: 5.0.1 npm-run-path@4.0.1: @@ -14833,6 +15009,10 @@ snapshots: dependencies: flow-enums-runtime: 0.0.6 + ob1@0.88.1: + dependencies: + flow-enums-runtime: 0.0.6 + object-assign@4.1.1: {} object-deep-merge@2.0.1: {} @@ -15294,8 +15474,6 @@ snapshots: react-is@18.3.1: {} - react-is@19.1.1: {} - react-is@19.3.1: {} react-native-css-interop@0.2.7(react-native-reanimated@4.7.1(react-native-worklets@0.13.0(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-safe-area-context@5.11.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native-svg@15.16.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(tailwindcss@3.4.4): @@ -15765,8 +15943,6 @@ snapshots: setprototypeof@1.2.0: {} - sf-symbols-typescript@2.1.0: {} - sf-symbols-typescript@2.2.0: {} shebang-command@2.0.0: From 13e728bc1ab9c12f842b0653c35c9d8d4c04da1f Mon Sep 17 00:00:00 2001 From: Fernanda Toledo Date: Wed, 2 Dec 2026 17:37:36 -0300 Subject: [PATCH 11/11] test(auth): use example.com and a UL_HOST variable instead of a personal domain --- .maestro/config.yaml | 2 +- .maestro/deep-links/universal-link.yaml | 4 ++-- __tests__/app/native-intent.test.ts | 8 ++++---- __tests__/env.test.ts | 2 +- .../docs/getting-started/environment-vars-config.mdx | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.maestro/config.yaml b/.maestro/config.yaml index d074878d7..3185e69e0 100644 --- a/.maestro/config.yaml +++ b/.maestro/config.yaml @@ -5,7 +5,7 @@ flows: excludeTags: - util - - universal-link # needs asdolo.dev verified, run with `maestro test --include-tags=universal-link` + - universal-link # needs a verified host, run with `maestro test --include-tags=universal-link -e UL_HOST=` executionOrder: continueOnFailure: false # default is true diff --git a/.maestro/deep-links/universal-link.yaml b/.maestro/deep-links/universal-link.yaml index 76b1cf549..7a4102e12 100644 --- a/.maestro/deep-links/universal-link.yaml +++ b/.maestro/deep-links/universal-link.yaml @@ -1,10 +1,10 @@ appId: ${APP_ID} env: - LINK: https://asdolo.dev/feed/42?ref=email&utm=a%20b + LINK: https://${UL_HOST}/feed/42?ref=email&utm=a%20b tags: - universal-link --- -# Needs the app verified for asdolo.dev (assetlinks.json / apple-app-site-association hosted there) +# Needs a host verified for the app (assetlinks.json / apple-app-site-association hosted there), passed with -e UL_HOST= # A password manager prompt left by a previous run would cover the app - runFlow: ../utils/dismiss-password-prompt.yaml - clearState diff --git a/__tests__/app/native-intent.test.ts b/__tests__/app/native-intent.test.ts index ecb0e719e..0a4c02725 100644 --- a/__tests__/app/native-intent.test.ts +++ b/__tests__/app/native-intent.test.ts @@ -194,8 +194,8 @@ describe('redirectSystemPath with every scheme and universal links', () => { 'RootstrapApp.qa://feed/42?ref=email&utm=a%20b&tag=x&tag=y', 'RootstrapApp.staging://feed/42?ref=email&utm=a%20b&tag=x&tag=y', 'rootstrapapp.development://feed/42?ref=email&utm=a%20b&tag=x&tag=y', - 'https://asdolo.dev/feed/42?ref=email&utm=a%20b&tag=x&tag=y', - 'http://asdolo.dev/feed/42?ref=email&utm=a%20b&tag=x&tag=y', + 'https://example.com/feed/42?ref=email&utm=a%20b&tag=x&tag=y', + 'http://example.com/feed/42?ref=email&utm=a%20b&tag=x&tag=y', ])('keeps the whole query of %s for the return trip', (path) => { expect(redirectSystemPath({ path, initial: false })).toBe('/sign-in'); expect(pendingDeepLink()).toBe('/feed/42?ref=email&utm=a%20b&tag=x&tag=y'); @@ -203,7 +203,7 @@ describe('redirectSystemPath with every scheme and universal links', () => { it.each([ ['RootstrapApp.development://feed/hello%20world', '/feed/hello%20world'], - ['https://asdolo.dev/feed/hello%20world?ref=email', '/feed/hello%20world?ref=email'], + ['https://example.com/feed/hello%20world?ref=email', '/feed/hello%20world?ref=email'], ])('keeps an encoded id in %s', (path, expected) => { expect(redirectSystemPath({ path, initial: false })).toBe('/sign-in'); expect(pendingDeepLink()).toBe(expected); @@ -211,7 +211,7 @@ describe('redirectSystemPath with every scheme and universal links', () => { it('opens a universal link to a protected screen unchanged for a logged-in user', () => { logIn(); - const path = 'https://asdolo.dev/feed/42?ref=email'; + const path = 'https://example.com/feed/42?ref=email'; expect(redirectSystemPath({ path, initial: true })).toBe(path); expect(pendingDeepLink()).toBeNull(); diff --git a/__tests__/env.test.ts b/__tests__/env.test.ts index e55cef1af..5c97b4f95 100644 --- a/__tests__/env.test.ts +++ b/__tests__/env.test.ts @@ -124,7 +124,7 @@ describe('env', () => { }); it('keeps a single domain', () => { - expect(parse('asdolo.dev')).toEqual(['asdolo.dev']); + expect(parse('example.com')).toEqual(['example.com']); }); it('splits a list, trims the entries and ignores empty and repeated ones', () => { diff --git a/docs/src/content/docs/getting-started/environment-vars-config.mdx b/docs/src/content/docs/getting-started/environment-vars-config.mdx index cf41bbb7b..e8b8b1041 100644 --- a/docs/src/content/docs/getting-started/environment-vars-config.mdx +++ b/docs/src/content/docs/getting-started/environment-vars-config.mdx @@ -136,7 +136,7 @@ If you take a look at the `env.js` file, you will notice that the file is split **In the first part** We load the correct `.env` file based on the `APP_ENV` variable using `dotenv` package. If the `APP_ENV` variable is not defined, we default to `development`. -we define some static variables for the app such as the app name, bundle Id and package. While these variables can be added to the `.env` files, we recommend keeping them in the `env.js` file as they are not meant to change. To handle different app variants, you can add suffixes to these variables using the `withEnvSuffix` function. The bundle Id, package and app scheme are already suffixed this way: on `production` they keep their base value, and on the other environments they end with `.` (for example, the `staging` scheme is `RootstrapApp.staging`). See [App scheme and deep links](/guides/navigation/#app-scheme-and-deep-links) for how to build links for each environment. +we define some static variables for the app such as the app name, bundle Id and package. While these variables can be added to the `.env` files, we recommend keeping them in the `env.js` file as they are not meant to change. To handle different app variants, you can add suffixes to these variables using the `withEnvSuffix` function. The bundle Id, package and app scheme are already suffixed this way: on `production` they keep their base value, and on the other environments they end with `.` (for example, the `staging` scheme is `rootstrapapp.staging`). See [App scheme and deep links](/guides/navigation/#app-scheme-and-deep-links) for how to build links for each environment. **In the second part**, we define the schemas of the environment variables with `envSchema`. Every variable is declared with the `envField` builders: variables loaded from the `.env` file and static values defined in `env.js` (such as `NAME` or `BUNDLE_ID`), whose values are set in the `clientStaticValues` and `buildTimeStaticValues` objects.