Allows you to change your User-Agent for HTTP requests.
npm install capacitor-plugin-useragent
npx cap sync
set(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
get() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
reset() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>