DrMoriarty / godot-firebase-analytics

Firebase Analytics plugin for Godot engine
17 stars 5 forks source link

Documentation is incomplete #5

Closed avnerh1 closed 3 years ago

avnerh1 commented 3 years ago

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?

DrMoriarty commented 3 years ago

Show me the error message.

avnerh1 commented 3 years ago

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

DrMoriarty commented 3 years ago

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

avnerh1 commented 3 years ago

Thank you.