Skip to content

Connectivity.ConnectivityChanged not fired on iOS #28961

Open
@thedee

Description

@thedee

Description

Connectivity.ConnectivityChanged event does not fire on iOS devices when you turn off or on the wifi on that device. The device we are using does not have data service.

Also, the NetworkAccess always says Internet regardless of it having internet or not

NetworkAccess accessType = Connectivity.Current.NetworkAccess;
var b = (accessType == NetworkAccess.Internet);

Steps to Reproduce

  1. Create a new project
  2. Override OnStart in App.xaml.cs
  3. Add event handler: Connectivity.Current.ConnectivityChanged += Connectivity_ConnectivityChanged;

Link to public reproduction project repository

No response

Version with bug

9.0.60 SR6

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

No response

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions