I Am Getting Undefined Is Not An Object (evaluating 'this.props.navigation.navigate')
firebase.notifications().onNotificationOpened((notificationOpen) => { const { notification } = notificationOpen; notification.android.setChannelId('notificationId'); this.props.
Solution 1:
Without any futher informations, the error is clear. You're trying to get a property of your content called navigation
. But, in this context, it's not defined or not accessible.
To get the content of your property, make sure it's defined clearly in your content and accessible inside of your function .
Then you should be able to use the function navigate('LoginScreen')
related to your property.
Post a Comment for "I Am Getting Undefined Is Not An Object (evaluating 'this.props.navigation.navigate')"