From ac879d10ae5ac3e3397af07f54ec4549fc70b03d Mon Sep 17 00:00:00 2001 From: rob-gioia-branch Date: Mon, 7 Oct 2024 10:19:51 -0400 Subject: [PATCH] Fixed crashing error by adding missing dependency - TODO: add at the SDK level and not the app level Fixed crashing error by adding missing dependency - TODO: add at the SDK level and not the app level --- branchreactnativetestbed/android/app/build.gradle | 2 ++ branchreactnativetestbed/android/app/proguard-rules.pro | 1 + 2 files changed, 3 insertions(+) diff --git a/branchreactnativetestbed/android/app/build.gradle b/branchreactnativetestbed/android/app/build.gradle index b79cbf533..67f607d04 100644 --- a/branchreactnativetestbed/android/app/build.gradle +++ b/branchreactnativetestbed/android/app/build.gradle @@ -165,6 +165,8 @@ dependencies { } else { implementation jscFlavor } + + implementation("com.google.android.gms:play-services-base:18.5.0") } apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) diff --git a/branchreactnativetestbed/android/app/proguard-rules.pro b/branchreactnativetestbed/android/app/proguard-rules.pro index 11b025724..2a340cd3c 100644 --- a/branchreactnativetestbed/android/app/proguard-rules.pro +++ b/branchreactnativetestbed/android/app/proguard-rules.pro @@ -8,3 +8,4 @@ # http://developer.android.com/guide/developing/tools/proguard.html # Add any project specific keep options here: +-keep class com.google.android.gms.** { *; }