FirebaseDependencies

main

Dependencies support for Firebase.
invia-flights/swift-firebase-dependencies

Firebase Dependencies

CI

Firebase Dependencies brings Dependencies support to Firebase’s iOS SDK. It includes libraries for Remote Configuration and Analytics, with more features coming soon.

Motivation

The main motivation behind this package is supporting Dependencies. At Invia Flights, we’re big fans of Stephen and Brandon’s work, and we’re convinced that 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.

Usage

If you want to use Firebase Dependencies in a SwiftPM project, it's as simple as adding it to your Package.swift:

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"),

License

This package is released under the MIT license. See LICENSE for details.

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

Last updated: Sat Oct 19 2024 11:33:44 GMT-0900 (Hawaii-Aleutian Daylight Time)