basic example of firebase in react-native, to go with companion blog post at https://blog.davidbramsay.com/reactnativefirebase/
this creates a persistent anoymous token for each phone, allows create/read access by that phone to their data in the cloud, and handles syncing/caching/disconnections from the internet all seamlessly. It also demonstrates how to plot the timeseries data nicely.