-
Notifications
You must be signed in to change notification settings - Fork 289
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
IOS setup_log_stream Panic Exception #2296
Comments
setup_default_user_utils sets up the logger (see its source code for details), so if you setup your own logger, you will setup Rust system logger twice, and I guess that's the error |
Yes that was the error, thank you. If I'm using this logger init |
flutter_logger is not developed by me, thus I guess you can ask the author of the package - cc @MnlPhlp :) |
If setting up the logger twice is the problem why would it be different on ios and android? |
Yup, disabling IOS log feature in frb resolved the issue. Thanks for your help |
Hi,
I set up the logger to be able to send logs to Dart. I used the basic example for it. It is working great on Android, but on IOS an exception occurs when the log_stream is instantiated ( or re-instantiated but I don't understand how it could be called 2 times if it is the case).
Physical device:
IOS 15.8.3
iPad Air 2 (Model A1566)
Here are the error logs and my logger init code.
Rust:
Dart:
Error:
The text was updated successfully, but these errors were encountered: