From 7602e37630b6dcb5e7a020a2f79657f6230e0493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20Kn=C3=B6chel?= Date: Wed, 6 Dec 2023 10:35:23 +0100 Subject: [PATCH] feat(android): use Android BoM concept --- android/build.gradle | 9 +++++++-- android/manifest | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index dc52dbe..0fff1c2 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -3,6 +3,11 @@ repositories { } dependencies { - implementation 'com.google.firebase:firebase-analytics:21.0.0' - implementation 'com.google.firebase:firebase-installations:17.0.1' + // We use Firebase BoM to only manage one version that handles all dependencies internally. + // Grab the latest version from here https://firebase.google.com/docs/android/learn-more#bom + // and also make sure to update all other modules listed in https://github.com/hansemannn/titanium-firebase#features + implementation platform('com.google.firebase:firebase-bom:32.6.0') + + implementation 'com.google.firebase:firebase-analytics' + implementation 'com.google.firebase:firebase-installations' } diff --git a/android/manifest b/android/manifest index 4819cba..762a741 100644 --- a/android/manifest +++ b/android/manifest @@ -2,7 +2,7 @@ # this is your module manifest and used by Titanium # during compilation, packaging, distribution, etc. # -version: 5.2.0 +version: 6.0.0 apiversion: 4 architectures: arm64-v8a armeabi-v7a x86 x86_64 description: titanium-firebase-analytics @@ -15,4 +15,4 @@ name: titanium-firebase-analytics moduleid: firebase.analytics guid: a1f48874-bd3a-4378-b623-79012aad1d20 platform: android -minsdk: 9.0.0 +minsdk: 11.0.0