React-native-navigation: Navigation Listener events not received after upgrade to 1.1.473

Created on 1 Jul 2018  路  5Comments  路  Source: wix/react-native-navigation

Issue Description

I setup a navigation event listener like so: https://wix.github.io/react-native-navigation/#/screen-api?id=listen-visibility-events-in-onnavigatorevent-handler

constructor(props) {
    super(props);
    this.props.navigator.setOnNavigatorEvent(this.onNavigatorEvent.bind(this));
  }
  onNavigatorEvent(event) {
    console.log(event);
  ...

On version 1.1.440, everything worked as expected and I received my events.

Upgrading to 1.1.473, the callback remains uncalled.

Steps to Reproduce / Code Snippets / Screenshots

Setup the listeners like described in https://wix.github.io/react-native-navigation/#/screen-api?id=listen-visibility-events-in-onnavigatorevent-handler


Environment

  • React Native Navigation version: 1.1.473
  • React Native version: 0.55.4
  • Platform(s) (iOS, Android, or both?): both
  • Device info (Simulator/Device? OS version? Debug/Release?): iOS Simulator

Most helpful comment

Yes, it doesn't work on 473.
It seems to be working again on the brand new 1.1.474.
Can you try it?

All 5 comments

It works on 1.1.472.

But can you reproduce the issue on 1.1.473?

Yes, it doesn't work on 473.
It seems to be working again on the brand new 1.1.474.
Can you try it?

I can confirm that this is SOLVED on 1.1.474. Thanks!

@guyca can be marked as solved

Duplicate with #3443
Closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kiroukou picture kiroukou  路  3Comments

nbolender picture nbolender  路  3Comments

yedidyak picture yedidyak  路  3Comments

zhanguangao picture zhanguangao  路  3Comments

yayanartha picture yayanartha  路  3Comments