Commit Graph
16 Commits
Author SHA1 Message Date
Nick Cooke cf1b9419ea [Firestore] Remove FirestoreSwift (#13085) 2024-06-06 17:16:04 -04:00
Nick Cooke 926b67878d [Analytics] Remove AnalyticsSwift (#13056) 2024-06-04 17:40:42 -04:00
Nick Cooke 554255aa09 [Infra] Clean up visionOS conditionals (#12934) 2024-05-10 16:18:00 -04:00
Nick CookeandAndrew Heard 756b5a4cbb [Firestore] Add warning when building Firestore's binary SPM distro for visionOS (#12279)
Co-authored-by: Andrew Heard <andrewheard@google.com>
2024-01-16 13:48:37 -05:00
Andrew Heard 9425f60f69 [visionOS] Fix FirebaseInAppMessaging build on Xcode 15.1 beta 1 (#11935) 2023-10-13 15:18:32 -04:00
Paul Beusterien a2320db042 Fix analytics warnings building for macOS/tvOS with SPM (#9030) 2021-11-29 16:48:29 -08:00
Nick Cooke ced0a5832d Add watchOS support for Swift Package Manager (#8864)
* SPM support for Functions on watchOS

* CHANGELOG

* Remove SwiftPM-PlatformExclude/ Functions dir
2021-10-25 17:10:18 -04:00
Paul Beusterien 6604ffa9c4 Update targets and CI for 8.9.0 (#8830) 2021-10-20 10:32:05 -07:00
Jeremy JiangandPaul 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
Morgan McDowell 962407b671 Analytics 7.11.0 (#7900)
* Analytics 7.11.0 podspec.json files, SPM, and Firebase podspec additions

* Update: Analytics 7.11.0

* Update: Analytics 7.11.0
2021-04-15 09:17:37 -05:00
Nick Cooke a05ce1cf0a Reorganize FIAM's Resources for FIAM (#7788) 2021-04-06 17:09:54 -04:00
Ryan Wilson f60577f781 watchOS support for RTDB (#7656)
* Initial attempt for watchOS Database support

* watchOS Package manifest changes for SwiftPM testing.

* Fix iOS compilation

* Further iOS changes

* Further watchOS changes

* Reverted !WATCHOS && 0 change, fixed SharedTestUtils

* Proper logging, using positive if statements

* Properly handle lifecycle changes on watchOS sockets.

Also only log errors if we haven't closed things intentionally.

* Cleanup:

- Removal from outdated sample
- Fixed podspec
- Fixed Swift Package

* Actually restore SwiftPM XCScheme

* Restore ExtensionDelegate.swift

* Revert all changes to ExtensionDelegate.swift

* Cleanup from code review.

* Style

* Added CHANGELOG entry.

* Review comments.

* Style.sh

* Remove unnecessary wrappers for SwiftPM

* Review feedback

* Formatting
2021-03-12 14:19:16 -05:00
Ryan Wilson 58eca9695d Enable RC for watchOS in SwiftPM (#7696) 2021-03-11 15:13:42 -05:00
Ryan Wilson b54c6531dc FirebaseAnalytics SwiftUI API for screen_view (#7562)
* FirebaseAnalytics SwiftUI API for `screen_view`

This is a new FirebaseAnalyticsSwift SDK that adds native Swift
extensions for FirebaseAnalytics, starting with a SwiftUI screen view
function.

* Formatting

* CHANGELOG updates.

* whitespace removal

* Add podspec.

* Add missing wrapper files.

* Update copyright dates.

* Update default class name.

* Update versions and fix dependency name in podspec

* Update version specified in the CHANGELOG

* Add FirebaseAnalyticsSwift to GHA

* Temporarily enable Analytics cron test.

* Moving to the public version of Analytics

* Move to source based pod testing.

* Static framework
2021-03-09 13:03:36 -05:00
Ryan Wilson a60866383f Add AppDistribution to SwiftPM. (#7045)
* Add AppDistribution to SwiftPM.

Tests aren't ported yet due to an import OCMock issue.

* Embed public headers in correct directory

* Fix podspec

* Fixed new header imports.

* Add beta designation to SwiftPM name.

* Enable testing for AppDistro in SwiftPM

* Style

* Style

* Added changelog

* Add unit test scheme.
2020-12-02 11:51:29 -05:00
Paul Beusterien 503018a6fe Initial SPM building for watchOS (#6705) 2020-10-09 14:30:56 -07:00