-
Notifications
You must be signed in to change notification settings - Fork 1.6k
NSURLConnection doesn't call the delegate methods when my app installs Firebase Preformance Monitoring. #2201
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
Tracked internally at b/121352006 |
@kazuhiro4949 I'm trying to understand few things here to make sure I debug this right.
I tried making network requests using NSURLConnection and all the necessary delegates are getting called. I want to make sure we are not missing any specific scenario here. |
Closing due to inactivity. We'll reopen with more information. |
@visumickey @paulb777 https://github.com/kazuhiro4949/PerformanceMonitoringDebug It works on Xcode 10.1 and Swift 4.2. Implementing Thanks. |
Internally tracked at b/127766572 |
I really appreciate your help. Thanks |
This is currently worked on and hopefully released in the upcoming Perf SDK Release. Will keep this thread updated. |
After a lot of investigation, I'm confident that this is an issue with the GULSwizzler. The current issue is because of the scenario when NSOperation (derived class) implements "automaticallyNotifiesObserversForKey", the swizzler seem to loose reference of the delegate object and so the delegate object does not receive any updates. I'm working with the Swizzler library/people to get this resolved at the earliest. |
This is fixed and should be available in the upcoming release. |
Thanks! |
@visumickey do we have a date for when 6.6.0 should be live? |
@MikeSilvis The release is expected to happen before August 9th (this weekend). Will keep you posted as I hear the updates. |
@MikeSilvis Firebase 6.6.0 has published to CocoaPods. The zip and Carthage releases will be updated later today. |
Was able to confirm this fixed our SDK. Thanks |
Uh oh!
There was an error while loading. Please reload this page.
Describe your environment
Describe the problem
My app uses NSURLConnection in a background thread. It was configured a delegate object and expected to call the methods.
This code is in a subclass of NSOperation. It is the delegate object.
[self.connection start] is called in overridden "main" method.
This pull-request fixed the issue previously occurred, but another one is occurred...
#2067
This is a stack trace when NSURLConnection calls 'start' method.
The text was updated successfully, but these errors were encountered: