Skip to content

v1.1.1

Choose a tag to compare

@afterxleep afterxleep released this 09 Jun 03:15
· 4 commits to main since this release

iOS Simulator Fix

This release fixes the iOS Simulator implementation to be more reliable and compatible with custom URL schemes.

What's Fixed

  • 🔧 Simulator now completely bypasses NWPathMonitor and uses URLSession exclusively
  • ✅ Fixed compatibility with custom URL schemes on simulator
  • 🎯 Clean separation between device and simulator code paths
  • 🛡️ More reliable network state detection on simulator

Technical Details

  • On real devices: Uses NWPathMonitor (unchanged)
  • On iOS Simulator: Uses URLSession to ping Apple's connectivity endpoint every 2 seconds
  • NWPathMonitor is never started on simulator, avoiding all unreliability issues

Compatibility

  • iOS 15.0+ / macOS 12.0+
  • Swift 5.7+
  • No changes required to existing code