[TIMOB-11869] [TIMOB-11267] Finished up the Android detect lib. Fixed some small bugs in the iOS detect lib.