Skip to content
New issue

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

fix back button issue #2

Merged
merged 1 commit into from
Nov 22, 2020
Merged

fix back button issue #2

merged 1 commit into from
Nov 22, 2020

Conversation

okhiroyuki
Copy link
Owner

fix back button issue

when the user clicks the back button on the barcode scanning screen, the onKeyDown (in CaptureActivity) will react to it and the activity will be closed.
But the next Activity will capture the onBackPressed event, therefore it will be closed as well.
So with one back click, 2 Activity are closed.
phonegap#773

@okhiroyuki okhiroyuki merged commit 70a6a1e into master Nov 22, 2020
@okhiroyuki okhiroyuki deleted the fix/back-button-issue branch November 22, 2020 11:03
ath0mas added a commit to ath0mas/cordova-plugin-barcodescanner that referenced this pull request Aug 19, 2023
fix: use configuration 'implementation' to prevent build error with AGP 7
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.

1 participant