Hardware back button right after opening app leads to blank page (index?)


Im using the framework just to “cordova.InAppBrowser.open” my webapp and it works.
But after opening my webapp, if I press the hardware back button I have a blank screen which I think is the index.html (which I am using to open my webapp).
Obviously the same behavior is presented if I navigate through my webapp and press back numerous times until the start of the webapp.

Is there a way to change this behavior or call my webapp even before opening the index.html so the issue with the hardware back button can’t happen?