Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

authClientMetadata.ts

10 lines361 Bytes

1import type { AuthClientPresentationMetadata } from "@t3tools/contracts";
2import { Platform } from "react-native";
3​
4export function authClientMetadata(): AuthClientPresentationMetadata {
5 return {
6 label: "T3 Code Mobile",
7 deviceType: "mobile",
8 ...(Platform.OS === "ios" ? { os: "iOS" } : Platform.OS === "android" ? { os: "Android" } : {}),
9 };