76
rated 0 times
[
82]
[
6]
/ answers: 1 / hits: 17802
/ 7 Years ago, tue, april 4, 2017, 12:00:00
I need to check Internet connection in react native iOS
I would try following code:
NetInfo.isConnected.fetch().then(isConnected => {
console.log(isConnected);
});
that can work fine in react native android application,
But it always return 'false' in react native iOS .
More From » react-native