update iOS and Android libraries, and fix line endings