I am trying to get the modelname using DeviceInfo.getModel() the inbuilt method that is provided by the react-native-device-info but for each model instead of giving the model name it is returning iPhone.I am not able to understand why this is happening.
here is the code that I am using
console.log(DeviceInfo.getModel());
note that the version of react-native and react-native-device-info are respectively 0.53 and 0.12.1