From 6b21414d6cc48035784fbade21a68efea9a7b2ca Mon Sep 17 00:00:00 2001 From: Abhishek Pandey <64667840+1abhishekpandey@users.noreply.github.com> Date: Wed, 13 Nov 2024 17:44:23 +0530 Subject: [PATCH] feat: update firebase SDKs to the latest version (#191) * chore: update podfile.lock * feat: update rudder firebase android and iOS sdks to the latest version * chore: update firebase setting in iOS * chore: set the rudder firebase android version to be flexible --- packages/example/ios/Podfile.lock | 197 +++++++++--------- .../ios/Runner.xcodeproj/project.pbxproj | 18 ++ .../xcshareddata/xcschemes/Runner.xcscheme | 10 + packages/example/pubspec.lock | 24 +-- .../android/build.gradle | 4 +- ...udder_integration_firebase_flutter.podspec | 2 +- .../pubspec.lock | 8 +- 7 files changed, 145 insertions(+), 118 deletions(-) diff --git a/packages/example/ios/Podfile.lock b/packages/example/ios/Podfile.lock index baff3a2d..ec4f6fb1 100644 --- a/packages/example/ios/Podfile.lock +++ b/packages/example/ios/Podfile.lock @@ -20,108 +20,107 @@ PODS: - Appboy-iOS-SDK/Core - Appboy-iOS-SDK/InAppMessage - Appboy-iOS-SDK/NewsFeed - - AppCenter (5.0.4): - - AppCenter/Analytics (= 5.0.4) - - AppCenter/Crashes (= 5.0.4) - - AppCenter/Analytics (5.0.4): + - AppCenter (5.0.5): + - AppCenter/Analytics (= 5.0.5) + - AppCenter/Crashes (= 5.0.5) + - AppCenter/Analytics (5.0.5): - AppCenter/Core - - AppCenter/Core (5.0.4) - - AppCenter/Crashes (5.0.4): + - AppCenter/Core (5.0.5) + - AppCenter/Crashes (5.0.5): - AppCenter/Core - AppsFlyerFramework (6.9.2): - AppsFlyerFramework/Main (= 6.9.2) - AppsFlyerFramework/Main (6.9.2) - - FirebaseAnalytics (10.3.0): - - FirebaseAnalytics/AdIdSupport (= 10.3.0) - - FirebaseCore (~> 10.0) - - FirebaseInstallations (~> 10.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.8) - - GoogleUtilities/MethodSwizzler (~> 7.8) - - GoogleUtilities/Network (~> 7.8) - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - nanopb (< 2.30910.0, >= 2.30908.0) - - FirebaseAnalytics/AdIdSupport (10.3.0): - - FirebaseCore (~> 10.0) - - FirebaseInstallations (~> 10.0) - - GoogleAppMeasurement (= 10.3.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.8) - - GoogleUtilities/MethodSwizzler (~> 7.8) - - GoogleUtilities/Network (~> 7.8) - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - nanopb (< 2.30910.0, >= 2.30908.0) - - FirebaseCore (10.24.0): - - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.12) - - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreInternal (10.24.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseInstallations (10.24.0): - - FirebaseCore (~> 10.0) - - GoogleUtilities/Environment (~> 7.8) - - GoogleUtilities/UserDefaults (~> 7.8) - - PromisesObjC (~> 2.1) + - FirebaseAnalytics (11.4.0): + - FirebaseAnalytics/AdIdSupport (= 11.4.0) + - FirebaseCore (~> 11.0) + - FirebaseInstallations (~> 11.0) + - GoogleUtilities/AppDelegateSwizzler (~> 8.0) + - GoogleUtilities/MethodSwizzler (~> 8.0) + - GoogleUtilities/Network (~> 8.0) + - "GoogleUtilities/NSData+zlib (~> 8.0)" + - nanopb (~> 3.30910.0) + - FirebaseAnalytics/AdIdSupport (11.4.0): + - FirebaseCore (~> 11.0) + - FirebaseInstallations (~> 11.0) + - GoogleAppMeasurement (= 11.4.0) + - GoogleUtilities/AppDelegateSwizzler (~> 8.0) + - GoogleUtilities/MethodSwizzler (~> 8.0) + - GoogleUtilities/Network (~> 8.0) + - "GoogleUtilities/NSData+zlib (~> 8.0)" + - nanopb (~> 3.30910.0) + - FirebaseCore (11.4.2): + - FirebaseCoreInternal (< 12.0, >= 11.4.2) + - GoogleUtilities/Environment (~> 8.0) + - GoogleUtilities/Logger (~> 8.0) + - FirebaseCoreInternal (11.4.2): + - "GoogleUtilities/NSData+zlib (~> 8.0)" + - FirebaseInstallations (11.4.0): + - FirebaseCore (~> 11.0) + - GoogleUtilities/Environment (~> 8.0) + - GoogleUtilities/UserDefaults (~> 8.0) + - PromisesObjC (~> 2.4) - Flutter (1.0.0) - - GoogleAppMeasurement (10.3.0): - - GoogleAppMeasurement/AdIdSupport (= 10.3.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.8) - - GoogleUtilities/MethodSwizzler (~> 7.8) - - GoogleUtilities/Network (~> 7.8) - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - nanopb (< 2.30910.0, >= 2.30908.0) - - GoogleAppMeasurement/AdIdSupport (10.3.0): - - GoogleAppMeasurement/WithoutAdIdSupport (= 10.3.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.8) - - GoogleUtilities/MethodSwizzler (~> 7.8) - - GoogleUtilities/Network (~> 7.8) - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - nanopb (< 2.30910.0, >= 2.30908.0) - - GoogleAppMeasurement/WithoutAdIdSupport (10.3.0): - - GoogleUtilities/AppDelegateSwizzler (~> 7.8) - - GoogleUtilities/MethodSwizzler (~> 7.8) - - GoogleUtilities/Network (~> 7.8) - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - nanopb (< 2.30910.0, >= 2.30908.0) - - GoogleUtilities/AppDelegateSwizzler (7.13.0): + - GoogleAppMeasurement (11.4.0): + - GoogleAppMeasurement/AdIdSupport (= 11.4.0) + - GoogleUtilities/AppDelegateSwizzler (~> 8.0) + - GoogleUtilities/MethodSwizzler (~> 8.0) + - GoogleUtilities/Network (~> 8.0) + - "GoogleUtilities/NSData+zlib (~> 8.0)" + - nanopb (~> 3.30910.0) + - GoogleAppMeasurement/AdIdSupport (11.4.0): + - GoogleAppMeasurement/WithoutAdIdSupport (= 11.4.0) + - GoogleUtilities/AppDelegateSwizzler (~> 8.0) + - GoogleUtilities/MethodSwizzler (~> 8.0) + - GoogleUtilities/Network (~> 8.0) + - "GoogleUtilities/NSData+zlib (~> 8.0)" + - nanopb (~> 3.30910.0) + - GoogleAppMeasurement/WithoutAdIdSupport (11.4.0): + - GoogleUtilities/AppDelegateSwizzler (~> 8.0) + - GoogleUtilities/MethodSwizzler (~> 8.0) + - GoogleUtilities/Network (~> 8.0) + - "GoogleUtilities/NSData+zlib (~> 8.0)" + - nanopb (~> 3.30910.0) + - GoogleUtilities/AppDelegateSwizzler (8.0.2): - GoogleUtilities/Environment - GoogleUtilities/Logger - GoogleUtilities/Network - GoogleUtilities/Privacy - - GoogleUtilities/Environment (7.13.0): + - GoogleUtilities/Environment (8.0.2): - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): + - GoogleUtilities/Logger (8.0.2): - GoogleUtilities/Environment - GoogleUtilities/Privacy - - GoogleUtilities/MethodSwizzler (7.13.0): + - GoogleUtilities/MethodSwizzler (8.0.2): - GoogleUtilities/Logger - GoogleUtilities/Privacy - - GoogleUtilities/Network (7.13.0): + - GoogleUtilities/Network (8.0.2): - GoogleUtilities/Logger - "GoogleUtilities/NSData+zlib" - GoogleUtilities/Privacy - GoogleUtilities/Reachability - - "GoogleUtilities/NSData+zlib (7.13.0)": + - "GoogleUtilities/NSData+zlib (8.0.2)": - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) - - GoogleUtilities/Reachability (7.13.0): + - GoogleUtilities/Privacy (8.0.2) + - GoogleUtilities/Reachability (8.0.2): - GoogleUtilities/Logger - GoogleUtilities/Privacy - - GoogleUtilities/UserDefaults (7.13.0): + - GoogleUtilities/UserDefaults (8.0.2): - GoogleUtilities/Logger - GoogleUtilities/Privacy - Leanplum-iOS-SDK (4.0.0) - - MetricsReporter (1.2.1): + - MetricsReporter (2.0.0): - RSCrashReporter (= 1.0.1) - RudderKit (= 1.4.0) - - nanopb (2.30909.1): - - nanopb/decode (= 2.30909.1) - - nanopb/encode (= 2.30909.1) - - nanopb/decode (2.30909.1) - - nanopb/encode (2.30909.1) + - nanopb (3.30910.0): + - nanopb/decode (= 3.30910.0) + - nanopb/encode (= 3.30910.0) + - nanopb/decode (3.30910.0) + - nanopb/encode (3.30910.0) - PromisesObjC (2.4.0) - RSCrashReporter (1.0.1) - - Rudder (1.26.3): - - MetricsReporter (= 1.2.1) + - Rudder (1.30.0): + - MetricsReporter (= 2.0.0) - Rudder-Adjust (1.0.0): - Adjust - Rudder @@ -137,9 +136,9 @@ PODS: - Rudder-Braze (1.0.3): - Appboy-iOS-SDK (= 4.4.2) - Rudder (~> 1.0) - - Rudder-Firebase (3.0.0): - - FirebaseAnalytics (= 10.3.0) - - Rudder (~> 1.8) + - Rudder-Firebase (3.5.0): + - FirebaseAnalytics (~> 11.4.0) + - Rudder (~> 1.29) - Rudder-Leanplum (1.0.2): - Leanplum-iOS-SDK (= 4.0.0) - Rudder (~> 1.0) @@ -165,7 +164,7 @@ PODS: - rudder_plugin_ios - rudder_integration_firebase_flutter (2.0.0): - Flutter - - Rudder-Firebase (= 3.0.0) + - Rudder-Firebase (~> 3.5) - rudder_plugin_ios - rudder_integration_leanplum_flutter (1.0.1): - Flutter @@ -183,13 +182,13 @@ PODS: - Rudder (~> 1.20) - SQLCipher (~> 4.0) - RudderKit (1.4.0) - - SDWebImage (5.19.1): - - SDWebImage/Core (= 5.19.1) - - SDWebImage/Core (5.19.1) - - SQLCipher (4.5.6): - - SQLCipher/standard (= 4.5.6) - - SQLCipher/common (4.5.6) - - SQLCipher/standard (4.5.6): + - SDWebImage (5.20.0): + - SDWebImage/Core (= 5.20.0) + - SDWebImage/Core (5.20.0) + - SQLCipher (4.6.1): + - SQLCipher/standard (= 4.6.1) + - SQLCipher/common (4.6.1) + - SQLCipher/standard (4.6.1): - SQLCipher/common DEPENDENCIES: @@ -262,42 +261,42 @@ SPEC CHECKSUMS: Adjust: e449a8b88cd2261d8f548df023823f7e861a059c Amplitude: 517cdc7c485bda64b685174426ecbf17746eb16a Appboy-iOS-SDK: 4a7dfe908639da81e5e85849355f6066b58b4cc6 - AppCenter: 85c92db0759d2792a65eb61d6842d2e86611a49a + AppCenter: 994875ea7941b9e168babb98299f900a94bcef13 AppsFlyerFramework: 75e2e46970e520c88b0456dc6fae98c51b36163a - FirebaseAnalytics: 036232b6a1e2918e5f67572417be1173576245f3 - FirebaseCore: 11dc8a16dfb7c5e3c3f45ba0e191a33ac4f50894 - FirebaseCoreInternal: bcb5acffd4ea05e12a783ecf835f2210ce3dc6af - FirebaseInstallations: 8f581fca6478a50705d2bd2abd66d306e0f5736e + FirebaseAnalytics: 3feef9ae8733c567866342a1000691baaa7cad49 + FirebaseCore: 6b32c57269bd999aab34354c3923d92a6e5f3f84 + FirebaseCoreInternal: 35731192cab10797b88411be84940d2beb33a238 + FirebaseInstallations: 6ef4a1c7eb2a61ee1f74727d7f6ce2e72acf1414 Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 - GoogleAppMeasurement: c7d6fff39bf2d829587d74088d582e32d75133c3 - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 + GoogleAppMeasurement: 987769c4ca6b968f2479fbcc9fe3ce34af454b8e + GoogleUtilities: 26a3abef001b6533cf678d3eb38fd3f614b7872d Leanplum-iOS-SDK: 8115f65d185eb94d94c4ab08176dfcb4a8b97926 - MetricsReporter: 99596ee5003c69949ed2f50acc34aee83c42f843 - nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5 + MetricsReporter: 364b98791e868b10e9d512eb50af28d8c11e5cdb + nanopb: fad817b59e0457d11a5dfbde799381cd727c1275 PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 RSCrashReporter: 6b8376ac729b0289ebe0908553e5f56d8171f313 - Rudder: 23456f79749849870e18c45bd250d6e2229a7147 + Rudder: 408085701df64dd8258f47c4af0b6f8cff5ac581 Rudder-Adjust: 5f14011c8f7237d80a96a10655ac03ebf832bcc4 Rudder-Amplitude: f845cc125a1a58d4de6155391a2b0392815ae898 Rudder-AppCenter: 9eca9241e3707a0e9610714dd91dc8da4bae7e1f Rudder-Appsflyer: b19834ae8d933444411813556e0fe70a33df224a Rudder-Braze: e58e0e8163a2dcf0d45ec2d12bdb0ec3329c3681 - Rudder-Firebase: 9f061bf3c23900e1a8f32f8b079ae17e04874f17 + Rudder-Firebase: 8f47fae73f71cb000d01fe557f523bd0a03fb178 Rudder-Leanplum: e2c9ffa48ea227c3574998afa1e287061ad042ee rudder_integration_adjust_flutter: f6a577ba34897c0f0c632b9f5b4481655c64c5a0 rudder_integration_amplitude_flutter: cd42eb43e0c6bf73b70ace1f89179d5c344f03f3 rudder_integration_appcenter_flutter: 8c2a4dbc34238ca901cd86aa003fc8a9dc693a1c rudder_integration_appsflyer_flutter: 47ac2556ff3b538c9ca5a144ca1c616a6ee6415b rudder_integration_braze_flutter: 7c05ce87d5bfc0f6dc00e641f09595e8867a1ebe - rudder_integration_firebase_flutter: e68a0a215725a04883a83c7f0d16b68f3d6c217d + rudder_integration_firebase_flutter: 6e496146b42e1ee1b0ea1acfa7b6babf304f92a5 rudder_integration_leanplum_flutter: e78fd45ea2b251891a8c1ced32071b3254077862 rudder_plugin_db_encryption: dd7c5dccfe409c14a226dbc4be19256929060f9a rudder_plugin_ios: a337ccdc5313621e0b1260551e8ebbc6bb492c36 RudderDatabaseEncryption: 409b8623c114a43af6332a694601373fde45e1ca RudderKit: f272f9872183946452ac94cd7bb2244a71e6ca8f - SDWebImage: 40b0b4053e36c660a764958bff99eed16610acbb - SQLCipher: 838309284f29953a28ad2e81d87d55ea6b7c74fd + SDWebImage: 73c6079366fea25fa4bb9640d5fb58f0893facd8 + SQLCipher: 77fbe633cd84db04b07876dd50766b4924b57d61 PODFILE CHECKSUM: 4e777ae6648ce97fa9650180d69b098c3925a93a -COCOAPODS: 1.15.2 +COCOAPODS: 1.16.2 diff --git a/packages/example/ios/Runner.xcodeproj/project.pbxproj b/packages/example/ios/Runner.xcodeproj/project.pbxproj index 07c6498e..27904c26 100644 --- a/packages/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/example/ios/Runner.xcodeproj/project.pbxproj @@ -139,6 +139,7 @@ 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 0D7F2239137F5F4DEB04445B /* [CP] Embed Pods Frameworks */, + 96C5FF2BE506C87A95D01513 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -252,6 +253,23 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; + 96C5FF2BE506C87A95D01513 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; diff --git a/packages/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/packages/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 5e31d3d3..d0c68fad 100644 --- a/packages/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/packages/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -59,6 +59,16 @@ ReferencedContainer = "container:Runner.xcodeproj"> + + + + + + 3.5' # Flutter.framework does not contain a i386 slice. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } diff --git a/packages/integrations/rudder_integration_firebase_flutter/pubspec.lock b/packages/integrations/rudder_integration_firebase_flutter/pubspec.lock index 22014d42..08755401 100644 --- a/packages/integrations/rudder_integration_firebase_flutter/pubspec.lock +++ b/packages/integrations/rudder_integration_firebase_flutter/pubspec.lock @@ -350,28 +350,28 @@ packages: path: "../../plugins/rudder_plugin_android" relative: true source: path - version: "3.0.0" + version: "3.0.1" rudder_plugin_ios: dependency: "direct overridden" description: path: "../../plugins/rudder_plugin_ios" relative: true source: path - version: "3.0.0" + version: "3.0.1" rudder_plugin_web: dependency: "direct overridden" description: path: "../../plugins/rudder_plugin_web" relative: true source: path - version: "3.0.0" + version: "3.0.1" rudder_sdk_flutter: dependency: "direct main" description: path: "../../plugins/rudder_plugin" relative: true source: path - version: "3.0.0" + version: "3.0.1" rudder_sdk_flutter_platform_interface: dependency: "direct main" description: