FloatingWindowCapacitor is a plugin that enables the creation of fixed floating windows on Android apps, making it easy to display important information persistently and conveniently.
npm install floating-window-cap
npx cap sync
showFloatingWindow(options: { url: string; }) => Promise<{ url: string; }>
Param | Type |
---|---|
options |
{ url: string; } |
Returns: Promise<{ url: string; }>
closeFloatingWindow() => Promise<null>
Returns: Promise<null>