User Agent get/set/reset plugin for Capacitor
npm install @codebrew/capacitor-user-agentUser Agent get/set/reset plugin for Capacitor
``bash`
npm install @codebrew/capacitor-user-agent
npx cap sync
`typescript`
set(options: { userAgent: string; }) => Promise<{ userAgent: string; }>
| Param | Type |
| ------------- | ----------------------------------- |
| options | { userAgent: string; } |
Returns: Promise<{ userAgent: string; }>
--------------------
`typescript`
get() => Promise<{ userAgent: string; }>
Returns: Promise<{ userAgent: string; }>
--------------------
`typescript``
reset() => Promise
--------------------