Skip to content

NetworkReachability is obsolete on iOS/maccatalyst 17.4+ #32312

@Cheesebaron

Description

@Cheesebaron

Description

Looking at the warnings from the code the NetworkReachability class is obsolete on newer versions of iOS/maccatalyst.

Image

Steps to Reproduce

Check https://github.com/dotnet/maui/blob/main/src/Essentials/src/Connectivity/Connectivity.ios.tvos.macos.reachability.cs and look at the warnings it produces

Link to public reproduction project repository

No response

Version with bug

10.0.0-rc.2

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

iOS/maccatalyst 17.4+

Did you find any workaround?

Warning suggests to use NSUrlSession or NWConnection APIs instead of NetworkReachability

Relevant log output

Metadata

Metadata

Assignees

Labels

area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infoplatform/ioss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions