techmatters / terraso-mobile-client

A React Native project for Terraso’s LandPKS mobile application.
https://landpks.terraso.org
GNU Affero General Public License v3.0
2 stars 0 forks source link

Research - Find a good network status detection library #1930

Closed DerekCaelin closed 2 months ago

DerekCaelin commented 3 months ago

Research task: We need a way to detect connectivity state. Consider @react-native-community/netinfo

References

Offline Research

Acceptance Criteria

DerekCaelin commented 3 months ago

Carissa says netinfo looks good, assume we should use.

Want to look at different cases where the app wants to communicate with server and experiment with that.

Ruxandra: Can we detect a difference between being on Airplane mode, offline, server is down? Do we want to have a different user experience for those states? (Carissa says that Netinfo probably can't help distinguish these states)

DerekCaelin commented 2 months ago

@knipec I think this is done?