Android hardware back button has slow response, if any

Thanks for your response thomas!
-I’m testing on emulator and physical device. Both results are same.
-The issue is with the hardware back button. The software back buttons have no issues.
-I tried the console.log test and same response. I also tried alert() and it displays immediately but back() is still slow.