Reputation: 81
I develop an iOS application (Swift 4) and I have successfully added Firebase Performance to make custom traces.
But I also want to monitor network performance and unfortunately, the network requests initiated from my application are not captured (but network requests made by crashlytics are captured correctly).
As mentioned in the official documentation, there are known issues about Firebase Performance on iOS:
I use NSURLSession and not NSURLConnection so the first issue is not applicable.
I use a custom delegate but I have implemented all the possible delegate methods (to conform the 2nd issue).
Any ideas why it doesn't work and how to solve the problem ?
Kind regards
Upvotes: 5
Views: 3306
Reputation: 817
Do you still have this problem? The automated network collection in Firebase Performance requires a minimum number of events before they will appear in the console. Usually in a released app, this isn't an issue. But if you've just added the SDK or a new URL endpoint and are manually testing, it will take a few iterations to get enough samples to display.
The same applies for more complex URL patterns: The URL paths will be broken down to finer levels of detail as more events are collected.
Upvotes: 2