Insole-production time tracker exported from the Create/Anything AI platform. Baseline snapshot before any reverse-engineering or cleanup. - apps/mobile: Expo Router app (iOS/Android/web), the only workspace - publisher/: standalone OpenNext/AWS deploy tooling for the web side - Backend (/api/tasks, /api/logs + DB) lives remotely, not in this repo
17 lines
590 B
TypeScript
17 lines
590 B
TypeScript
import { App } from 'expo-router/build/qualified-entry';
|
|
import { ScreenViewTracker } from './src/__create/analytics';
|
|
|
|
// Screen-view analytics is mounted here, in the entry, rather than in
|
|
// app/_layout. The entry is platform scaffold that ships with the template, so
|
|
// the tracker reaches every app on its next rebuild WITHOUT editing each
|
|
// project's own _layout (mirrors how App.web.tsx tracks navigation at the
|
|
// root). usePathname reads expo-router's global store.
|
|
export default function MobileRoot() {
|
|
return (
|
|
<>
|
|
<ScreenViewTracker />
|
|
<App />
|
|
</>
|
|
);
|
|
}
|