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 Cooke and Andrew 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
Visu and Leo 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
Jeremy Jiang
33a5c2013e
Fix Xcode 13 beta 4 build issues for Firebase Performance ( #8516 )
...
* Fix Xcode 13 beta 4 build issues
* Update to NS_EXTENSION_UNAVAILABLE instead of NS_EXTENSION_UNAVAILABLE_IOS
2021-08-10 14:34:08 -04:00
Jeremy Jiang and Paul Beusterien
ec193d0150
Add Performance Support for Swift Package Manager ( #8412 )
...
* Create NanoPb code generation scripts (#8336 )
* Create NanoPb code generation scripts
* Fix style and add README
* Fix copyright
* Update proto_generator.py
* Update README.md
* Create nanopb options file. (#8371 )
* Create NanoPb code generation scripts
* Fix style and add README
* Fix copyright
* Update perf_metrics.options
* Update options with map
* Add generated proto files.
* Update imports.
* Convert Objective-C Classes to Nanopb (#8387 )
* Convert all traces to nanopb
* Refactor for loop.
* Add set has_application_info to true.
* Incorporated comments.
* Fix style
* Create NanoPb code generation scripts (#8336 )
* Create NanoPb code generation scripts
* Fix style and add README
* Fix copyright
* Update proto_generator.py
* Update README.md
* Create nanopb options file. (#8371 )
* Create NanoPb code generation scripts
* Fix style and add README
* Fix copyright
* Update perf_metrics.options
* Update options with map
* Add generated proto files.
* Update imports.
* Convert Objective-C Classes to Nanopb (#8387 )
* Convert all traces to nanopb
* Refactor for loop.
* Add set has_application_info to true.
* Incorporated comments.
* Fix style
* Fix style
* Convert nanopb struct to GDTCOREventDataObject and update the source code to use nanopb struct. (#8439 )
* Convert all traces to nanopb
* Refactor for loop.
* WIP: nanopb conversion in FPRClient and FPREvent
* Update FPRClientTest.m
* Update FPRClient.m
* Update FPRClientTest.m
* Add set has_application_info to true.
* Remove proto imports.
* Set has_fields to be true in FPRTestUtils.m
* Completed GDTEvent conversion.
* Fix sampler tests.
* Fix style
* Refactor nanopb struct setter
* Fix style
* Fix pod-lib-lint failures.
* Update FPRClient with decoded string
* Set some "_has" fields to true.
* Add prefix to extern methods.
* Fix style.
* Update FPRClient to use trace.name without FPRDecodeString
* Fix style
* Incorporate comments.
* Integrate Performance with SPM (#8476 )
* Convert all traces to nanopb
* Refactor for loop.
* WIP: nanopb conversion in FPRClient and FPREvent
* Update FPRClientTest.m
* Update FPRClient.m
* Update FPRClientTest.m
* Add set has_application_info to true.
* Remove proto imports.
* Set has_fields to be true in FPRTestUtils.m
* Completed GDTEvent conversion.
* Fix sampler tests.
* Fix style
* Refactor nanopb struct setter
* Fix style
* Fix pod-lib-lint failures.
* Update FPRClient with decoded string
* Set some "_has" fields to true.
* Add prefix to extern methods.
* Fix style.
* Update FPRClient to use trace.name without FPRDecodeString
* Fix style
* Update Package.swift
* Update Package.swift
* Update Package.swift
* Made SDK and unit tests buildable.
* Made all unit tests passing.
* Update keyWindow style.
* Add Performance to workflow.
* Update FPRUIViewControllerInstrument.h
* Incorporate comments.
* Add Performance to SwiftPMTests.
* Update style.
* Fix Unit tests and update workflow.
* Add FirebasePerformance wrapper
* Update import statement.
* Update style.
* Update performance.yml
* Create PerformanceUnit.xcscheme
* Update objc-module.m
* Update objc-module.m
* Updae objc-header.m
* Update objc-header.m
* Incorporate feedback.
* Update objc-header.m
* Organize folder structure to fix the spm tests.
* Update public import path
* Delete xcodebuild.log
* Update workflow files
* Fix failing swift-test for Perf SPM (#8507 )
* Fix UIKit import
* Update FPRNetworkTraceTest.m
* Exclude TARGET_OS_MACCATALYST from objc header test
* Update main.swift
* Update main.swift
Co-authored-by: Paul Beusterien <paulbeusterien@google.com >
* Remove Protobuf dependency (#8511 )
* Remove protobuf dependency
* Update FirebasePerformance.podspec
* Incorporate comments.
* Update UIKit import
Co-authored-by: Paul Beusterien <paulbeusterien@google.com >
2021-08-10 13:41:18 -04:00
Jeremy Jiang
c69b1ff01c
Add support for network request completed field. ( #8194 )
...
* Add support for network request completed field.
* Update CHANGELOG.
* Clean up log messages
* Address comments
2021-06-16 19:11:45 -04:00
Visu
85ca3cb287
Make a copy of sessionDetails to avoid the risk of losing object during acting on notification of sessionID change. ( #8189 )
2021-06-07 16:04:34 -07:00
Jeremy Jiang
7a0679d920
Update log messages with proper log levels. ( #8177 )
...
* Update log levels.
* Update CHANGELOG.md
* Fix style.
* Address comments.
2021-06-03 15:33:09 -04:00
Jeremy Jiang
e221a50d87
Add console URL logging. ( #7871 )
...
* Created a console URL logging prototype.
* Fix style.
* Add loggings to console URL.
* Fix style.
* Fix style.
* Fix bool to BOOL.
* Address comments.
* Fix format.
* Fix format.
* Add tests and update logging message.
* Move logging to startWithConfiguration
* Cleanup.
* Correct log tag.
2021-05-20 15:07:25 -04:00