capacitor-plugin-useragent
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

capacitor-plugin-useragent

Allows you to change your User-Agent for HTTP requests.

Install

npm install capacitor-plugin-useragent
npx cap sync

API

set(...)

set(options: { value: string; }) => Promise<{ value: string; }>
Param Type
options { value: string; }

Returns: Promise<{ value: string; }>


get()

get() => Promise<{ value: string; }>

Returns: Promise<{ value: string; }>


reset()

reset() => Promise<{ value: string; }>

Returns: Promise<{ value: string; }>


Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    218
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    218
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i capacitor-plugin-useragent

Weekly Downloads

218

Version

0.0.4

License

MIT

Unpacked Size

18.8 kB

Total Files

26

Last publish

Collaborators

  • asephermann