This repository was archived by the owner on Jul 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Customize GodotFireBase
Ramesh Ravone edited this page Jun 3, 2017
·
6 revisions
$ 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.
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,
"Auth" : false,
"Invites" : false,
"RemoteConfig" : true,
"Notification" : true,
"Storage" : true,
"AuthConfig" : {
"Google" : true,
"Facebook" : true,
"FacebookAppID" : "1234566789875"
},
"Ads" : {
"BannerAd" : true,
"BannerGravity" : "BOTTOM",
"BannerAdID" : "",
"InterstitialAd" : true,
"InterstitialAdID" : "",
"RewardedVideoAd" : true,
"RewardedVideoAdID" : ""
}
}
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.