Tested on iPhone 5 and Android emulator.