We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm submitting a ... (check one with "x") [X] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior: When I tap hardware back button on my Galaxy S8 application does not close when there are no more "possibilities" to go back.
Expected behavior: After going back through all pages and being on the last, hardware button should close the app.
Steps to reproduce:
The text was updated successfully, but these errors were encountered:
how to exitApp? ionic3 this platForm.exitApp() has No effect!
Sorry, something went wrong.
Switch to Flutter.
ionic4 how to exitApp?
I'm using this:
In app.component.ts (e.g. inside initializeApp() method)
app.component.ts
initializeApp()
this.platform.backButton.subscribeWithPriority(0, () => { if (!document.querySelector('.ion-page.can-go-back:not(.ion-page-hidden)')) { (navigator as any).app.exitApp(); } });
No branches or pull requests
I'm submitting a ... (check one with "x")
[X] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
When I tap hardware back button on my Galaxy S8 application does not close when there are no more "possibilities" to go back.
Expected behavior:
After going back through all pages and being on the last, hardware button should close the app.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: