I am trying to use Expo.Notifictions.addListener in my component (on iOS standalone build), but it doesn't fire although notifications are successfully received.
addListener() is placed inside componentDidMount()
function.
Expo.Notifications.addListener(this.handleNotification);
handleNotification = () => {
this.setState({
something: 3,
});
};