diff --git a/android/app/build.gradle b/android/app/build.gradle index e37317eae..5b3c1eb52 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -2,6 +2,7 @@ apply plugin: "com.android.application" apply plugin: "org.jetbrains.kotlin.android" apply plugin: "com.facebook.react" apply plugin: "com.google.gms.google-services" +apply plugin: 'com.google.firebase.firebase-perf' // set up different .env files so fastlane will automatically build using .env // and dev builds will use .env.staging diff --git a/android/build.gradle b/android/build.gradle index ceb6dda83..438a40264 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,6 +22,7 @@ buildscript { classpath("com.facebook.react:react-native-gradle-plugin") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") classpath("com.google.gms:google-services:4.4.3") + classpath 'com.google.firebase:perf-plugin:2.0.1' } } diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 76197d770..7a0250243 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -39,6 +39,11 @@ PODS: - FBLazyVector (0.80.2) - Firebase/CoreOnly (12.3.0): - FirebaseCore (~> 12.3.0) + - Firebase/Performance (12.3.0): + - Firebase/CoreOnly + - FirebasePerformance (~> 12.3.0) + - FirebaseABTesting (12.3.0): + - FirebaseCore (~> 12.3.0) - FirebaseAnalytics/Core (12.3.0): - FirebaseCore (~> 12.3.0) - FirebaseInstallations (~> 12.3.0) @@ -61,6 +66,8 @@ PODS: - FirebaseCoreInternal (~> 12.3.0) - GoogleUtilities/Environment (~> 8.1) - GoogleUtilities/Logger (~> 8.1) + - FirebaseCoreExtension (12.3.0): + - FirebaseCore (~> 12.3.0) - FirebaseCoreInternal (12.3.0): - "GoogleUtilities/NSData+zlib (~> 8.1)" - FirebaseInstallations (12.3.0): @@ -68,6 +75,35 @@ PODS: - GoogleUtilities/Environment (~> 8.1) - GoogleUtilities/UserDefaults (~> 8.1) - PromisesObjC (~> 2.4) + - FirebasePerformance (12.3.0): + - FirebaseCore (~> 12.3.0) + - FirebaseInstallations (~> 12.3.0) + - FirebaseRemoteConfig (~> 12.3.0) + - FirebaseSessions (~> 12.3.0) + - GoogleDataTransport (~> 10.1) + - GoogleUtilities/Environment (~> 8.1) + - GoogleUtilities/MethodSwizzler (~> 8.1) + - GoogleUtilities/UserDefaults (~> 8.1) + - nanopb (~> 3.30910.0) + - FirebaseRemoteConfig (12.3.0): + - FirebaseABTesting (~> 12.3.0) + - FirebaseCore (~> 12.3.0) + - FirebaseInstallations (~> 12.3.0) + - FirebaseRemoteConfigInterop (~> 12.3.0) + - FirebaseSharedSwift (~> 12.3.0) + - GoogleUtilities/Environment (~> 8.1) + - "GoogleUtilities/NSData+zlib (~> 8.1)" + - FirebaseRemoteConfigInterop (12.3.0) + - FirebaseSessions (12.3.0): + - FirebaseCore (~> 12.3.0) + - FirebaseCoreExtension (~> 12.3.0) + - FirebaseInstallations (~> 12.3.0) + - GoogleDataTransport (~> 10.1) + - GoogleUtilities/Environment (~> 8.1) + - GoogleUtilities/UserDefaults (~> 8.1) + - nanopb (~> 3.30910.0) + - PromisesSwift (~> 2.1) + - FirebaseSharedSwift (12.3.0) - fmt (11.0.2) - glog (0.3.5) - GoogleAppMeasurement/Core (12.3.0): @@ -83,6 +119,9 @@ PODS: - GoogleUtilities/Network (~> 8.1) - "GoogleUtilities/NSData+zlib (~> 8.1)" - nanopb (~> 3.30910.0) + - GoogleDataTransport (10.1.0): + - nanopb (~> 3.30910.0) + - PromisesObjC (~> 2.4) - GoogleSignIn (7.1.0): - AppAuth (< 2.0, >= 1.7.3) - GTMAppAuth (< 5.0, >= 4.1.1) @@ -128,6 +167,8 @@ PODS: - nanopb/decode (3.30910.0) - nanopb/encode (3.30910.0) - PromisesObjC (2.4.0) + - PromisesSwift (2.4.0): + - PromisesObjC (= 2.4.0) - RCT-Folly (2024.11.18.00): - boost - DoubleConversion @@ -2711,6 +2752,10 @@ PODS: - RNFBApp (23.4.0): - Firebase/CoreOnly (= 12.3.0) - React-Core + - RNFBPerf (23.4.0): + - Firebase/Performance (= 12.3.0) + - React-Core + - RNFBApp - RNFS (2.20.0): - React-Core - RNGestureHandler (2.28.0): @@ -3310,6 +3355,7 @@ DEPENDENCIES: - RNDeviceInfo (from `../node_modules/react-native-device-info`) - "RNFBAnalytics (from `../node_modules/@react-native-firebase/analytics`)" - "RNFBApp (from `../node_modules/@react-native-firebase/app`)" + - "RNFBPerf (from `../node_modules/@react-native-firebase/perf`)" - RNFS (from `../node_modules/react-native-fs`) - RNGestureHandler (from `../node_modules/react-native-gesture-handler`) - "RNGoogleSignin (from `../node_modules/@react-native-google-signin/google-signin`)" @@ -3329,11 +3375,19 @@ SPEC REPOS: trunk: - AppAuth - Firebase + - FirebaseABTesting - FirebaseAnalytics - FirebaseCore + - FirebaseCoreExtension - FirebaseCoreInternal - FirebaseInstallations + - FirebasePerformance + - FirebaseRemoteConfig + - FirebaseRemoteConfigInterop + - FirebaseSessions + - FirebaseSharedSwift - GoogleAppMeasurement + - GoogleDataTransport - GoogleSignIn - GoogleUtilities - GTMAppAuth @@ -3341,6 +3395,7 @@ SPEC REPOS: - Mute - nanopb - PromisesObjC + - PromisesSwift - React-Codegen - SocketRocket @@ -3556,6 +3611,8 @@ EXTERNAL SOURCES: :path: "../node_modules/@react-native-firebase/analytics" RNFBApp: :path: "../node_modules/@react-native-firebase/app" + RNFBPerf: + :path: "../node_modules/@react-native-firebase/perf" RNFS: :path: "../node_modules/react-native-fs" RNGestureHandler: @@ -3592,13 +3649,21 @@ SPEC CHECKSUMS: FasterImage: 0543472141d8f64716efdeb3bb886a6fe814f3b9 FBLazyVector: 86588b5a1547e7a417942a08f49559b184e002c8 Firebase: f5439b235721ceeef14ca1f327c0da8e4e8556b5 + FirebaseABTesting: 6e748dfecb81a49539c030adb5b12263acf62865 FirebaseAnalytics: fefb765365c6d3a4f2cb9d2c99dcf595124d41ae FirebaseCore: ff47fe1ad3ab9ef66edd3e8bc4647b493d2067f8 + FirebaseCoreExtension: 898ca55c7cb126f83747b32cb0daa95394b10853 FirebaseCoreInternal: a9e1ff270f217489d9258563b693d11a312903bf FirebaseInstallations: ca48ec60ea51b66b9f214a91847ea3720cde97f5 + FirebasePerformance: 12f8e5e26b7b7ae91db36e5fcd01e0c8b323e364 + FirebaseRemoteConfig: 4f4785cfc62e3e3b2f3715d1b7e41ade5ac0419e + FirebaseRemoteConfigInterop: 66d61ad6cee1cd2137cb8dedf468112e9ba92c6a + FirebaseSessions: 352b204966530e5cb7036c02d8c366922210e681 + FirebaseSharedSwift: a08758c5e2617f3ebb47865b45ecca6f02cd35ea fmt: a40bb5bd0294ea969aaaba240a927bd33d878cdd glog: 5683914934d5b6e4240e497e0f4a3b42d1854183 GoogleAppMeasurement: 9074f50943fe26a7829be3a2b0043270ad935b9e + GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7 GoogleSignIn: d4281ab6cf21542b1cfaff85c191f230b399d2db GoogleUtilities: 00c88b9a86066ef77f0da2fab05f65d7768ed8e1 GTMAppAuth: f69bd07d68cd3b766125f7e072c45d7340dea0de @@ -3607,6 +3672,7 @@ SPEC CHECKSUMS: Mute: 20135a96076f140cc82bfc8b810e2d6150d8ec7e nanopb: fad817b59e0457d11a5dfbde799381cd727c1275 PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 + PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851 RCT-Folly: 846fda9475e61ec7bcbf8a3fe81edfcaeb090669 RCTDeprecation: 300c5eb91114d4339b0bb39505d0f4824d7299b7 RCTRequired: e0446b01093475b7082fbeee5d1ef4ad1fe20ac4 @@ -3704,6 +3770,7 @@ SPEC CHECKSUMS: RNDeviceInfo: d863506092aef7e7af3a1c350c913d867d795047 RNFBAnalytics: 2c4927af02d587595a7888a8275b7e3a2ccc1842 RNFBApp: 0211ae65fadcb017cc787b2bd539847330687b93 + RNFBPerf: 3e7b00d193c37044790f92053fc013c12f385c75 RNFS: 89de7d7f4c0f6bafa05343c578f61118c8282ed8 RNGestureHandler: a52292df4f8fc7daab354ad2c37be401d4c3bed8 RNGoogleSignin: 65a7b18dd8fd9f279068ede103db4840f6782d99 diff --git a/package-lock.json b/package-lock.json index ceab6a8cd..7eb44da0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,6 +24,7 @@ "@react-native-community/slider": "^4.5.0", "@react-native-firebase/analytics": "^23.4.0", "@react-native-firebase/app": "^23.3.1", + "@react-native-firebase/perf": "^23.4.0", "@react-native-google-signin/google-signin": "^13.1.0", "@react-native-picker/picker": "^2.11.1", "@react-native-vector-icons/common": "^12.3.0", @@ -5494,6 +5495,21 @@ } } }, + "node_modules/@react-native-firebase/perf": { + "version": "23.4.0", + "resolved": "https://registry.npmjs.org/@react-native-firebase/perf/-/perf-23.4.0.tgz", + "integrity": "sha512-E8UAmAdRIxlW3s6CLkmr4UHZSvMF62CxrG/QVDMZwJ0W/TYlyQZGooU5XE1wNYGxz8V3lPvCM1+7HemqrXrDUg==", + "license": "Apache-2.0", + "peerDependencies": { + "@react-native-firebase/app": "23.4.0", + "expo": ">=47.0.0" + }, + "peerDependenciesMeta": { + "expo": { + "optional": true + } + } + }, "node_modules/@react-native-google-signin/google-signin": { "version": "13.1.0", "resolved": "https://registry.npmjs.org/@react-native-google-signin/google-signin/-/google-signin-13.1.0.tgz", diff --git a/package.json b/package.json index e8ea45d47..75de4eb4e 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ "@react-native-community/slider": "^4.5.0", "@react-native-firebase/analytics": "^23.4.0", "@react-native-firebase/app": "^23.3.1", + "@react-native-firebase/perf": "^23.4.0", "@react-native-google-signin/google-signin": "^13.1.0", "@react-native-picker/picker": "^2.11.1", "@react-native-vector-icons/common": "^12.3.0",