Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 980 Bytes

File metadata and controls

59 lines (36 loc) · 980 Bytes

@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>