Customize GodotFireBase

Ramesh Ravone edited this page Oct 24, 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'")

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

Customizing

Now to remove some features from GodotFireBase module, edit modules/FireBase/config.py and set False to features you don't want to compile,

(e.g) Following removes Firestore

# Update this to customize the module
_config = {
"Analytics": True,
"AdMob" : True,
"Invites" : True,
"RemoteConfig" : True,
"Notification" : True,
"Storage" : True,
"Firestore" : False,

"Authentication" : True,
"AuthGoogle" : True,
"AuthFacebook" : True,
"AuthTwitter" : True
}

== Setting `Authentication` = False will disable all Authentication methods

Now you can follow godot's Export to Android docs to create .apk template file.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.