How can I get current app without IME enabled?

I have two Nvidia Shields linked to my HA, weirdly one has the issue where the keyboard won’t show up and request I use a mobile device instead. After googling I found that there’s a new option to disable IME to resolve this in HA. The only problem is now I don’t get the currently running app which I use for automations.
Is there anyway I could retrieve the currently running app? Even it’s it’s delayed.