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

asked Aug 14, 2019 in Engine by mustafamax (32 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.

https://docs.godotengine.org/en/3.0/getting_started/workflow/export/exporting_projects.html#export-mode

answered Aug 24, 2019 by Tzoop (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 How to use this Q&A? before posting your first questions.