0 votes

Use Firebase and stopped at this point
GodotFireBase: copy godot-firebase-config.json to your projects root directord.

var firebase = Engine.get_singleton("FireBase")

func _ready():
    firebase.initWithFile("res://godot-firebase-config.json", get_instance_id())

When you run the game this error appears

Attempt to call function 'initWithFile' in base 'null instance' on a null instance.

thank you

in Engine by (47 points)

The error doesn't look like a problem loading the file, it looks like it isn't loading the firebase library.

In fact, I tried a lot of specialized libraries for adobe or firebase ads,
I didn't figure out a way to add adobe ads to the game,
If there is a clear way to guide me,
Additional information I have knowledge of the development of Android applications,
Thank you

1 Answer

0 votes

seems to be the same thing as with txt.files (they are not exported to the build by default too)

try to add *json files in your export settings before building the game.


by (20 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.