Skip to content

Navigator warns about BackAndroid #804

Closed

Description

@ide

The "else" code path below is running on iOS, triggering a warning:

    if (this.parentNavigator) {
      this.parentNavigator.setHandler(this._handleRequest);
    } else {
      // There is no navigator in our props or context, so this is the
      // top-level navigator. We will handle back button presses here
      BackAndroid.addEventListener('hardwareBackPress', this._handleBackPress);
    }

cc @ericvicenti

Activity

  1. ericvicenti commented on Apr 13, 2015

    @ericvicenti
    Contributor

    Ah, yes. Will fix

  2. ide commented on May 6, 2015

    @ide
    ContributorAuthor

    This got fixed awhile ago, thanks

  3. locked as resolved and limited conversation to collaborators on May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions