Initial commit: code as received (Create/Anything export)
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
This commit is contained in:
16
apps/mobile/App.tsx
Normal file
16
apps/mobile/App.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
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 />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user