Skip to content
This repository was archived by the owner on Jul 1, 2022. It is now read-only.

Customize GodotFireBase

Ramesh Ravone edited this page Oct 11, 2017 · 6 revisions

Building and Compiling

$ cd [GODOT-ROOT]/modules/FireBase/

Get your google-services.json file from firebase.com, Now copy your google-services.json to [GODOT-ROOT]/platform/android/java/ and edit modules/FireBase/config.py at line 17

env.android_add_default_config("applicationId 'com.your.appid'")

And replace com.your.appid with you android application id.

Customizing

Now to remove some features from GodotFireBase module, edit modules/FireBase/godot-firebase-config.json and set false to it like shown below, which removes FireBase Authentication and Invites.

{
        "Analytics": true,
        "AdMob" : true,
        "Invites" : true,
        "RemoteConfig" : true,
        "Notification" : true,
        "Storage" : true,
        "Firestore" : true,

        "Authentication" : true,
        "AuthGoogle" : true,
        "AuthFacebook" : false,
        "AuthTwitter" : false
}

And to generate project files run $ python3 setup.py which will generate our new project files, Now you can follow godot's Export to Android docs to create .apk template file.

Clone this wiki locally