works on iOS6 and Android 4.2 and better demo