JuanSeBestia / react-native-wifi-reborn

A react-native implementation for viewing and connecting to Wifi networks on Android and iOS devices.
ISC License
342 stars 118 forks source link

react-native-wifi-reborn not working in IOS #382

Open MeenakshiSundaram-MS opened 3 months ago

MeenakshiSundaram-MS commented 3 months ago

Added the required capability in XCode

Screenshot 2024-04-17 at 8 00 20 PM

"react-native-wifi-reborn": "^4.12.1", "react-native": "0.73.6",

getting the below error in IOS:

LOG Running "happytap" with {"rootTag":1,"initialProps":{}} LOG wifi list [] ERROR [TypeError: _reactNativeWifiReborn.default.loadWifiList is not a function (it is undefined)] at WifiSetupScreen (http://localhost:8081/index.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.surveysparrow.happytap:225814:41) at StaticContainer (http://localhost:8081/index.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.surveysparrow.happytap:218138:17) at EnsureSingleNavigator (http://localhost:8081/index.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.surveysparrow.happytap:213910:24) at SceneView (http://localhost:8081/index.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.surveysparrow.happytap:218043:22) at RCTView at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.surveysparrow.happytap:59269:43) at DebugContainer (http://localhost:8081/index.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.surveysparrow.happytap:220558:36) at MaybeNestedStack (http://localhost:8081/index.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.surveysparrow.happytap:220111:23) at RCTView at View (http://localhost:8081/index.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.surveysparrow.happytap:59269:43)

MeenakshiSundaram-MS commented 3 months ago

Any update on this?

PranshulDesuntech commented 2 months ago

did you able solve it?

alexma01 commented 2 months ago

loadWifiList is only for Android.

Wolfleader101 commented 2 months ago

Any update on this? it might be similar to #384

lenkaiser commented 1 month ago

@Wolfleader101 Check the readme, loadWifiList is only for Android. iOS doesn't allow WiFI network scans from the application as such it doesn't offer a native method to do so.

Wolfleader101 commented 1 month ago

@Wolfleader101 Check the readme, loadWifiList is only for Android. iOS doesn't allow WiFI network scans from the application as such it doesn't offer a native method to do so.

@lenkaiser that doesn't change the issue that WiFiManager is null on iOS.

github-actions[bot] commented 3 weeks ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community attention? This issue may be closed if no further activity occurs.

Wolfleader101 commented 3 weeks ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community attention? This issue may be closed if no further activity occurs.

Still an issue...