Flogs
Flogs copied to clipboard
Error when logging obfuscated Flutter app
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:
https://github.com/zubairehman/Flogs/blob/86bb3e9509ed910e5d84801decabc77eee8dccd5/lib/model/flog/flog.dart#L404
Probably because when the Stacktrace is obfuscated it is different from the normal one.
Thanks for you feedback, will push the fix for this soon
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 {
...
}