None of the logic work on android app (but its flwaless in pie and stand alone)

Hello.
I’m making an app with widgets.
In the main widget there is a text entry (to write your name) and I have limited it to a specific number of characters.
There is another entry to enter time that will after 2 character it will automatically insert : to separate hours and minutes (00:00)

All this works with no problems in pie and stands alone but when installing it on android nothing work at all.

Thank you.