Added support for web app mode to iOS and Android