@nmarmon wrote:
I am using $cordovaNetwork to know when my project is connected to network and when not. I am using the method isOnline(), and it returns false. But it is not true, because I know I am connected when the device is ready. I have some information that I catch from internet that is loaded in the beginning, so I have connection to internet.
When the event online is fired up? When $cordovaNetwork knows really that the application is online? Sometimes it shows me that there is connection (TRUE) but sometimes it shows me that there isn't (FALSE).
Finally, I use that application, so I have change the state, and then $cordoaNetwork.isonline() returns me FALSE, very strange.
Can any one help me? The documentation is not very extensive. And If you can, give some example, please. If need more information, ask me.
thanks
Posts: 4
Participants: 2