Use rn-push-notifications and set up recurring notification
This commit is contained in:
+1
-2
@@ -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()
|
||||
Reference in New Issue
Block a user