-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Firebase Auth crashes with TrustKit #3742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
However, there is an internal dependency, GTMSessionFetcher, under Firebase/Auth. |
Can you try updating the version of GTMSessionFetcher? |
@morganchen12 u mean updating the internal dependency of FirebaseAuth module? |
It looks like GTMSessionFetcher version the latest from the Podfile.lock - https://github.com/thetminko/FirebaseAuthTrustKit/blob/master/Podfile.lock#L31 Something else is going on. |
@paulb777 Thanks and appreciate for helping! May I ask if I am logging this issue at the right place or should I log this issue to TrustKit? |
@thetminko I don't fully understand the issue, and it's still possible there's an issue with Firebase's swizzling. However, based on the data we have so far, it seems more likely to be a TrustKit issue. I recommend logging it to TrustKit. |
@paulb777 Thanks for the recommendation. I forgot to mention one thing. Firebase Messaging is actually working well with TrustKit swizzling. I could receive notifications even with TrustKit enabled. So, does it mean that the issue probably lie in the Firebase Auth module? |
I suspect it's because FirebaseAuth uses GTMSessionFetcher, but FirebaseMessaging does not. And the it looks like TrustKit's swizzling is breaking the functionality of GTMSessionFetcher. |
Hi @paulb777, thanks for the explanation. I have logged the issue in TrustKit as well. Let me open this issue till I get a confirmation from TrustKit about a fix. Thanks! |
@paulb777 Sadly, TrustKit is not going to fix this issue and their suggestion is to turn off the TrustKit swizzling. I had a use case where I could not so I think I have to look for some alternatives. Thanks for the support! |
@thetminko Thanks for sharing the investigation. Good luck solving your use case! |
Uh oh!
There was an error while loading. Please reload this page.
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Firebase Auth crashes when using TrustKit in the project with enabled swizzling
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
View my sample project
https://github.com/thetminko/FirebaseAuthTrustKit
Console Logs:
Stack Trace
Podfile
The text was updated successfully, but these errors were encountered: