ionic cordova network ReferenceError: Connection is not defined

i created ionic project , installed ngCordova & cordova network information plugins , the network plugin works fine in browser but after installing android platform & run app on mobile the plugin won't work anymore & show that error error screenshot

please help , i really don't know what to do anymore