Cap-go / capacitor-inappbrowser

Capacitor plugin in app browser with urlChangeEvent
MIT License
58 stars 37 forks source link

closeEvent not triggered via android hardware back #92

Open bluesnow4425 opened 7 months ago

bluesnow4425 commented 7 months ago

Hi. It seems like closeEvent only triggered from click close button on toolbar. Also App.addListener('backButton', {}) is not working when inappbrowser opens either.

Any advise for closing inappbrowser via android hardware back button? Thanks.

riderx commented 7 months ago

Hi, sorry i missed your issue, closeEvent has been fixed in latest. what do you expect for backButton ?

shishirumrao commented 5 months ago

when tapping android hardware back button, it should navigate back. Right now it is closing browser

riderx commented 4 months ago

Did you tried activeNativeNavigationForWebview ?