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; }>


/capacitor-plugin-useragent/

    Package Sidebar

    Install

    npm i capacitor-plugin-useragent

    Weekly Downloads

    214

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    18.8 kB

    Total Files

    26

    Last publish

    Collaborators

    • asephermann