[TIMOB-11869] Updated the ios and android build to use the new detection lib.