InputField click bug in 2017.4.40

  1. Click InputField : Keyboard show
  2. Click background : Keyboard hide
  3. Click InputField : Keyboard not show

if you click background twice and then click InputField, Keyboard will show.

I tried 2017.4.21 and 2017.4.34, there’s no this problem.
I replace 2017.4.40’s unity-classes.jar with 2017.4.34’s in android project, this bug disapeared.
Is this operation safe? Or I should use old version Unity?

Here’s the simplest project, only one defalt InputField in scene
You can run this apk
https://github.com/dongch007/InputFieldTest

It’s not safe, since Unity’s native layer might call something from unity-classes.jar or vice versa, and if something mistmatches, the app will crash, but if it works - it works.

Also 2017 version is no longer supported, 2018 support is also ending in few months, it might be worth to switch to 2019.