Closed gtmickey closed 3 weeks ago
Hmm, I guess that is more like a general Rust + iOS question than a flutter_rust_bridge question, so it may be great to ask there.
That said, here are my two cents: If you want to do logging, here are the docs https://cjycode.com/flutter_rust_bridge/guides/how-to/logging. For example, using approach 1, you can do log::info!("...")
instead of println!()
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue.
Describe the bug
I have some print code on rust side like
When I run on ios debug mode, everything is ok. but when run on ios release mode, error shows, but if I close app then reopen, do same operation, error gone. so It only happen on first time.
Steps to reproduce
build iOS app on release mode, run on physical device, then call some function where contain
println!
code on rust side.Logs
Expected behavior
No response
Generated binding code
No response
OS
MacOS
Version of
flutter_rust_bridge_codegen
2.0.0-dev.30
Flutter info
Version of
clang++
No response
Additional context
No response