React-native-navigation: [V2]Navigation.events().bindComponent(this) do not work ? react-native-navigation: "2.0.2381"

Created on 16 Jul 2018  路  4Comments  路  Source: wix/react-native-navigation

simulator screen shot - iphone x - 2018-07-16 at 11 37 33

import { Navigation } from "react-native-navigation";    
constructor(props) { 
      super(props);
      Navigation.events().bindComponent(this); 
}

Most helpful comment

It was added in 2.0.2406

All 4 comments

It was added in 2.0.2406

@geirr thank you. It's working

Thanks.

Is there anyway to refresh bottom tabs in "react-native-navigation": "^1.1.316"?
this.listeners = [];
this.listeners.push(Navigation.events().registerComponentDidAppearListener((event)=>{
alert("hello");
}));

I am getting an error when I call event() method. Do I need to upgrade package?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

switchtrue picture switchtrue  路  3Comments

nbolender picture nbolender  路  3Comments

yedidyak picture yedidyak  路  3Comments

bdrobinson picture bdrobinson  路  3Comments

EliSadaka picture EliSadaka  路  3Comments