title: Expo: 'react-native-wifi-reborn' lib is not working
body: <p>I use <code>react-native-wifi-reborn</code> in my react-native application (expo);
  App is configured according to <a href="https://github.com/JuanSeBestia/react-native-wifi-reborn#readme" rel="nofollow noreferrer">official docs</a></p>
  <p>I need to connect to a specified wifi network with predifined ssid and password.</p>
  <pre><code>import WifiManager from 'react-native-wifi-reborn';
  
  const onClickConnect = async (ssid: string) =&gt; {
      const granted = await PermissionsAndroid.request(
        PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,
        {
          title: 'Location permission is required for WiFi connections',
          message:
            'This app needs location permission as this is required  ' +
            'to scan for wifi networks.',
          buttonNegative: 'DENY',
          buttonPositive: 'ALLOW',
        },
      );
      if (granted === PermissionsAndroid.RESULTS.GRANTED) {
        WifiManager.connectToProtectedSSID('test-wifi', 'password', false)
          .then(() =&gt; console.log(&quot;connectToProtectedSSID successfully!&quot;));
      } else {
        console.log('Permission denied');
      }
    }
  </code></pre>
  <p>However, I get an error for each WifiManager method</p>
  <pre><code>[Unhandled promise rejection: TypeError: null is not an object (evaluating '_reactNativeWifiReborn.default.connectToProtectedSSID')]
  at http://192.168.1.100:19000/node_modules/expo/AppEntry.bundle?platform=android&amp;dev=true&amp;hot=false&amp;minify=false:151908:46 in onClickConnect$
  </code></pre>
  <p>I have found some suggestions to clean expo cache or re-install <code>node-modules</code> but that did not help.
  Please help! Deadline is coming... :(</p>