How to disallow screenshoot in ionic 3?

删除回忆录丶 提交于 2019-12-13 01:54:27

问题


How can I prevent the user from taking screenshots in ionic 3? I can not find any info about how to disallow take screenshots on android using ionic 3 for example using ionic native.


回答1:


Maybe take a look at this - "PrivacyScreenPlugin" at "https://www.npmjs.com/package/cordova-plugin-privacyscreen"?

I used the same to disable screenshots for my Android App and it worked fine.




回答2:


You can try the following links:

https://www.npmjs.com/package/cordova-plugin-prevent-screenshot

https://ourcodeworld.com/articles/read/168/how-to-disable-screenshots-within-a-cordova-application-in-android



来源:https://stackoverflow.com/questions/51217232/how-to-disallow-screenshoot-in-ionic-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!