New issue
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
Windows with device's SIM card fails #454
Comments
In Microsoft's own code example (https://docs.microsoft.com/en-us/previous-versions/windows/apps/hh452990(v=win.10)) the There's no try-catch in NetworkInfo.cpp:
|
@juhasuni PRs happily accepted 🙏 |
Finally PR created #511 |
PR merged and should release in moments |
🎉 This issue has been resolved in version 6.0.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Our customer reported that Windows device that uses 4g/5g network by device's SIM card fails into error on app start. App checks there internet connection using call
const state: NetInfoState = await NetInfo.fetch();
I don't have Windows with SIM card slot so i cannot test that more now, sorry.
Maybe
RNCNetInfo.h.getCurrentState()
fails to error?Platforms
Windows 10
Versions
"@react-native-community/netinfo": "^5.9.2",
"react": "^16.14.0",
"react-native": "0.62.2"
"react-native-windows": "0.62.15"
The text was updated successfully, but these errors were encountered: