add android and ios version detect