-
I have added capacitor to my existing vue app. Looking for a way to detect hardware back button to close the app. Tried adding event listener for Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think you're looking for the |
Beta Was this translation helpful? Give feedback.
I think you're looking for the
backButton
event in the App plugin: https://capacitorjs.com/docs/apis/app#method-addListener-3