Cordova network plugin is not working in ios version 11 but was working in version 10

$ionicPlatform.ready(function() {
if(window.Connection) {
if(navigator.connection.type == Connection.NONE) {
$ionicPopup.confirm({
title: “Internet Disconnected”,
content: “The internet is disconnected on your device.”
})
.then(function(result) {
if(!result) {
ionic.Platform.exitApp();
}
});
}
}
});
i am using this code which is working fine on browser, android, ios version 10 but not working on ios version 11. giving object undefined error

Hey.
i am seeing the same thing.
did you managed to solve this?

Use this official link (https://ionicframework.com/docs/native/network) to download the plugin again in my case the plugin was not installed by default for IOS while it was there in case of browser and android