A
A
Andrey Okhotnikov2019-11-08 11:38:51
React Native
Andrey Okhotnikov, 2019-11-08 11:38:51

Transition along the route when clicking on the push?

I use react-native-navigation
When clicking on a push, a function is called that should transfer to the desired screen, but Navigation.push does not work

onNotification(notification: any) {
      Mindbox.clickOnPush(notification);

      Navigation.push(componentId, {
        component: {
          name: CATALOG
        },
      });

      notification.finish(PushNotificationIOS.FetchResult.NoData);
    },

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question