User Agent

Contents

The UserAgent plugin provides functions to set the HTTP user-agent header. For more info about User-Agents, please see the HTTP User-Agent docs.

Requires Cordova plugin: cordova-useragent. For more info, please see the User-Agent plugin docs.

https://github.com/danielsogl/cordova-plugin-useragent

Stuck on a Cordova issue?

Installation

ionic cordova plugin add cordova-plugin-useragentnpm install @ionic-native/user-agent
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEYnpm install @ionic-enterprise/user-agent

Supported Platforms

  • Android
  • iOS

Usage