tooot/src/api/helpers/index.ts

6 lines
213 B
TypeScript
Raw Normal View History

2022-11-05 01:11:09 +01:00
import Constants from "expo-constants"
import { Platform } from "react-native"
const userAgent = { 'User-Agent': `tooot/${Constants.expoConfig?.version} ${Platform.OS}/${Platform.Version}` }
export { userAgent }