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

screenshotStream not getting triggered on screenshot capture event for Android only. #66

Open
adilexperience opened this issue Dec 28, 2024 · 0 comments

Comments

@adilexperience
Copy link

Disable screenshots and capture the screenshot, on iOS when trying to capture the screenshot, it triggers callback screenshotStream with payload if the screenshot was captured or not. But that is not working on Android.

Code to reproduce the issue.

final _noScreenshot = NoScreenshot.instance;

await _noScreenshot.startScreenshotListening();
await _noScreenshot.screenshotOff();

_noScreenshot.screenshotStream.listen((ScreenshotSnapshot value) {
    print(value.toMap());
});
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

1 participant