UNPKG

@applicaster/zapp-react-native-utils

Version:

Applicaster Zapp React Native utilities package

40 lines (37 loc) 832 B
/** * Platforms found in userAgent string, please note that simulators * might not have the same agents that the devices have */ export const PLATFORMS = { webos: "Web0S", tizen: "Tizen", samsung: "SMART-TV", mac: "Mac", win: "Win", linux: "Linux", iphone: "iPhone", android: "Android", mobile: "Mobile", vizio: "VIZIO", smartcast: "SmartCast", conjure: "Conjure", }; /** * Keys used to store the platform / device state in the session storage */ export const PLATFORM_KEYS = { deviceClosedCaptioningEnabled: "device_closed_captioning_enabled", }; export enum ZappPlatform { Android = "android", AndroidTV = "android_tv", AmazonFireTV = "amazon", iOS = "ios", tvOS = "tvos", Roku = "roku", Tizen = "tizen", Web = "web", WebOS = "webos", Vizio = "vizio", Unknown = "unknown", }