Network Connection Status

We are always connected... sometimes.

Wouldn’t it be nice if you were connected to the Internet 24/7? As magical as that experience may be, it can never fully be achieved. There will come a time in your life when you aren’t connected to the Internet. It’s like the 80s all over again.

This chapter focuses on the dreadful moment when your user may not have an Internet connection. What is a person to do, read a book or something?

For the Messenger application, you’ll notify the user that they will not be able to send messages. Using the Network Information PhoneGap plug-in, you’ll be able to detect if the user ...

Get Beginning App Development with Parse and Phonegap now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.