Swiftpack.co - invia-flights/swift-firebase-dependencies as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by invia-flights.
invia-flights/swift-firebase-dependencies 10.15.0
Dependencies support for Firebase.
⭐️ 0
🕓 29 weeks ago
iOS macOS
.package(url: "https://github.com/invia-flights/swift-firebase-dependencies.git", from: "10.15.0")

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.

GitHub

link
Stars: 0
Last commit: 1 week ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

10.4.0
1 year ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics