React-native-device-info: hasNotch not working on Pocophone F1

Created on 1 Mar 2019  路  4Comments  路  Source: react-native-device-info/react-native-device-info

Summary

DeviceInfo.hasNotch() returns false on PocoPhone F1

Version: 0.26.4
Affected OS: Android
OS Version: 9

android bug

Most helpful comment

Fixed

All 4 comments

The Poco F1 is in the list of devicesWithNotch and so should return true. What does it show if you call console.log(DeviceInfo.getModel()) from your Poco F1?

https://github.com/rebeccahughes/react-native-device-info/blob/9d92e55dfe9bc6271887a4637ef0d5b95eb44205/deviceinfo.js#L177-L180

@edreyyo
'POCOPHONE F1'

Thanks, I have just submitted a fix @NemanjaManot. It will need to be approved by the repository owner.

Fixed

Was this page helpful?
0 / 5 - 0 ratings