Skip to content
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

Can't get it working in iOS #30

Open
kaichancoder opened this issue Jul 15, 2019 · 1 comment
Open

Can't get it working in iOS #30

kaichancoder opened this issue Jul 15, 2019 · 1 comment

Comments

@kaichancoder
Copy link

So I'm just running the simple case of WifiManager.getCurrentWifiSSID, I've added the import, ran the link command, turned on the WiFi and Hotspot capabilities in Xcode. Build->run, but I get the error "Unhandled JS Exception: null is not an object (evaluating '_reactNativeWifi.default.getCurrentWifiSSID", basically, WifiManager is null, same on console.log. Do I need to 'inject' WifiManager?? Am i missing something obvious? Any help much appreciated!

@JuanSeBestia
Copy link

JuanSeBestia commented Oct 4, 2019

In ios has a problem in RNWifi.mm

You can use my package npm i git+https://github.com/JuanSeBestia/react-native-wifi --save, There they are resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants