Bluesky app fork with some witchin' additions 馃挮
at main 493 B view raw
1import {Platform} from 'react-native' 2 3export const isIOS = Platform.OS === 'ios' 4export const isAndroid = Platform.OS === 'android' 5export const isNative = isIOS || isAndroid 6export const isWeb = !isNative 7export const isMobileWebMediaQuery = 'only screen and (max-width: 1300px)' 8export const isMobileWeb = 9 isWeb && 10 // @ts-ignore we know window exists -prf 11 global.window.matchMedia(isMobileWebMediaQuery)?.matches 12export const isIPhoneWeb = isWeb && /iPhone/.test(navigator.userAgent)