How change wifi state from my application.

Please provide the following:

  1. SDK Version: 38
  2. Platforms: ios android - some

I need enable Wifi state and next navigate to wifi list IntentManager use, but i can not enable state. How made this using react native expo, without ejecting.
(my finaly target connect to wifi without out app, but for start need maby change state)
(i from russia)*

hi! To do this on Android, you need the CHANGE_WIFI_STATE permission, which isn’t included in Expo managed workflow apps, so you’ll need to eject for that functionality. On iOS, you can’t change Wifi settings from your app, that can only be done by the system itself (Settings app, for instance)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.