Questions tagged [nehotspothelper]

The NEHotspotHelper interface allows an iOS app to participate in the process of joining Wi-Fi/hotspot networks. Such an app is referred to as a Hotspot Helper. A Hotspot Helper receives commands to be processed in the background that allow it to participate in the Hotspot Network state machine.

The NEHotspotHelper interface allows an iOS app to participate in the process of joining Wi-Fi/hotspot networks. Such an app is referred to as a Hotspot Helper. A Hotspot Helper receives commands to be processed in the background that allow it to participate in the Hotspot Network state machine. We need to request the entitlements from Apple to be able to use this API

44 questions
2
votes
2 answers

Programmatically set wifi hotspot password

I want to set my wifi hotspot password programmatically for my application so that user don't have to go to the setting menu to check their password. I am already using NEHotspotNetwork, where it set the password, but here, we need to set the…
g212gs
  • 863
  • 10
  • 26
2
votes
1 answer

Call to NEHotspotHelper.register never returns

I am working on an iOS app which has a requirement to automatically connect to a WiFi network. We had requested for a NEHotspotHelper extension from Apple which is approved. Now I am trying to auto connect to the WiFi network around. But the call to…
Yogi
  • 3,578
  • 3
  • 35
  • 56
1
vote
0 answers

CNCopyCurrentNetworkInfo return null value on iOS 15 Beta, even though VPN Profile is installed

As per the document, the following conditions should be met in order to retrieve network info: The app uses Core Location, and has the user’s authorization to use location information. The app uses the NEHotspotConfiguration API to configure the…
Aman.Samghani
  • 2,151
  • 3
  • 12
  • 27
1
vote
2 answers

iOS Replacement for the Deprecated CNCopyCurrentNetworkInfo (Availability - iOS 4.1–14.0)

hello i am using cncopycurrentnetworkinfo for getting the data (ssid,bssid) for the connected wifi network but according to the link https://developer.apple.com/documentation/systemconfiguration/1614126-cncopycurrentnetworkinfo showing Deprecated…
pradip rathod
  • 348
  • 3
  • 20
1
vote
0 answers

Avoid "The Wi-Fi network does not appear to be connected to the internet" prompt on iOS

I am developing an app in Xamarin Forms, which connects to some IoT devices which do not have an Internet connection available. The IoT device expose a free WIFI hotspot to which the app connects. On iOS side, to perform the connection I use the…
giani.sim
  • 257
  • 2
  • 16
1
vote
2 answers

Is it possible for me to compile and deployment a NEHotspotHelper project to my device before Apple approve my API request?

I am now implementing a project which will use NEHotspotHelper API. Through Xamarin. I know this API requires approvement from apple. So I have already sent my request and waiting for response. But I want to write the code and test it in my device…
CC.Wang
  • 111
  • 1
  • 12
1
vote
1 answer

Connect to an already remembered SSID in iOS through Xamarin

I am implementing an app through Xamarin. Is it possible to programmatically connect to an SSID which is already remembered by the phone in iOS?
CC.Wang
  • 111
  • 1
  • 12
1
vote
0 answers

Accessing a Captive portal configured Wifi from within an iOS app

I am working on this app that has successfully implemented connecting to a Wifi network using NEHotspotConfigurationManager, using the code below. - (void)joinWifiWithCredentials:(NSString * const)SSID passphrase:(NSString * const)passphrase…
1
vote
1 answer

NEHotspotConfigurationManager unable to Join

I am using NEHotspotConfigurationManager to connect wifi programmatically. Its an open Network without any password I am using below code: if (@available(iOS 11.0, *)) { NEHotspotConfiguration *config = [[NEHotspotConfiguration …
Aakil Ladhani
  • 984
  • 9
  • 32
1
vote
1 answer

Not getting Wifi's list using NEHotspotConfigurationManager class

I am trying to get the wifi list, but I get a blank array every time. I'm using below code: NEHotspotConfigurationManager.shared.getConfiguredSSIDs { (ssidsArray) in print("ssidsArray.count==\(ssidsArray.count)") for ssid in…
1
vote
0 answers

scan available wifi with HotspotHelper

I'm new to Swift. I've been looking for this question for a long time but still cannot find a solution. I'd learned that it is able to access wifi for iOS 12, but I also saw some people said that It is not possible to get all the available wifi…
傅意芸
  • 11
  • 3
1
vote
1 answer

Swift - unable to connect to open hotspot

I'm attempting to connect to an open Wi-Fi network using the NEHotspotConfigurationManager without any luck. I've ensured my app has the proper Hotspot Configuration Entitlement and I'm running on a device that is > iOS 11. Here is the code I'm…
James Fazio
  • 6,370
  • 9
  • 38
  • 47
1
vote
1 answer

How to create a hotspot network in iOS app using Swift

I want to create a hotspot network in iOS app using swift. Also please suggest ony apple approved APIs. Thanks!
Asheesh
  • 565
  • 6
  • 21
1
vote
1 answer

How to get NeHotspotHelper Entitlements

I have submitted this form like they said https://developer.apple.com/contact/network-extension/ and then I got email from apple Please note that as of November 10, 2016 this process is not required for developers who wish to use App Proxy,…
Benny Wijaya
  • 207
  • 3
  • 16
0
votes
0 answers

NEHotspotNetwork fetchCurrent signal strange why always zero?

When I call fetchCurrent on NEHotspotNetwork, I am able to correctly retrieve the SSID and other information, but why do I always receive zero as the signal strength value? NEHotspotNetwork.fetchCurrent(completionHandler: { currentNetwork…
eksglox
  • 41
  • 7