Firebase Dependencies brings
Dependencies support to Firebase’s iOS SDK. It includes libraries for Remote
Configuration and Analytics, with more features coming soon.
The main motivation behind this package is supporting
Invia Flights, we’re big fans of Stephen and Brandon’s work, and we’re
Dependencies is going to turn into the Swift de-facto standard
for managing dependencies.
We also wanted to solve a specific problem: importing Firebase systematically breaks SwiftUI previews. By segregating interface and implementation —only the latter requires the original Firebase—, this package provides you with a clean workaround.
If you want to use Firebase Dependencies in a SwiftPM project, it's as
simple as adding it to your
dependencies: [ .package(url: "https://github.com/invia-flights/swift-firebase-dependencies", from: "10.4.0") ]
And then adding the product to any target that needs access to the individual libraries:
.product(name: "FirebaseRemoteConfiguration", package: "swift-firebase-dependencies"), .product(name: "FirebaseRemoteConfigurationLive", package: "swift-firebase-dependencies"),
This package is released under the MIT license. See LICENSE for details.
|Last commit: 4 weeks ago|
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics