问题描述
是否可以防止用户在使用Ionic / Cordova开发的Android应用程序中截取屏幕截图?
Is it possible to prevent the user from taking a screenshot in an android application developed using Ionic/Cordova?
如果可能,怎么办?
我在Ionic论坛上问过,但我没有得到答案。
If it's possible, How?I asked in the Ionic forum but i did not get an answer there.
推荐答案
一个插件。在这里使用一个:
Yes you can do this with a plugin. Use the one here:http://blog.devgeeks.org/post/92139782094/the-privacy-screen-plugin-for-cordova-phonegap
但请注意,完全愚蠢的方式阻止人们捕获你显示的东西。他们可以总是指向另一台摄像机在手机,例如,或者如果他们根电话他们可以绕过安全。
Note however, there is no completely fool proof way of stopping people from capturing what you display. They can always point another camera at the phone for example, or if they root the phone they can bypass the security.
这篇关于如何防止用户在Ionic / Cordova中截取屏幕截图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!