Skip to main content
Participant
February 1, 2018
Question

Programmatically connect to wifi network for iOS and Android

  • February 1, 2018
  • 1 reply
  • 1907 views

Hi,

I am working on a Flex/Air project where we need to progammatically connect to a WiFi network to set up an IoT device. It needs to work for both iOS and Android. I know iOS has support for this since iOS 11 and some other cross platforms have already support or this. For example react native. https://medium.com/woost/programatically-connecting-to-wifi-networks-in-react-native-on-ios-11-6103b726c3b0

Is there any way this is possible or will be possible in the near future using air sdk?

Thanks,

Olof

This topic has been closed for replies.

1 reply

Legend
February 1, 2018

This can be written as an AIR Native Extesion.

React Native doesn't have support for this. Someone has written a React Native Module to achieve this.

React Native modules are basically the equivalent of ANEs.

The Android side - you could use the info here

How do I connect to a specific Wi-Fi network in Android programmatically? - Stack Overflow