2D Toolkit Forum
2D Toolkit => Support => Topic started by: zblack on July 21, 2015, 06:54:38 pm
-
I found a couple of topics from last year about this not working on iOS, but I'm having the opposite problem. Works fine on desktop (editor) and iOS - not on Android. Any help?
-
I solved this by using the same code that was used for the iOS case (which was already in tk2d):Just removed the UNITY_IOS check so it would also run on Android:
#if UNITY_IOS && !UNITY_EDITOR
inputStr = keyboard.text;
if(!inputStr.Equals(text)) {
newText = inputStr;
change = true;
}
#endif
-
Hi,
What version of tk2d are you using? I vaguely remember fixing this on Android in 2.5x...