Copy link to clipboard
Copied
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-6103b...
Is there any way this is possible or will be possible in the near future using air sdk?
Thanks,
Olof
Copy link to clipboard
Copied
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