Skip to content

remnoteio/capacitor-screenshot

 
 

Repository files navigation


Screenshot

capacitor-screenshot

Capacitor community plugin for take screenshot.


Maintainers

Maintainer GitHub Social
Luan Freitas (ludufre) ludufre @ludufre

Installation

npm install capacitor-screenshot
ionic cap sync
yarn install capacitor-screenshot
ionic cap sync
pnpm add capacitor-screenshot
ionic cap sync

Configuration

Not needed.

Usage

import { Screenshot } from 'capacitor-screenshot';

...

Screenshot.take().then((ret: { base64: string }) => {
    console.log(ret.base64); // or `data:image/png;base64,${ret.base64}`
});

About

This plugin take screenshot of the app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 34.6%
  • Swift 25.5%
  • Ruby 12.7%
  • TypeScript 12.2%
  • Objective-C 8.8%
  • JavaScript 6.2%