I am using Network.onConnect() and Network.onDisconnect() to detect the network connection.
On opening my application- it detects the network connection in Android devices but in IOS devices it doesnt.
I have a Online/Offline Login which i need to detect using the network availabilty.
Please can someone help me regarding how to detect the network connection in IOS devices while app start.
I was calling the platform.ready() method inside a base class where all the network methods where written it was working fine for android but for IOS the platform.ready was not getting fired.
I changed the platform.ready from base class to child-class and now its working fine for me.