componentDidMount(){ PushNotification.configure({ onNotification: (notification) => { const clicked = notification.userInteraction; if (clicked) { this.setState({ controllerLaunched: false}); } }, }); }
componentDidMount(){ PushNotification.configure({ onNotification: (notification) => { const clicked = notification.userInteraction; if (clicked) { this.setState({ controllerLaunched: false}); } }, }); }