DrMoriarty/godot-firebase-analytics

Documentation is incomplete

avnerh1 opened this issue · 4 comments

I'm following the guide, but when I use logEvent() in my dg script, the function is not recognized (which makes sense because according to the guide, all the changes were made solely in the "android" subfolder).
What am I doing wrong?

Show me the error message.

image
I assume I need to add or AutoLoad some script to make it work, but the documentation doesn't say anything about that.

Gd wrapper for the plugin automatically added to your autoloading list. So you should call fba.logEvent() not just logEvent.
I will add this to README

Thank you.