Skip to content

cordova-screenshot

https://github.com/kaarbontech/cordova-screenshot

What

The Screenshot plugin allows your application to take screenshots of the current screen and save them into the device.

Why use a fork on github.com/kaarbontech

WRITE_EXTERNAL_STORAGE as a permission on android was deprecated after android 10. The original cordova-screenshot plugin repo is no longer maintained. So we have our own fork with the check for WRITE_EXTERNAL_STORAGE removed.

How

  • Used to take screenshot of pipeend diagram in PipesView.js takeScreenShot()

Proposal

There is a proposal to render the pipeend diagrams from the saved pipeend information instead of relying of the screenshot and saving the image. Meaning this plugin would no longer be needed.