kean / Pulse

Network logger for Apple platforms
https://pulselogger.com
MIT License
6.32k stars 302 forks source link

Crash when using FirebaseAuth #141

Closed anthonysoulier closed 1 year ago

anthonysoulier commented 1 year ago

Hello, When using URLSessionProxyDelegate.enableAutomaticRegistration() our app is crashing when Firebase tries to refresh the access token. The crash is caused by an NSInvalidArgumentException exception

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GTMSessionFetcher setFetcher:forTask:]: unrecognized selector sent to instance 0x12e713340'
Screenshot 2023-01-18 at 11 29 12 Screenshot 2023-01-18 at 11 27 36
kean commented 1 year ago

I'm not sure if there is anything I can do to fix that. I suggest either registering URLSessionProxyDelegate manually or using full manual logging. More info here.

kean commented 1 year ago

Addressed in https://github.com/kean/Pulse/issues/155

anthonysoulier commented 1 year ago

Thanks for addressing this, seems to be working now!