Please provide the following:
- SDK Version:34.0.1
- Platforms(Android/iOS/web/all):Android
componentDidMount() {
this._notificationSubscription = Notifications.addListener(this._handleNotification());
// this.CheckIfLoggedin();
}
_handleNotification = notification => {
console.log(“dsdjkasdasd”+notification)
if(notification==undefined)
{
this.CheckIfLoggedin();
}
else {
console.log(‘in’)
console.log(“sadhsdbnsdbasdbvasbd”+JSON.stringify(notification.data.uri));
if(notification.origin==‘selected’)
{
this.props.navigation.navigate(notification.data.uri)
}
}
};