Skip to content

this.onMainScreen() is not defined #8822

@MikeChongCan

Description

@MikeChongCan
BackAndroid.addEventListener('hardwareBackPress', function() {
     if (!this.onMainScreen()) {
       // Do something
       return true;
     }
     return false;
});
  • Provide screenshots where appropriate
    screenshot_2016-07-16-09-44-37

  • What's the version of React Native you're using?

    0.29

  • Does this occur on iOS, Android or both?

    Android

  • Are you using Mac, Linux or Windows?

    Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions