From 9d42409ccbbf272aca1d349d92e936604f659246 Mon Sep 17 00:00:00 2001 From: Matt DiMeglio Date: Mon, 21 Apr 2025 19:49:32 -0400 Subject: [PATCH] add --- android/app/build.gradle | 8 ++++++++ android/build.gradle | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/android/app/build.gradle b/android/app/build.gradle index 855613f..e09c080 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -4,6 +4,12 @@ apply plugin: "com.facebook.react" def projectRoot = rootDir.getAbsoluteFile().getParentFile().getAbsolutePath() +plugins { + id("com.android.application") + id("com.google.gms.google-services") +} + + /** * This is the configuration block to customize your React Native Android app. * By default you don't need to apply any configuration, just uncomment the lines you need. @@ -149,6 +155,8 @@ android { dependencies { // The version of react-native is set by the React Native Gradle Plugin implementation("com.facebook.react:react-android") + implementation(platform("com.google.firebase:firebase-bom:33.12.0")) + implementation("com.google.firebase:firebase-analytics") def isGifEnabled = (findProperty('expo.gif.enabled') ?: "") == "true"; def isWebpEnabled = (findProperty('expo.webp.enabled') ?: "") == "true"; diff --git a/android/build.gradle b/android/build.gradle index abbcb8e..78ad98b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,9 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. +plugins { + id("com.google.gms.google-services") version "4.4.2" apply false +} + buildscript { ext { buildToolsVersion = findProperty('android.buildToolsVersion') ?: '35.0.0'