【发布时间】:2019-05-29 08:29:03
【问题描述】:
firebase.notifications().onNotificationOpened((notificationOpen) => {
const { notification } = notificationOpen;
notification.android.setChannelId('notificationId');
this.props.navigation.navigate("LoginScreen");});
我在点击 react native 中的 firebase 通知时遇到 undefined is not an object (evaluate 'navigation.navigate') 的问题
【问题讨论】:
标签: android firebase react-native