chemerisuk / cordova-plugin-firebase-analytics

Cordova plugin for Firebase Analytics
MIT License
154 stars 305 forks source link

Android - Data do not send to firebase analytics #208

Closed Jasphine closed 1 year ago

Jasphine commented 1 year ago

Hi,

I have installed this plugin in Android and using the logEvent to log the screen-views , like this : cordova.plugins.firebase.analytics.logEvent('screen_view', { screen_name: 'Home-Page', screen_class: 'MainActivity' });

However, the data did not send to firebase analytics until if I uninstalled the app, then the data only send to firebase analytics and appear on firebase analytics.

May I know how to log the real-times data to firebase analytics as long as user interact with the app?

Appreciate your help. Thanks

Jasphine commented 1 year ago

Hi,

I tried to use 'setCurrentScreen' , but have the same issues as well.

Ericsig commented 1 year ago

Same issue. The events don't arrive to Analytics until I uninstall the app.

stevesum commented 1 year ago

same here. Not events, but nothing arrive in Analytics until I delete the app. After that, on the first start, every previously collected data is sent.

st9450602 commented 1 year ago

same too, anybody have solution for this issue?

chemerisuk commented 1 year ago

This plugin works and tested on multiple different projects. I’d suggest to verify if everything is set up properly.

EMI-INDO commented 1 year ago

@chemerisuk

I have tested,

Works fine on IOS. Doesn't work on Android. data not sent to firebase analytics.