any possible way we can check if targeted device is a mini version of Iphones.
Question posted in React native
The official React Native documentation can be found here.
The official React Native documentation can be found here.
any possible way we can check if targeted device is a mini version of Iphones.
2
Answers
I couldn't find any thing useful that would give a discrete answer to a mini version. I've used react-native-device-info with getDeviceName method and using this custom method to determine the small/mini version.
I think that what you’re trying to find is react-native-device-info and
getDeviceId()
.