amplitude / Amplitude-Swift

Native iOS/tvOS/macOS/watchOS SDK
MIT License
26 stars 20 forks source link

fix: Disable network connectivity check on watchOS as it is not supported on real devices #174

Closed crleona closed 3 months ago

crleona commented 3 months ago

Summary

Per Apple's docs on WatchOS, "... NWPathMonitor will remain in the .unsatisfied state.", meaning we will never attempt a connection once the connectivity checker runs. This is only blocked on a real device, and WatchOS 6-8 may still have inadvertently worked.

Checklist

izaaz commented 3 months ago

Interesting find! Thanks for fixing this.

github-actions[bot] commented 3 months ago

:tada: This PR is included in version 1.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: