if (connection == null) {
        return { remove: () => {} };
      }
An object with the same methods as above but the listener receives a
boolean which represents the internet connectivity.

See https://facebook.github.io/react-native/docs/netinfo.html#isconnected