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
Platform
I use this solution: https://stackoverflow.com/a/48709199/2400373
My solution final is this:
import { Platform } from "react-native"; Dispositivo() { if (Platform.isPad == true) { return( test ) }
Then I call this function:
{this.Dispositivo()}