Android back button exits app #14777
Unanswered
andreashellstrom
asked this question in
CLI - Capacitor / Cordova modes
Replies: 1 comment
|
SOLVED! Running this fixed my issue: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm having an issue with my Quasar/Capacitor app. The Android back button always closes the app, no matter where in the router history I'm at. How do I prevent that? I want the back button to go back to the previous page. I do not want the back button to close the app.
I have vueRouterMode to 'hash'
quasar.conf.js
I have explicitly specified backButtonExit = false
quasar.conf.js
I do all navigation in the app with
$router.push().Running with
quasar devin web brower works fine, I can see the url change correctly when I go to the different pages in the app.Running on emulator or my mobile with
quasar build -m capacitor -T android, the back button does not work the way I want. It never goes back to the previos page, always closes the app.Is someone able to assist me with this?
The back button
Can someone assist me in this?
All reactions