User Agent


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.

Stuck on a Cordova issue?


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