diff --git a/android/google-services.json b/android/google-services.json new file mode 100644 index 0000000000000000000000000000000000000000..04c1c3cb9b22e32e5a8605fbcd15fd1392447597 --- /dev/null +++ b/android/google-services.json @@ -0,0 +1,29 @@ +{ + "project_info": { + "project_number": "188857427405", + "project_id": "wordbattle-96156", + "storage_bucket": "wordbattle-96156.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:188857427405:android:c7aa07f251b566d5069084", + "android_client_info": { + "package_name": "com.wordbattle.game" + } + }, + "oauth_client": [], + "api_key": [ + { + "current_key": "AIzaSyBS7VXFKq28L3XjgWtu6C0fTExZuv80c68" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/build.gradle b/build.gradle index 7fe97b90ed5067804d2a5fc2340b2e894462fcf0..b2e9fab3de46143a26267c72e6352ac8d9c20e6b 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,8 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:8.1.2' - + classpath 'com.google.gms:google-services:4.4.1' + } } @@ -73,7 +74,15 @@ project(":android") { natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-arm64-v8a" natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86" natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86_64" - + // Import the Firebase BoM + implementation platform('com.google.firebase:firebase-bom:32.8.0') + + + // TODO: Add the dependencies for Firebase products you want to use + // When using the BoM, don't specify versions in Firebase dependencies + implementation 'com.google.firebase:firebase-analytics' + + } }