-
Notifications
You must be signed in to change notification settings - Fork 148
Description
Prerequisites
Check all boxes if you have done the following:
- Checked that your issue isn't already filed: https://github.com/tripflex/wifiwizard2/issues
- Make sure you fill out the Issue Type below
Issue type
Select all that apply
- Bug
- Enhancement
- Task
- Question
- Other
Description
Device: iPad Pro 12.9 in.
Version: 15.4.1
Conditions: Cellular data is enabled, but currently connected to WiFi (House WiFi for example). Desired Network to connect to is saved under "My Networks" in the WiFi Settings.
When initiating await WifiWizard2.iOSConnectNetwork(ssid, ssidPassword);, the Promise returns almost instantly with a caught error of null and a prompt is displayed on the iPad: "Unable to join the network '...' ".
Steps to Reproduce
- Turn on Cellar Data (wait like 30s after)
- Connect to WiFi
- Open app and initiate the
iOSConnectNetwork()call to some other network.
Expected behavior: Connects to WiFi as defined by the ssid and ssidPassword
Actual behavior: Returns null from Promise and displays prompt on the iOS screen "Unable to join the network '...' " immediately.
Reproduces how often: 95%. The 5% it works is when switching cellular on and off.
Versions
iOS: 15.4.1
WiFiWizard2: 3.1.1
Ionic: 6.0.8
Additional Information
- I enabled all Network Extension Capabilities on the Xcode Project
- I enabled Hotspot Configuration on the Xcode Project
- I enabled Access to WiFi Information on the Xcode Project
development.plist
<key>com.apple.developer.networking.HotspotConfiguration</key>
<true/>