You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When datadog is used on a real Apple Watch device, no logs are ever uploaded to API. The issue is that NWPathMonitor is used to evaluate network reachability. While this works flawlessly on a simulator (as it reads macOS status instead), it always reports as unreachable on a real device. That leads to DataUploadConditions blocking every data upload attempt.
Reproduction steps
Integrate datadog in any watchOS application and run on a real Apple Watch device.
SDK logs
No visible logs in the watchOS application.
Expected behavior
Logs are eventually uploaded to API and visible on Datadog dashboard
Affected SDK versions
2.15.0
Latest working SDK version
none
Did you confirm if the latest SDK version fixes the bug?
Yes
Integration Methods
SPM
Xcode Version
15.4
Swift Version
5.10
MacOS Version
Sonoma 14.6.1
Deployment Target
watchOS 9.0
Device Information
No response
Other relevant information
No response
The text was updated successfully, but these errors were encountered:
I tried looking for some simple mitigation, but unfortunately could make it work in the timely manner. We'll need to discuss this internally with the team and see how we can proceed.
Describe the bug
When datadog is used on a real Apple Watch device, no logs are ever uploaded to API. The issue is that
NWPathMonitor
is used to evaluate network reachability. While this works flawlessly on a simulator (as it reads macOS status instead), it always reports as unreachable on a real device. That leads toDataUploadConditions
blocking every data upload attempt.Reproduction steps
Integrate datadog in any watchOS application and run on a real Apple Watch device.
SDK logs
No visible logs in the watchOS application.
Expected behavior
Logs are eventually uploaded to API and visible on Datadog dashboard
Affected SDK versions
2.15.0
Latest working SDK version
none
Did you confirm if the latest SDK version fixes the bug?
Yes
Integration Methods
SPM
Xcode Version
15.4
Swift Version
5.10
MacOS Version
Sonoma 14.6.1
Deployment Target
watchOS 9.0
Device Information
No response
Other relevant information
No response
The text was updated successfully, but these errors were encountered: