Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOS][Android] add JS interface and options #27

Open
ibrahim-sakr opened this issue Jul 12, 2016 · 1 comment
Open

[IOS][Android] add JS interface and options #27

ibrahim-sakr opened this issue Jul 12, 2016 · 1 comment

Comments

@ibrahim-sakr
Copy link

for a better control, I think you should add

  • option to enable the plugin
  • option to disable
  • event or some return value to detect that user makes a screenshot and prevented -> so we can give the user some feedback
  • some kind of callback function (success, error) for enable and disable options.
@devgeeks
Copy link
Owner

Well, I agree that more options would be better, but at least on Android (where screenshots are blocked) the plugin is simply setting a system level flag. I am not sure there is any way the plugin could know if a user tried to take a screenshot. Android does at least let the user know that it was blocked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants