blackdeve / react-native-wifi

A react-native implementation for viewing and connecting to Wifi networks on Android and iOS devices.
76 stars 89 forks source link

IOS: RequiresMainQueueSetup #8

Open pstanton opened 6 years ago

pstanton commented 6 years ago

In iOS A warning appears on startup:

"Module WifiManager requires main queue setup since it overrides constantsToExport but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly option-out of."

robwalkerco commented 6 years ago

Opened PR #13

bntzio commented 5 years ago

I'm getting this as well, any idea why? 🤔

robwalkerco commented 5 years ago

@bntzio React Native added this warning a while back. I've opened PR https://github.com/blackdeve/react-native-wifi/pull/13 to fix this. In the meantime, you could either just live with the warning, or you could temporarily install the PR branch like yarn add blackdeve/react-native-wifi#13/head