Skip to content

Fix hardware back button functionality - #46

Open
Gabbar-v7 wants to merge 1 commit into
potatameister:mainfrom
Gabbar-v7:fix/back
Open

Fix hardware back button functionality#46
Gabbar-v7 wants to merge 1 commit into
potatameister:mainfrom
Gabbar-v7:fix/back

Conversation

@Gabbar-v7

@Gabbar-v7 Gabbar-v7 commented May 7, 2026

Copy link
Copy Markdown

This pull request updates the main entry point of the application to improve Android-specific behavior and error handling. The most notable change is the addition of a listener for the Android back button, which now enables navigation or exits the app as appropriate.

Closes: #40, Fixes: #38

Android integration improvements:

  • Added a listener for the Android back button using @capacitor/app. If the app can go back in history, it navigates back; otherwise, it exits the app. (src/main.tsx)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with closing the App it's with Navigation

1 participant