cordova截屏监听事件for ios and android
cordova detect ios or android screen shot event and return the screenshot file fullpath
- Android 4.0.0 or above.
- iOS 7.0 or above. Xcode 7 is required.
This requires cordova 7.0+
cordova plugin add cordova-plugin-screenshotv2
add a callback function in global
function receiveScreenShotCallback(data){
alert(data); //data return the file full path
};
`
edit gradle config refrence
update git url
comatible meizu/360os
remove impact image on ios