You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to know in which cases and on what platforms the PlatformException.stacktrace is set without having to look up the implementation for each platform in the engine.
@rafaelsetragni currently the stacktrace is only set, if there's an exception during serialization of data for method channels and only on Android. At least, that's what I found by testing and reading of the source.
For your use case you should probably create a new issue in this repo because that sounds like a valuable thing to have.
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 bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
rafaelsetragni commentedon Apr 8, 2022
@ueman, how to pass the exception stack trace to dart channel using
result.errormethod (PlatformException) on Android? And on iOS?ueman commentedon Apr 8, 2022
@rafaelsetragni currently the stacktrace is only set, if there's an exception during serialization of data for method channels and only on Android. At least, that's what I found by testing and reading of the source.
For your use case you should probably create a new issue in this repo because that sounds like a valuable thing to have.
github-actions commentedon Mar 5, 2023
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 bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.