Skip to content

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

@adilexperience

Description

@adilexperience

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());
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions