Introduce realm and persist temperatures

This commit is contained in:
Julia Friesel
2018-05-31 21:38:39 +02:00
parent 718573d31b
commit 167f24b601
8 changed files with 1191 additions and 225 deletions
+6 -1
View File
@@ -1,4 +1,9 @@
import { AppRegistry } from 'react-native'
import Home from './app'
import { openDatabase } from './db'
AppRegistry.registerComponent('home', () => Home)
// TODO error handling
openDatabase()
.then(() => {
AppRegistry.registerComponent('home', () => Home)
})