Closed sandoche closed 2 years ago
Also I noticed that when I installed the package the console got stuck there not sure it finished the installation:
Checking project dependencies: firebase-core@0.1.1, nativelib-export@0.2.0
Found installed firebase-core@0.1.1
Found installed nativelib-export@0.2.0
Installing firebase-analytics@0.2.2
Unpack firebase-analytics_0.2.2_all.tgz
The \android\plugins
was empty.
You should enable Android platform on NativeLib view (in the top) and then reinstall all plugins again.
@DrMoriarty thanks it did add all the plugins this time but I still don't see anything neither on firebase realtime nor when using this. Basically updated .nativelib
and added files in plugin
.
adb logcat -e FirebaseAnalytics
I did activate the Verbose Stdout before running it in my device.
The "NativeLib export plugin" was disabled, will try again after activating.
It didn't help unfortunately :(
The plugin was not activated in the export settings. Maybe it would be nice to add it to the documentation. I discovered that reading other solved issues.
Doing some progress but still not right, here are the results of adb logcat -e FirebaseAnalytics
10-15 18:31:09.023 1543 1543 I GodotPluginRegistry: Initializing Godot plugin FirebaseAnalytics
10-15 18:31:09.024 1543 1543 I GodotPluginRegistry: Completed initialization for Godot plugin FirebaseAnalytics
10-15 18:31:09.404 1543 1603 I godot : FirebaseAnalytics plugin inited!
I don't see any log about the screen event I am sending. And nothing in firebase console.
Actually I also did this adb logcat -e google_app_id
to see if I had the same as https://github.com/DrMoriarty/godot-firebase-analytics/issues/7
And I do. I get
10-15 18:31:22.005 1543 1580 E FA : Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI
Will keep you updated.
It worked after following this: https://goo.gl/NAOOOI
I will try to document this.
Here is my guide: https://gist.github.com/sandoche/0109849ef96c87bba8f436c58d342039
Hi,
I did the setup following the documentation. When I run the code there is no crash and no error.
When I run:
I don't see anything.
So it looks like it's not running.
I do have this file
android/build/google-services.json
In autoload I do have this
And this is what I have in my first screen
Do you know what could I've done wrong?
Also I don't see anything in the gradle no reference to firebase at all. I used the GUI to install the package.