arnesson / cordova-plugin-firebase

Cordova plugin for Google Firebase
http://arnesson.github.io/cordova-plugin-firebase
MIT License
1.01k stars 1.55k forks source link

performance / networking for Android (vs. iOS) #697

Open sfcoons opened 6 years ago

sfcoons commented 6 years ago

hi there. this plug-in is fantastic. thank you.

i came across one question - i and running cordova 7.1.0 with cordova android 6.3.0 and cordova ios 4.5.4. when i log-in to my Firebase console, I can see Performance : Networking requests for the iOS version of my app, but not for the Android version of the App.

is there something special that needs to be done to kick-off Android Performance tracking (vs. iOS that just seems to work?).

thank you for any insight.

newuser44 commented 6 years ago

I am also seeing this. Not sure what to even check because it sounds like this basic network checking is setup by default? I see the correct import
import com.google.firebase.perf.FirebasePerformance;

I also see a method setPerformanceCollectionEnabled maybe something with that? We don't actually call this, so I assume its defaulted to true.