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]>
11 lines
361 B
TypeScript
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" } : {}),
|
|
};
|
|
}
|