I installed with npm and linked with react-native link but the imported asset I get is always null. Is there something wrong with my setup or something I'm not doing correctly?
This is the exact error
TypeError: null is not an object (evaluating '_reactNativeWifi.default.connectToProtectedSSID')
For clarity, I am using Expo and this is my process:
expo init project-name
cd project-name
npm i react-native-wifi
react-native link react-native-wifi
[add example code from README to expo App.js]
expo start
At that point it fails on the connectToProtectedSSID() method with the error stated above.
I installed with npm and linked with react-native link but the imported asset I get is always null. Is there something wrong with my setup or something I'm not doing correctly?
This is the exact error
For clarity, I am using Expo and this is my process:
At that point it fails on the connectToProtectedSSID() method with the error stated above.