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:
30
apps/mobile/index.tsx
Normal file
30
apps/mobile/index.tsx
Normal file
@@ -0,0 +1,30 @@
|
||||
import ExceptionsManager from "react-native/Libraries/Core/ExceptionsManager";
|
||||
|
||||
if (__DEV__) {
|
||||
ExceptionsManager.handleException = (_error, _isFatal) => {
|
||||
// no-op
|
||||
};
|
||||
}
|
||||
|
||||
import "react-native-url-polyfill/auto";
|
||||
import "./src/__create/polyfills";
|
||||
global.Buffer = require("buffer").Buffer;
|
||||
|
||||
import "@expo/metro-runtime";
|
||||
import { AppRegistry, LogBox } from "react-native";
|
||||
import { initSentry } from "./__create/sentry";
|
||||
import { initTestFlightLogger } from "./__create/testflight-logger";
|
||||
import { renderRootComponent } from "expo-router/build/renderRootComponent";
|
||||
import App from "./entrypoint";
|
||||
|
||||
initSentry();
|
||||
initTestFlightLogger();
|
||||
|
||||
if (__DEV__ || process.env.EXPO_PUBLIC_CREATE_ENV === "DEVELOPMENT") {
|
||||
LogBox.ignoreAllLogs();
|
||||
LogBox.uninstall();
|
||||
AppRegistry.setWrapperComponentProvider(() => ({ children }) => {
|
||||
return <>{children}</>;
|
||||
});
|
||||
}
|
||||
renderRootComponent(App);
|
||||
Reference in New Issue
Block a user