Paul Beusterien
f5309bf45b
[v11] Remove unused FIRDependency class ( #13053 )
2024-06-04 06:56:50 -07:00
Sheikh Bayazid
e8a12e04c2
Improve/use shorthand syntax for unwrapping optionals and fix typos ( #12369 )
2024-05-03 08:50:20 -07:00
Paul Beusterien and Nick Cooke
1cde471f52
[CI] Stop Xcode 14, start Xcode 15.3 ( #12746 )
...
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com >
2024-04-12 09:55:29 -07:00
Nick Cooke
16f64bfe18
[Sessions] Migrate to GoogleUtilities's storage container ( #12752 )
2024-04-11 15:07:34 -04:00
Paul Beusterien
1af0bf0728
Update to SwiftFormat 0.53.5 ( #12665 )
2024-04-01 10:42:23 -08:00
themiswang
cc45d17b6a
Fix release notes ( #12431 )
2024-02-26 22:36:17 -05:00
themiswang
cb2f6e901a
Sending authentication token for crashlytics and session ( #12383 )
2024-02-26 15:10:21 -05:00
Paul Beusterien
7147ecc36d
Fix FirebaseSessions release mode crash ( #12425 )
2024-02-26 10:31:27 -08:00
Paul Beusterien
4d2b60dc75
Updated to SwiftFormat 0.52.10 ( #12125 )
2023-11-21 12:12:05 -08:00
Morgan Chen and Andrew Heard
7ebb28053b
Fix a regression of a memory leak in Sessions. ( #11802 )
...
Co-authored-by: Andrew Heard <andrewheard@google.com >
2023-09-29 14:16:13 -07:00
Andrew Heard
0e183e007a
[visionOS] Fix Sessions SDK build on Xcode 15 beta 6 ( #11666 )
...
In Xcode 15 beta 6, `#if os(iOS)` no longer evaluates to true when building for visionOS.
Note: `TARGET_OS_IOS` continues to be defined so Objective-C code is unchanged.
2023-08-09 14:02:59 -04:00
Andrew Heard
e7400722fa
[visionOS] Replace TARGET_OS_XR with TARGET_OS_VISION ( #11603 )
...
In Xcode 15 beta 5, TARGET_OS_XR was replaced with TARGET_OS_VISION in ObjC and os(xrOS) was replaced with os(visionOS) in Swift.
2023-07-25 20:52:07 -04:00
ae871b9dc1
Update to swiftformat 0.51.12 ( #11531 )
...
Co-authored-by: Andrew Heard <andrewheard@google.com >
Co-authored-by: Nick Cooke <nickcooke@google.com >
2023-07-11 15:54:51 -07:00
themiswang and Andrew Heard
19c1b15f7c
[Crashlytics] update deprecated kernel api for visionPro ( #11515 )
...
* [Crashlytics] Fix build issues on visionOS
Fixed Firebase Crashlytics SDK build issues for visionOS, along with
corresponding unit test changes. This also resolves build issues with
the underlying Firebase Sessions SDK.
* Allow pod-lib-lint warnings for Firebase Sessions
* VisionOS deprecated kernel api update
* Moved `swift(>=5.9)` check to separate `#if` statement
* Move swift(>=5.9) check in SessionStartEventTests
* adding comment, declear and use internal macro
---------
Co-authored-by: Andrew Heard <andrewheard@google.com >
2023-07-10 14:32:35 -04:00
Sam Edson
4bec33f9af
Fill in os_version and app_build_version for Sessions ( #11222 )
2023-05-05 11:32:57 -04:00
Sam Edson
1833a66ab2
Update Sessions to send events when FIID empty ( #11161 )
2023-04-24 12:56:01 -04:00
Sam Edson
171f818554
Remove references to deprecated CTCarrier for Sessions ( #11144 )
2023-04-24 12:44:46 -04:00
Morgan Chen
98be605f34
Free nanopb mallocs when losing references to them ( #11139 )
...
* Free nanopb mallocs when losing references to them
* style
* add changelogs
* Fix missing free
2023-04-18 15:14:35 -07:00
Sam Edson
01f06ac3f2
Fix App Quality Sessions field for Bundle Short Version ( #11047 )
2023-03-31 13:54:46 -04:00
Sam Edson
fe71814076
Revert "Disable Sessions due to usage ( #10796 )" ( #10842 )
...
This reverts commit 8c684750bf .
2023-02-21 09:15:06 -05:00
Sam Edson
5b8f2d8782
Fix Sessions on Xcode 13 ( #10800 )
2023-02-09 11:34:04 -05:00
Sam Edson
8c684750bf
Disable Sessions due to usage ( #10796 )
2023-02-08 10:36:27 -05:00
Sam Edson
5119679e81
Fix Session Event printout for sampling, log_environment ( #10790 )
2023-02-07 16:54:13 -05:00
Sam Edson
729eb40cb2
Merge sessions-main with master ( #10787 )
2023-02-07 16:02:19 -05:00
Sam Edson
562a93a350
Add comments outlining the worries against using FirebaseSessionsEnabled ( #10784 )
2023-02-06 15:42:03 -05:00
Sam Edson
092880c149
Rebase ( #10660 )
2023-02-06 12:15:13 -05:00
Sam Edson
1bd9913450
Update sampling to calculate per-run-of-app instead of per-session ( #10769 )
2023-02-06 12:15:00 -05:00
Sam Edson
4294267bef
Update SessionGenerator for first_session_id, session_index ( #10764 )
...
* Update SessionGenerator for first_session_id, session_index
* Improve
* Fix
* Ternary
2023-02-01 15:07:55 -05:00
Sam Edson
9bb1fb4490
Remove previous_session_id in favor of first_session_id and session_index ( #10762 )
...
* Remove previous_session_id in favor of first_session_id and session_index
* CHOP
2023-02-01 13:01:57 -05:00
Sam Edson
d5cf87a42d
Prevent capturing network info when Perf data collection off ( #10744 )
2023-01-30 13:13:57 -05:00
Sam Edson
4171a3b5a8
Prevent capturing of Network Info unless Perf is installed ( #10717 )
2023-01-25 12:58:01 -05:00
Sam Edson
d6e18b978a
Add Tests Against Sessions SDK and Internal API, Organize Errors ( #10669 )
2023-01-24 14:15:09 -05:00
Sam Edson
5820d2fbe3
Fix Sessions Local Overrides ( #10716 )
2023-01-19 12:38:44 -05:00
Sam Edson
077091a390
Add Sessions Internal API ( #10665 )
2023-01-12 15:26:50 -05:00
Visu
ab444d0eb7
Apply sampling rate settings from configs ( #10647 )
2023-01-09 09:24:16 -08:00
Visu
de676f6b76
Apply the Crashlytics Settings Configs to the SDK. ( #10637 )
2023-01-04 09:06:14 -08:00
Visu
ecd3043445
Reorganize Sessions settings ( #10599 )
2022-12-27 14:13:57 -08:00
Visu
e3d7278ef5
Introduce LocalConfigOverrides for settings. ( #10586 )
2022-12-16 13:36:51 -08:00
Sam Edson
7e15877ffb
[Sessions] Use Notifications for Initiator tests ( #10576 )
2022-12-15 14:37:02 -05:00
Sam Edson
442efb874e
[Sessions] Add Swift Package Manager tests for Sessions ( #10572 )
2022-12-15 13:55:31 -05:00
Leo Zhan
8a0bb35f01
Settings downloader ( #10530 )
...
* initial code for downloader
* WIP fetchAndCacheSettings
* fill out request headers
* onComplete
* working fetch
* WIP tests
* working tests
* merge conflicts
* comments
* fix warning in pod-lib-lint
* logger when cache does not expire
* comments
* move os info to ApplicationInfo and fix URL's platform
* if cache does not exist, return empty dictionary instead of nil
* unshadow variable in guard-let statement
* add comment describing task.resume()
* addressing reviews
* attempt fetch every session instead of every app-start
* address last review
2022-12-13 17:52:26 -08:00
Sam Edson
bcd9f76e79
[Sessions] Replace bundleID with appDisplayVersion ( #10551 )
2022-12-02 14:45:59 -05:00
Visu
fd45f8662e
Remove installations ID from Identifiers and move it to SessionCoordinator ( #10545 )
2022-12-01 13:15:10 -08:00
Sam Edson
42d4a06976
[Sessions] Use deviceSimulatorModel only for compatibility with Crashlytics ( #10541 )
2022-12-01 15:42:22 -05:00
Visu
cb72f94883
Add NetworkInformation to session start events. ( #10539 )
2022-12-01 11:04:37 -08:00
Visu
611511b0ef
Introduce sampling to session events. ( #10516 )
2022-11-28 10:38:37 -08:00
Visu
c9da4eb1e9
Add defaults for data collection state fields. ( #10517 )
2022-11-22 15:32:01 -08:00
Leo Zhan
17cc9723c8
Settings cache reader ( #10442 )
...
* loadCache
* SettingsFileManager
* code compiles and test successful
* ApplicationInfo.synthesizedVersion
* SettingsProtocol
* properties
* broken test
* fix test and add lots of tests
* conflict
* style
* remove unnecessary explicit type
* synchronize settings for thread-safety
* fix macOS and Catalyst url.appending compatibility
* fix compatibility attempt 2
* exclude macOS and Catalyst
* attempt 4
* PR review
* migrate to NSUserDefaults
* cleanup
* review
* add comments
* constants
2022-11-18 17:32:08 -08:00
Visu
d5e3888949
Depend on Google Utlities for device platform + Add Model information to session events. ( #10508 )
2022-11-18 15:18:09 -08:00
Visu
0b1cb06f83
Apply development environment to the Protos. ( #10474 )
2022-11-10 11:18:20 -08:00