Skip to content
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

[ANDROID] Firebase Performance - Network section no data captured #520

Closed
klliew18 opened this issue Sep 23, 2020 · 3 comments
Closed

[ANDROID] Firebase Performance - Network section no data captured #520

klliew18 opened this issue Sep 23, 2020 · 3 comments
Labels
android Relates to Android platform bug Something isn't working properly runtime issue An issue related to app runtime

Comments

@klliew18
Copy link

klliew18 commented Sep 23, 2020

Current behavior:
No data captured in Firebase Performance network section for Android.

Expected behavior:
Network section for Android Firebase Performance should able to capture network data.

Environment information:
Cordova CLI version

Installed platforms:
android 9.0.0
ios 5.1.1
Available platforms:
browser ^6.0.0
electron ^1.0.0
osx ^5.0.0
windows ^7.0.0

Plugins & versions installed in project
cordova-clipboard 1.3.0 "Clipboard"
cordova-custom-config 5.1.0 "cordova-custom-config"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-advanced-http 2.5.1 "Advanced HTTP plugin"
cordova-plugin-android-imei 1.0.0 "Android IMEI"
cordova-plugin-androidx 2.0.0 "cordova-plugin-androidx"
cordova-plugin-androidx-adapter 1.1.1 "cordova-plugin-androidx-adapter"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-call-number 1.0.1 "Cordova Call Number Plugin"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-email 1.2.7 "EmailComposer"
cordova-plugin-exit 1.0.3 "Exit"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-fingerprint-aio 3.0.1 "FingerprintAllInOne"
cordova-plugin-firebasex 10.2.0 "Google Firebase Plugin"
cordova-plugin-inappbrowser 4.0.0 "InAppBrowser"
cordova-plugin-iroot 0.8.1 "iRoot"
cordova-plugin-market 1.2.0 "Market"
cordova-plugin-nativestorage 2.3.2 "NativeStorage"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-networkinterface 2.0.0 "NetworkInterface"
cordova-plugin-privacyscreen-storyboard 0.3.1 "PrivacyScreenPlugin-Storyboard"
cordova-plugin-screen-orientation 3.0.2 "Screen Orientation"
cordova-plugin-secure-storage-echo 5.1.1 "SecureStorage"
cordova-plugin-splashscreen 5.0.4 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-tapjackingprotection 0.1.1 "TapjackingProtectionPlugin"
cordova-plugin-timer 1.0.1 "Native timer"
cordova-plugin-uniquedeviceid 1.3.2 "UniqueDeviceID"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-wkwebview-engine 1.2.1 "Cordova WKWebView Engine"
cordova-plugin-wkwebviewxhrfix 0.1.0 "WKWebView XHR Fix"
cordova-plugin-x-socialsharing 5.6.8 "SocialSharing"
cordova-save-image-gallery 0.0.26 "saveImageGallery"
cordova.plugins.diagnostic 5.0.2 "Diagnostic"
es6-promise-plugin 4.2.2 "Promise"

Dev machine: macOS 10.14.6
Device details: Happened to all Android devices (Android 8, Android 9, Android 10)
Android Studio 4.0.0

Screenshot 2020-09-23 at 2 45 34 PM

thank you for help

@dpa99c
Copy link
Owner

dpa99c commented Sep 23, 2020

It looks like this is a bug in the integration of the Firebase Performance SDK inherited from cordova-plugin-firebase.

According the to Firebase documentation, the Firebase Performance Monitoring Gradle plugin must be added for Android in order to monitor network requests.
However this plugin's current Gradle configuration does not include the Performance Monitoring Gradle plugin

@dpa99c dpa99c added android Relates to Android platform bug Something isn't working properly runtime issue An issue related to app runtime labels Sep 23, 2020
dpa99c added a commit that referenced this issue Sep 24, 2020
@dpa99c dpa99c closed this as completed in 108490a Sep 24, 2020
@dpa99c dpa99c added the ready for release Something has been implemented and is awaiting release to npm label Sep 24, 2020
@trajano
Copy link

trajano commented Oct 9, 2020

Not sure if it is because of this change, but Android builds with JDK8 are failing because of incompatible class levels.

@dpa99c
Copy link
Owner

dpa99c commented Oct 10, 2020

@trajano see my comment here

@dpa99c dpa99c removed the ready for release Something has been implemented and is awaiting release to npm label Oct 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Relates to Android platform bug Something isn't working properly runtime issue An issue related to app runtime
Projects
None yet
Development

No branches or pull requests

3 participants