status-react/modules
Andrea Maria Piana d760f1696c
Add mailservers confirmations & use peer count for online status
We now check that we are only connected to some `peers` instead of using `NetInfo` from `react-native`.

This is because it has been reported to be quite flaky at times, not reporting online status after sleeping, and for privacy concerns (on ios it pings `apple.com`, on desktop `google.com`).

Adds a new banner `Wallet Offline` and change `Connecting to peers` to  `Chat offline`.

A message will be marked as `Sent` only if it made it to the mailserver you are connected to, which will increase the guarantees that we can make about a message (if you see it as sent, it has reached at least a mailserver), this has the consequence that:

- If you are not connected to any mailserver or the mailserver is non responsive/down, and you send a message, it will be marked as `Not sent`, although it might have been actually made it in the network.

Probably this is something that we would like to communicate to the user through UX (i.e. tick if made it to at least a peer, double tick if it made to a mailserver )

Currently I have only enabled this feature in nightlies & devs, I would give it a run and see how we feel about it.
2018-12-12 19:53:01 +01:00
..
react-native-desktop-linking Improve ubuntu-server and `RCTStatus` logging. Part of #6593 2018-11-06 20:28:02 +01:00
react-native-desktop-menu Add react-native-desktop-menu native module 2018-12-01 02:03:06 +02:00
react-native-desktop-notification Add missing configuration for Windows desktop notifications. Part of #6728 2018-11-20 15:11:01 +01:00
react-native-status Add mailservers confirmations & use peer count for online status 2018-12-12 19:53:01 +01:00