-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[performance]: Requests from Transistor SDK are not been automatically intercepted #12655
Comments
Hey @danielgomezrico - Firebase performance should automatically intercept the requests. This is at the level of the firebase-android-sdk which FlutterFire is a thin wrapper around. There isn't anything we can do to fix this on FlutterFire. Ideally, you could find a way to mimic the behaviour on a barebones android app and open an issue on firebase android repo. You could try and open an issue without a reproduction, but it would fall down the pecking order of things to fix. One thing I would note is on the repo, you have a log on the README:
It's interesting in the sense that it wasn't processed 🤔 . I wonder if something similar is happening with other Transistor SDK requests that stop it from being logged. Might be worth investigating. |
Thanks @russellwheatley, I will open the issue there! That log does not even appear for the requests done by the library, but it's still interesting to know why it says that |
Is there an existing issue for this?
Which plugins are affected?
Performance
Which platforms are affected?
Android, iOS
Description
Hi
I'm using a library to monitor GPS locations called transistor. This library has a native implementation on Android and iOS from which does HTTP requests on the native side every x time.
I'm reporting this because the transistor SDK requests are not been caught by Firebase performance:
The only way I found is listening to the HTTP request events done by the transistor SDK, but| I lose the request time and payload size with that.
I already spoke with Firebase Support with someone named Amuel, and told me that its better to open an issue so that this issue is been taken this way and not via support, not sure why
Expected
I want to track this requests with Firebase performance because GPS tracking is a central feature of my app, and I am not able to do it.
I don't understand what is happening since the Firebase performance is already listening to other requests I do on the flutter side but not those done by the transistor SDK.
Reproducing the issue
Take a look at this project: https://github.com/danielgomezrico/transistor-sdk-and-firebase-performance-error-example
It uses:
Firebase Core version
2.27.1
Flutter Version
3.16.4
Relevant Log Output
No response
Flutter dependencies
Expand
Flutter dependencies
snippetAdditional context and comments
I hope you could help me with this, It's pretty frustrating to have a core part of your app without a proper monitoring tool checking it.
The text was updated successfully, but these errors were encountered: