Files
t3code/apps/mobile/src/lib/authClientMetadata.ts
T
Julius Marmingeandcodex 2eaface4b1 Rewrite client connection architecture
Move web, desktop, server, and mobile connection state onto the shared client runtime while preserving the separately reviewed native mobile UI stack.

Co-authored-by: codex <[email protected]>
2026-06-16 11:11:45 -07:00

11 lines
361 B
TypeScript

import type { AuthClientPresentationMetadata } from "@t3tools/contracts";
import { Platform } from "react-native";
export function authClientMetadata(): AuthClientPresentationMetadata {
return {
label: "T3 Code Mobile",
deviceType: "mobile",
...(Platform.OS === "ios" ? { os: "iOS" } : Platform.OS === "android" ? { os: "Android" } : {}),
};
}