We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in deviceinfo.js:
export function getSystemNameSync() { if (!systemName) { if (OS === 'ios') { systemName = RNDeviceInfo.getSystemNameSync(); } else if (OS === 'android') { systemName = 'Android'; } if (OS === 'windows') { systemName = 'Windows'; } else { systemName = 'unknown'; } } alert(systemName); return systemName; }
if (OS === 'windows') { must be else if (OS === 'windows') {
if (OS === 'windows') {
else if (OS === 'windows') {
The text was updated successfully, but these errors were encountered:
Thanks for reporting this! I'll scan the rest too - it was a great deal of fast typing to go from rc.2 to .3 and .4 - clearly an oversight here
Sorry, something went wrong.
fix: getSystemName should return real value android+ios (Fixes react-…
ba62f88
…native-device-info#771)
Fixed in mikehardy@ba62f88 - plus there were a few others similar that a full API pass picked up, thanks again
fix: various fixes similar to / prompted by react-native-device-info#771
0d77cfd
/ react-native-device-info#768 / react-native-device-info#769
mikehardy
No branches or pull requests
Bug in deviceinfo.js:
if (OS === 'windows') {
must beelse if (OS === 'windows') {
The text was updated successfully, but these errors were encountered: