PreventSS

Stable Version 1.0.2 (OutSystems 11)
Published on 27 Oct by 
Details
Plugin based on https://github.com/flotrugliocoffice/cordova-plugin-prevent-screenshot-coffice to Prevent users from taking ScreenShots.
Read More

Functionality to prevent the user from taking ScreenShot only works in Android.
Functionality to detect a ScreenShot taken work for both, iOS and Android.
 (see this post).

It works just in the native apps installed in devices, you will not be able to test it in Browser or PWA.


You can keep the default behavior as you want, to enable or disable it for all app, and override it for just one specific screen.

This way you may be able to either, disable this functionality to all app in an easy way or let it enabled for all app and just block in a specific screen

What’s new (1.0.2)

Added the possibility to detect Screen Shot for iOS and Android.


However since Android don't have a default event for taking a ScreenShot, the option commonly used (Even by Snapchat) is to create an observer that keep checking if while the app is opened any file created have the name 'screenshot'.


Personally I don't think it is a very good way to do it, but is the only option I found. And looks like the Big Ones (Like Snapchat) also use it, so I accepted it for now at least :)


Since it needs to check for new files you will need the permission to Read External Storage, which is handled by the app.


 I made this option in android optional, so you can choose to use it or not.



Right now in the app you will be able to: 

-Prevent the user from taking screenshots in android only.

-Detect a screenshot taken by an User in both, iOS and Android.

-Set the default behavior for all app or for a specific screen

-Set the default callback for all app or for a specific screen


Check the demo Module on How to use it.


Reviews (1)
10 Nov (2 weeks ago)
in version 1.0.2
Very good plugin, easy to implement, developer support is excellent

Murilo Antonio.
Category
Mobile Plugins, Components
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Raphael Ranieri who created this component.
Dependencies
PreventSS has no dependencies.
Requirements
Platform:
11.0.606.0
Database:
All
Stack:
.NET
Component Consumers
No consumers yet.
Weekly Downloads