How to get to this file godot-firebase-config.json

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mustafamax

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

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

andersmmg | 2019-08-16 21:20

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

mustafamax | 2019-08-17 09:46

:bust_in_silhouette: Reply From: Tzoop

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.