Polish Live Activity branding and add EAS build config.

Use brand mark and wordmark images in the time clock Live Activity, migrate file copies to the modern expo-file-system File API, and add eas.json for TestFlight production builds.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-17 23:39:01 -04:00
parent 6d2711e36e
commit d3b73464e4
8 changed files with 172 additions and 36 deletions
+8 -1
View File
@@ -12,7 +12,7 @@ import {
import { useFonts } from "expo-font";
import * as SplashScreen from "expo-splash-screen";
import { useEffect, type ReactNode } from "react";
import { View } from "react-native";
import { Platform, View } from "react-native";
import { StatusBar } from "expo-status-bar";
import "react-native-reanimated";
import { SafeAreaProvider } from "react-native-safe-area-context";
@@ -23,6 +23,7 @@ import { AccountsProvider, useAccounts } from "@/contexts/AccountsContext";
import { AuthProvider, useSession } from "@/contexts/AuthContext";
import { ThemeProvider, useAppTheme } from "@/contexts/ThemeContext";
import { TRPCProvider } from "@/lib/trpc";
import { ensureWidgetBrandAssets } from "@/lib/widget-brand-assets";
export { ErrorBoundary } from "expo-router";
@@ -76,6 +77,12 @@ export default function RootLayout() {
}
}, [loaded]);
useEffect(() => {
if (Platform.OS === "ios") {
void ensureWidgetBrandAssets();
}
}, []);
if (!loaded) {
return null;
}