cordova-plugin-native-keyboard
cordova-plugin-native-keyboard copied to clipboard
[Android] back-button doesn't work as expected
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 ?
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
@pcvengros Did you ever figure out a resolution here?
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.