# Cordova-plugin-network-information not working on device

**URL:** <https://forum.ionicframework.com/t/cordova-plugin-network-information-not-working-on-device/98902>\
**Category:** ionic-v1\
**Created:** [July 20, 2017, 10:02am UTC](https://forum.ionicframework.com/t/cordova-plugin-network-information-not-working-on-device/98902 "2017-07-20T10:02:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RicardMacha](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@RicardMacha](https://forum.ionicframework.com/u/RicardMacha)\
**Post date:** [July 20, 2017, 10:02am UTC](https://forum.ionicframework.com/t/cordova-plugin-network-information-not-working-on-device/98902/1 "2017-07-20T10:02:22Z")

</div>

Hey,  
I have a problem with cordova-plugin-network-information plugin.  
I did exactly the same like this [tutorial](https://www.thepolyglotdeveloper.com/2014/06/check-network-connection-with-ionicframework/)

It works fine on web browser(ionic serve) but not on device after build.  
I’m running it on IOS.

Any idea?  
Some tips to debug it?

Thank you!
