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

[Android] back-button doesn't work as expected #89

Open
blue-hope opened this issue Oct 15, 2018 · 3 comments
Open

[Android] back-button doesn't work as expected #89

blue-hope opened this issue Oct 15, 2018 · 3 comments

Comments

@blue-hope
Copy link

blue-hope commented Oct 15, 2018

My environment: ionic 3

I expected that back-button in android environment works like popping the ionic navigation control stack or exiting the app.
But when I add this plugin in my android ionic-app, and use keyboard as usual, back-button does not work.
Here's the situation where the problem occurs:

If user want to type something in app, he'll open the keyboard tap

In this situation, back-button works.

When he types something on keyboard tap

In this situation, back-button doesn't work.

If he enter the typed word, and the cursor in keyboard input box exists

In this situation, back-button doesn't work.

At last, if he touches other side apart from keyboard and the cursor disappears

In this situation, back-botton works

I think the back-button is not processed on android_layer or in-app layer, but handled within the plugin inside.
How can I solve this problem ?

@pcvengros
Copy link

same problem, behavior:

  • before first use of keyboard all is working as it should = my handler on back button is working
  • open keyboard first time in messenger -> result -> when you hit back button, application is exited immediately

@gregavola
Copy link

@pcvengros Did you ever figure out a resolution here?

@pcvengros
Copy link

No, still same issue with no resolution. Back button handler works correctly unless the nativekeyboard is closed/hiden. If keyboard is open it will stop working and on back button whole app closes.

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

No branches or pull requests

3 participants