1 Reply
      Latest reply: Dec 6, 2016 10:52 AM by eskimo RSS
      dollar_zhang Level 1 Level 1 (0 points)

        I am using NEHotspothelper to provide password for some Wifi hotposts, the encryption method is WPA2.

        Now I can set password for them and when user click the wifi, he can connect it successfully without providing password himself.

        Then when user connect the Wifi successfully, I can get "kNEHotspotHelperCommandTypeEvaluate" event.

        But when I get this event, I can't tell if user connect successfully through my app or input password himself. Is there anyway to distinguish these two situations?

         

        Thanks in advance.

        • Re: Can we get wifi connect result after provide password throughNEHotspothelper
          eskimo Apple Staff Apple Staff (6,665 points)

          But when I get this event, I can't tell if user connect successfully through my app or input password himself. Is there anyway to distinguish these two situations?

          No.  NEHotspotHelper was really designed for traditional hotspots, where the network is open and you authenticate via HTTP.  Its support for Wi-Fi level authentication is very limited.  When you run into a limitation that causes problems for your app, I encourage you to file an enhancement request describing the support you’d like to see added.

          Please post your bug number, just for the record.

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"