-
Notifications
You must be signed in to change notification settings - Fork 14
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
DartPingIOS.register(); not working inside secondary isolate #48
Comments
Oh fascinating! I certainly hadn't considered this case. I'll look into it. Thanks for the report |
Did you try what was suggested here? If so, what was the outcome? |
@point-source As mentioned in the comments to the answer I already tried initialising
|
After looking into this, it appears to be an issue with the upstream flutter_icmp_ping library which this library depends on for iOS support. I looked into adding support to that library for this use-case and found that it is currently blocked by this flutter issue. The only workaround that I am aware of is to use dart:ffi under the hood of flutter_icmp_ping instead of using flutter platform channels. In fact, this might be worth doing regardless but as I am not the author of that library, I have opened this ticket for you. |
I have a use case, where I need to run ping inside another isolate and return results to the main isolate.
However when trying to register on ios I get an error.
The text was updated successfully, but these errors were encountered: