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 Sep 11, 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,
"Authentication" : true,
"Invites" : true,
"RemoteConfig" : true,
"Notification" : true,
"Storage" : true,
"AuthConf" :
{
"Google" : true,
"Twitter" : 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.