When those 10 seconds freezes appear, I’ve got plenty of time to stop the app manually and check where it’s hanging. Every time I stop the app it’s stopping at openKeyboard, though the calls above obenKeyboard in the Stacktrace are not always the same. With above I mean, from 0 to 17 in the screenshot, openKeyboard being position 18. It could also be from 0 to 15, I’m not 100% sure which of those are always the same, though the upmost few are always different.
So it seems like, it’s really doing a lot of things in those 10 seconds to open the keyboard for some reason, enough to cause a 10 seconds freeze.