I know with React Native that we have the ability to determine whether iOS or Android is being run using the Platform module, but how can we determine what device i
If you're looking for a way to do that without including 3rd party libraries (like react-native-device-info) you can also do:
import { NativeModules } from 'react-native';
const { PlatformConstants } = NativeModules;
const deviceType = PlatformConstants.interfaceIdiom;
deviceType can take the values: phone, pad, tv, carplay and unknown.