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

Callbacks failing on MacOS #11

Open
kinga112 opened this issue Aug 2, 2024 · 0 comments
Open

Callbacks failing on MacOS #11

kinga112 opened this issue Aug 2, 2024 · 0 comments

Comments

@kinga112
Copy link

kinga112 commented Aug 2, 2024

I am trying to figure out the root of the issue, but callbacks when listening and calling 'on' for a FlutterGunLink seems to do nothing on MacOS. This is the callback when running the example on MacOS: Closure: (dynamic, [String?, dynamic]) => Null,

Running on chrome: Closure: (dynamic, [String?, dynamic]) => Null from: (a, b = null, c = null) => {
core.print("pasteJust:::: " + dart.str(a));
this.setState(dart.fn(() => {
if (a != null) {
this.gundbText = T.String()_as;
if (this.gundbText !== this.gunDBTestingController.text) {
this.gunDBTestingController.text = this.gundbText;
}
}
}, T.VoidTovoid()));
}

Null on MacOS causes no trigger for any of the calls in 'on' function, so nothing can get fetched from gun graph nodes.

I am trying to find more and will add more here if I find anything, but wanted to post this to see if anyone had else had issues or any thoughts that could help.

Thanks

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