Frezyx / talker

☎️ Advanced error handler and logger for dart and flutter apps
https://pub.dev/packages/talker
MIT License
486 stars 57 forks source link

Logging in FirebaseCrashlytics does not work #135

Open BDemetrix opened 1 year ago

BDemetrix commented 1 year ago

If I create a class as specified here https://pub.dev/packages/talker_flutter#talkerobserver
But I only import import 'package:talker_flutter/talker_flutter.dart';.

Then the construction:

final crashlyticsTalkerObserver = CrashlyticsTalkerObserver();
final talker = TalkerFlutter.init(observer: crashlyticsTalkerObserver);

doesn't work for Crashlytics doesn't work for sending error reports

image

image

It's also not a good idea to wrap everything in runZonedGuarded() as it gets lost Stack trace

image

Frezyx commented 1 year ago

Hello @BDemetrix ! I don't understand why it happens on your side 😞

Firstly package have TalkerObserver test and it passed in last release https://github.com/Frezyx/talker/blob/7d9d5429269847c684ec661200f6bcf287e87da2/packages/talker/test/talker_observer_test.dart

And here you can see my real project Crashlytics dashboard This project developed with talker from first day

image
jArecki444 commented 12 months ago

Hi! I have the same problem. It looks a bit like observer doesn't want to initialize - besides the crashlytics example, I checked ExampleTalkerObserver from the documentation and code I put there is not executed. I am using flutter version 3.13.3

njwandroid commented 7 months ago

@jArecki444 @BDemetrix @Frezyx any update plz?