On a Samsing Galaxy S10, running Android 10 (this was not an issue with the keyboard they shipped in Android 9) key events are no longer fired when the (default) predictive text is turned on.
Some other apps, such as Termux (termux/termux-app#686) report that words appear after space/enter etc - however that is not true for gomobile. Each time a word should display a single "unknown key code" event is fired and no characters.
What version of Go are you using (go version)?
1.12, 1.13, 1.14
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
I think the environment on the Android phone is most relevant, but I don't know what to provide.
Code works fine on older keyboards, or if you turn off the predictive text
What did you do?
run a gomobile app on Galaxy S10 with Android 10, cause a keyboard to appear (I used fyne_demo app).
type "hello " (ending in a space) and see that only a space is added to the entry.
type "g " and you will see that "g" is shown followed by a space.
I have managed to force disabling of prediction by using a hidden EditText and setting the input type: textEdit.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD);
However this does not generate any key events when typing.
I followed that line of thought for a while but then realised that normal keyboard will get double-events because they get keys as well.
This feels like a very complex situation. Any experts got thoughts? :)