At the moment it's likely the hardware back button will not work on android devices. This is because it's very unlikely we enter the case on handleResume where we set the keyboard listener to this. This PR cleans up the code and has been tested as working on a few android devices with different Android versions.
Type of change: bugfix
Motivation
At the moment it's likely the hardware back button will not work on android devices. This is because it's very unlikely we enter the case on handleResume where we set the keyboard listener to
this
. This PR cleans up the code and has been tested as working on a few android devices with different Android versions.