Error when logging obfuscated Flutter app
matpag opened this issue · 2 comments
matpag commented
If I build an app with --obfuscate
and --split-debug-info
and try to log a crash automatically, an error is thrown at this line:
Flogs/lib/model/flog/flog.dart
Line 404 in 86bb3e9
Probably because when the Stacktrace is obfuscated it is different from the normal one.
zubairehman commented
Thanks for you feedback, will push the fix for this soon
zmoshansky commented
Likewise, this pair of lines autofetching className/methodName
throw exceptions when invoked from a non-class function.
ex.)
nativeCodeCallback() {
Flog.info(text: 'Non-Class function')
}
class someClass {
...
}