cordova-plugin-screenshotv2

detect screenshot event,return the img file full path

Usage no npm install needed!

<script type="module">
  import cordovaPluginScreenshotv2 from 'https://cdn.skypack.dev/cordova-plugin-screenshotv2';
</script>

README

cordova-plugin-screenshot

cordova截屏监听事件for ios and android

cordova detect ios or android screen shot event and return the screenshot file fullpath

Supported platforms

  • Android 4.0.0 or above.
  • iOS 7.0 or above. Xcode 7 is required.

Installation

This requires cordova 7.0+

cordova plugin add cordova-plugin-screenshotv2

Quick start guide

add a callback function in global

function receiveScreenShotCallback(data){
    alert(data); //data return the file full path
    
   };
`

Update

edit gradle config refrence

update git url

comatible meizu/360os

remove impact image on ios