diff --git a/android/app/build.gradle b/android/app/build.gradle index 43e610c2..e680dd6f 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -1,8 +1,15 @@ +/* + * Copyright (c) 2024. Patrick Schmidt. + * All rights reserved. + */ + plugins { id "com.android.application" + // START: FlutterFire Configuration + id 'com.google.gms.google-services' + // END: FlutterFire Configuration id "kotlin-android" id "dev.flutter.flutter-gradle-plugin" - id "com.google.gms.google-services" id "com.google.firebase.crashlytics" } @@ -81,7 +88,6 @@ flutter { } dependencies { - implementation platform('com.google.firebase:firebase-bom:32.7.4') - - implementation 'com.google.firebase:firebase-analytics' + implementation platform('com.google.firebase:firebase-bom:33.0.0') + implementation('com.google.firebase:firebase-analytics') } diff --git a/android/settings.gradle b/android/settings.gradle index 48695c6d..21f8d427 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2024. Patrick Schmidt. + * All rights reserved. + */ + pluginManagement { def flutterSdkPath = { def properties = new Properties() @@ -20,8 +25,10 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "com.android.application" version "7.3.0" apply false + // START: FlutterFire Configuration + id "com.google.gms.google-services" version "4.3.15" apply false + // END: FlutterFire Configuration id "org.jetbrains.kotlin.android" version "1.9.23" apply false - id "com.google.gms.google-services" version "4.4.0" apply false id "com.google.firebase.crashlytics" version "2.9.9" apply false } diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 6f9ad69b..71037856 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -282,6 +282,7 @@ 58115B874116BA05AA1905C4 /* [CP] Embed Pods Frameworks */, 2D43081B6CAA39778291564C /* [firebase_crashlytics] Crashlytics Upload Symbols */, 209313F7BF26EBAD5C2B73FD /* [CP] Copy Pods Resources */, + 28DA73449C5633CAAEC6D470 /* FlutterFire: "flutterfire upload-crashlytics-symbols" */, ); buildRules = ( ); @@ -421,6 +422,24 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; showEnvVarsInLog = 0; }; + 28DA73449C5633CAAEC6D470 /* FlutterFire: "flutterfire upload-crashlytics-symbols" */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = "FlutterFire: \"flutterfire upload-crashlytics-symbols\""; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\n#!/bin/bash\nPATH=${PATH}:$FLUTTER_ROOT/bin:$HOME/.pub-cache/bin\nflutterfire upload-crashlytics-symbols --upload-symbols-script-path=$PODS_ROOT/FirebaseCrashlytics/upload-symbols --platform=ios --apple-project-path=${SRCROOT} --env-platform-name=${PLATFORM_NAME} --env-configuration=${CONFIGURATION} --env-project-dir=${PROJECT_DIR} --env-built-products-dir=${BUILT_PRODUCTS_DIR} --env-dwarf-dsym-folder-path=${DWARF_DSYM_FOLDER_PATH} --env-dwarf-dsym-file-name=${DWARF_DSYM_FILE_NAME} --env-infoplist-path=${INFOPLIST_PATH} --default-config=default\n"; + }; 2D43081B6CAA39778291564C /* [firebase_crashlytics] Crashlytics Upload Symbols */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647;