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

Listener dosen't work #61

Open
JackHuang111 opened this issue Jul 13, 2022 · 2 comments
Open

Listener dosen't work #61

JackHuang111 opened this issue Jul 13, 2022 · 2 comments

Comments

@JackHuang111
Copy link

I use it just like the example, but the listener dosen't work

@override
  void initState(){
    super.initState();
    init();
  }

  @override
  void dispose() {
    super.dispose();
  }
  void init() async {
    await initScreenshotCallback();
  }

  //It must be created after permission is granted.
  Future<void> initScreenshotCallback() async {
    screenshotCallback = ScreenshotCallback();
    screenshotCallback.addListener(() {
      print("We can add multiple listeners ");
    });
  }
@AhmedHammad0900
Copy link

same here , this package not working

@ericzhou2008
Copy link

same here, iOS work well,Android not work

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

3 participants