Use rn-push-notifications and set up recurring notification

This commit is contained in:
Julia Friesel
2018-08-27 14:31:28 +02:00
parent e64b46c41b
commit eb41ae354f
9 changed files with 172 additions and 121 deletions
+1 -2
View File
@@ -21,6 +21,7 @@ export default class App extends Component {
currentPage: 'Home'
}
this.backHandler = BackHandler.addEventListener('hardwareBackPress', this.handleBackButtonPress)
setupNotifications(this.navigate)
}
componentWillUnmount() {
@@ -62,5 +63,3 @@ export default class App extends Component {
)
}
}
setupNotifications()