Last active
June 28, 2020 08:27
-
-
Save hw0k/2a4149eb392ab65f76a15ded539f6fae to your computer and use it in GitHub Desktop.
FND 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import DeviceInfo from 'react-native-device-info'; | |
async function checkS10() { | |
const deviceName = await DeviceInfo.getDeviceName(); | |
return deviceName.includes('S10'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment