title: How to programmatically turn on WiFi on Android device via react native?
body: <p>How can I add an Enable WiFi button via React Native? (without modules)</p>
  
  <p><strong>I find This for IOS:</strong></p>
  
  <pre><code>import { Platform, NativeModules } from 'react-native'
  
  const IOSWifiManager = NativeModules.IOSWifiManager
  </code></pre>
  
  <p>But what is the best and easy way for android and what <code>permissions</code> needed.</p>
  
  <p><a href="https://i.stack.imgur.com/3S0e7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3S0e7.jpg" alt="Photo"></a></p>