Commit Graph
68 Commits
Author SHA1 Message Date
Visu f8758eba63 Fix a crash that happens when the application changes states. (#14102) 2024-11-14 09:48:09 -08:00
themiswang f2fa168777 Change deprecated keyWindow to new API (#14048) 2024-11-08 13:07:19 -05:00
Seyed Mojtaba Hosseini Zeidabadi cdbd2c8af3 Docs: fix app activity comments (#13819) 2024-10-05 07:07:11 -07:00
Seyed Mojtaba Hosseini Zeidabadi 236022e194 docs: fix common sources comments (#13820) 2024-10-05 07:04:30 -07:00
VisuandNick Cooke 85e92b4452 Fix a crash related to thread sanitization on variables in FPRNetworkTrace class. (#13795)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-10-04 11:14:40 -07:00
Seyed Mojtaba Hosseini Zeidabadi 1b61e4df50 Review files under the FirebasePerformance/Sources directory (#13361) 2024-07-24 06:41:02 -07:00
Paul Beusterien cfacee8a91 Merge remote-tracking branch 'origin/main' into pb-merge-main7-3 2024-07-03 11:33:03 -07:00
Kyle 9e9af4ae5c Update FPRDataUtils.m (#13200) 2024-06-28 13:24:14 -07:00
themiswang 0afe0cd98e remove os check for major update (#13197) 2024-06-27 15:27:07 -04:00
Andrew Heard 61384c1223 Merge branch 'main' into release-11.0-merge
# Conflicts:
#	Firebase.podspec
#	FirebaseABTesting.podspec
#	FirebaseAnalytics.podspec
#	FirebaseAnalyticsOnDeviceConversion.podspec
#	FirebaseAppCheck.podspec
#	FirebaseAppCheckInterop.podspec
#	FirebaseAppDistribution.podspec
#	FirebaseAuth.podspec
#	FirebaseAuthInterop.podspec
#	FirebaseCore.podspec
#	FirebaseCoreExtension.podspec
#	FirebaseCoreInternal.podspec
#	FirebaseCrashlytics.podspec
#	FirebaseDatabase.podspec
#	FirebaseDynamicLinks.podspec
#	FirebaseFirestore.podspec
#	FirebaseFirestoreInternal.podspec
#	FirebaseFunctions.podspec
#	FirebaseInAppMessaging.podspec
#	FirebaseInstallations.podspec
#	FirebaseMLModelDownloader.podspec
#	FirebaseMessaging.podspec
#	FirebaseMessaging/CHANGELOG.md
#	FirebaseMessagingInterop.podspec
#	FirebasePerformance.podspec
#	FirebaseRemoteConfig.podspec
#	FirebaseRemoteConfigInterop.podspec
#	FirebaseSessions.podspec
#	FirebaseSharedSwift.podspec
#	FirebaseStorage.podspec
#	FirebaseVertexAI/Sources/VertexAIComponent.swift
#	GoogleAppMeasurement.podspec
#	GoogleAppMeasurementOnDeviceConversion.podspec
#	Package.swift
#	ReleaseTooling/Sources/FirebaseManifest/FirebaseManifest.swift
2024-06-21 15:33:16 -04:00
Paul Beusterien 83c42b4cda [v11] Migrate ISASwizzler into FirebasePerformance (#13137) 2024-06-17 10:23:17 -07:00
Visu 1c02a9544d Replace SystemConfiguration with a more recent Apple provided network monitoring API. (#13091) 2024-06-07 11:03:57 -07:00
Paul Beusterien 7d7cbad7bd [v11] Update minimum platform versions for 11.0.0 (#13066) 2024-06-05 07:39:36 -07:00
Paul Beusterien f5309bf45b [v11] Remove unused FIRDependency class (#13053) 2024-06-04 06:56:50 -07:00
Nick CookeandAndrew Heard 734f561651 [Firebase 11] Bump deps on GULs to v8 and GDT to v10 (#13036)
Co-authored-by: Andrew Heard <andrewheard@google.com>
2024-05-31 10:34:24 -04:00
Paul Beusterien 560777f572 Fix fireperf exception (#12991) 2024-05-29 05:57:42 -07:00
Nick Cooke 3211a7f34c [Performance] Migrate to GoogleUtilities's storage container (#12759) 2024-04-12 13:29:06 -04:00
Paul Beusterien 146dea0b11 Make fire-perf config error message Swift-friendly (#12126) 2023-11-21 13:48:14 -08:00
Paul Beusterien a64205bd11 Fix Xcode 15.1 build warning (#12027) 2023-10-31 07:22:45 -07:00
Andrew Heard ffe63c91f6 [visionOS] Add support for Firebase Performance on visionOS (#11950) 2023-10-17 10:59:38 -04:00
Paul Beusterien 6f9b0cc76b Fix 2nd instance of Xcode 15 runtime warning in FPRNSURLSessionInstru… (#11905) 2023-10-09 13:01:33 -07:00
Paul Beusterien d14db425f6 Fix Xcode 15 runtime warning (#11825) 2023-09-19 14:10:41 -07:00
Visu ef571e0319 Make Firebase Performance XCode 15 compatible. (#11439) 2023-06-14 14:39:56 -07:00
Visu c559a68b8e Fixed a bug to honor data collection flags before Firebase app was configured. (#11372) 2023-06-01 08:19:39 -07:00
Nick Cooke a553a4d259 [Performance] Address Xcode 14.3 Analyzer issues (#11241) 2023-05-08 11:44:32 -04:00
Sam Edson 729eb40cb2 Merge sessions-main with master (#10787) 2023-02-07 16:02:19 -05:00
Visu 070769431f Make Firebase Performance initialize using Component system. (#10692) 2023-01-17 14:38:32 -08:00
Sam Edson f5af4a98e2 Upgrade nanopb to 0.3.9.9 for collection of SDKs (#10447) 2022-11-02 15:32:44 -04:00
Sam Edson ba0f4f2693 Combine nanopb scripts into a single location (#10439) 2022-11-02 14:56:58 -04:00
Jeremy Jiang d01b2b1ece Update logging URL (#9940) 2022-06-28 15:01:05 -04:00
Morgan Chen 9f2a3132fa Use Swift syntax in reference documentation (#9594)
* fix returns typo

* change some headers

* style

* the rest of the header comments

* revert changes to FIRStorageReference
2022-04-08 14:50:22 -07:00
Paul Beusterien 7b946765ec Remove slashes from log messages (#9391) 2022-04-06 14:19:47 -07:00
Paul Beusterien 99275370a2 Merge remote-tracking branch 'origin/master' into v9b 2022-04-06 09:56:33 -07:00
Visu df5d2c6d26 Remove the double dispatch code from the pre-warm detection. (#9528) 2022-03-29 15:40:36 -07:00
Nick Cooke 1a5399a230 [Infra] Bump clang-format to v14 (#9527) (#9531)
* Bump clang-format

* Review
2022-03-28 18:53:08 -04:00
Nick Cooke 0336856b9f [Infra] Bump clang-format to v14 (#9527)
* Bump clang-format

* Review
2022-03-28 13:14:45 -04:00
Nick Cooke a09083f9d0 [v9] Reorganize FirebaseCore* modules (#9482)
* [skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`

* Reorganize FirebaseCore libraries for SPM and CP

* [skip ci] Revert "[skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`"

This reverts commit 2a837e39708c21b0a324743ab226bd6c01047de7.

* Review and fix CI

* Remove `heartbeat_logging.yml` and add `core_internal.yml`

* Remove trailing whitespace

* Fix more whitespace 😞

* Fix `core_internal.yml` scheme name

* Update `check_imports.swift` and TODO

* Review

* Add FirebaseCoreInternal pod to Firestore example's Podfile

* [skip ci] Review - remove TODOs

* [skip ci] Remove duplicate `XCTest` import
2022-03-23 06:08:14 -07:00
Paul Beusterien 4f793064da Set up Core Internal for SPM (#9298) 2022-03-23 06:07:17 -07:00
Visu ba50608438 Record the size of the request bytes for POST/PUT URL Requests (#9452) 2022-03-15 11:00:15 -07:00
Leo Zhan bcc81c883a Fireperf: fix ActivePrewarm (#9362)
* read env var in +load

* formatting

* fix test

* platform checking

* remove platform-checking

* use @available() to check version

* align with Hub's version checking

* fix @available

* comments and changelog

* imports

* comment word smithing

* more comment word smithing

* better context comment
2022-02-28 10:30:05 -08:00
Leo Zhan ca6f7e6229 Fireperf: prewarm counters (#9283)
* hidden counters

* changelog

* lowercase
2022-02-01 16:37:58 -08:00
VisuandLeo Zhan f576ad5f6b Fireperf: dropping app start events when they are prewarmed. (#9104)
* Prototype of dropping app start events when they are prewarmed.

* fixing a bug and adding tests for isApplicationPrewarmed

* remove comments

* formatting

* added a plist flag to disable double dispatch

* adding RC

* formatting

* use GULAppEnvironmentUtil for checking iOS version

* add tests

* formatting

* comment

* drop counters

* dropped _as duration counter

* formatting

* Revert "formatting"

This reverts commit bd6b82b79c.

* Revert "dropped _as duration counter"

This reverts commit ef8a901000.

* Revert "drop counters"

This reverts commit 38d20320dd.

* fix most PR comments

* enum

* formatting

* move dropping all events out of isApplicationPreWarmed

* fix tests

* formatting

* default to OnlyActivePrewarm

* code review changes

* formatting

* fix names in comments

* comments

* formatting

* fix test name

Co-authored-by: Leo Zhan <zhanl@google.com>
2022-02-01 12:25:39 -08:00
Jeremy Jiang ec9309db60 Fix heap-buffer overflow in FPREncodePerfSessions (#8872)
* Fix heap-buffer overflow in FPREncodePerfSessions

* Update CHANGELOG.md

* Update CHANGELOG.md

* Attempt to add sanitizers to workflow.

* Update performance.yml

* Update performance.yml

* Update performance.yml

* Remove sanitizer check.
2021-11-04 11:26:58 -04:00
Visu 4deab9ceca Perf return session length return type (#8924)
Fix FPRSessionDetails copy implemention to retain the session creation time.
2021-11-03 12:53:57 -07:00
Jeremy Jiang d93d223555 Fix heap-buffer overflow from FPRDecodeString (#8631)
* Use trimmedURLString for logging

* Update CHANGELOG.md

* Move nanopb decode methods to test util

* Update Package.swift

* Incorporate comments
2021-09-10 11:54:16 -04:00
Leo Zhan cfcb1ebaf0 FirePerf: use FPRLogDebug instead of FPRLogError for logging events when FirePerf is disabled (#8620)
* make Dropping Event log use the highest verbosity which is debug

* changelog
2021-09-07 13:29:10 -04:00
Visu 95830b28d9 Create a random delay before initiating a remote config fetch. (#8593) 2021-09-01 16:46:29 -07:00
Visu 0caef34228 Fix to ensure that the installation ID is right set for sending events. (#8578) 2021-08-26 20:53:04 -07:00
Paul Beusterien bd9272cbdc Fix perf assert macro (#8521) 2021-08-11 10:07:20 -07:00
Visu 9d62ab37ff Resolve a possible race condition (#8512)
Pass the session details as a part of the session updated notification. This avoids the sessionDetails object missing race condition when trying to update the session details to the traces.

Attempt to fix #8495.
2021-08-10 11:43:22 -07:00