@codebrew/capacitor-user-agent
TypeScript icon, indicating that this package has built-in type declarations

6.0.0 • Public • Published

@codebrew/capacitor-user-agent

User Agent get/set/reset plugin for Capacitor

Install

npm install @codebrew/capacitor-user-agent
npx cap sync

API

set(...)

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

Returns: Promise<{ userAgent: string; }>


get()

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

Returns: Promise<{ userAgent: string; }>


reset()

reset() => Promise<void>

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
6.0.0107latest

Version History

VersionDownloads (Last 7 Days)Published
6.0.0107
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i @codebrew/capacitor-user-agent

Weekly Downloads

107

Version

6.0.0

License

MIT

Unpacked Size

19.1 kB

Total Files

25

Last publish

Collaborators