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