From ddd470c8a41a3a6a02b2273cb8a75417257fde9d Mon Sep 17 00:00:00 2001 From: Anderson Addo <34724755+andersonaddo@users.noreply.github.com> Date: Tue, 7 Jul 2020 02:21:37 -0400 Subject: [PATCH] feat(android,ios): upgrade native SDK versions (#3881) [publish] Co-authored-by: Mike Diarmid --- RNFBAnalytics.podspec | 2 +- android/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RNFBAnalytics.podspec b/RNFBAnalytics.podspec index ed395e9a4e..922a2ba60f 100644 --- a/RNFBAnalytics.podspec +++ b/RNFBAnalytics.podspec @@ -7,7 +7,7 @@ coreVersionRequired = package['peerDependencies'][appPackage['name']] if appPackage['sdkVersions'] firebase_sdk_version = appPackage['sdkVersions']['ios']['firebase'] else - firebase_sdk_version = '~> 6.25.0' + firebase_sdk_version = '~> 6.27.0' end if coreVersionDetected != coreVersionRequired Pod::UI.warn "NPM package '#{package['name']}' depends on '#{appPackage['name']}' v#{coreVersionRequired} but found v#{coreVersionDetected}, this might cause build issues or runtime crashes." diff --git a/android/build.gradle b/android/build.gradle index 1d9f6daf50..d108651161 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -30,7 +30,7 @@ if (findProject(':@react-native-firebase_app')) { } def packageJson = PackageJson.getForProject(project) def appPackageJson = PackageJson.getForProject(appProject) -def firebaseBomVersion = appPackageJson['sdkVersions'] ? appPackageJson['sdkVersions']['android']['firebase'] : "25.3.1" +def firebaseBomVersion = appPackageJson['sdkVersions'] ? appPackageJson['sdkVersions']['android']['firebase'] : "25.5.0" def coreVersionDetected = appPackageJson['version'] def coreVersionRequired = packageJson['peerDependencies'][appPackageJson['name']] // Only log after build completed so log warning appears at the end