mirror of
https://github.com/home-assistant/iOS.git
synced 2026-02-09 18:33:16 -06:00
## Summary Implements the push send and rate limit information in Swift using Vapor. ## Any other notes This will allow us to get off Firebase, which gives a few immediate benefits: - We can send PushKit notifications for complications, widgets, and location updates. - We remove the last SDK that uses network connectivity to third parties.
20 lines
448 B
Swift
20 lines
448 B
Swift
// swift-tools-version:5.5
|
|
import PackageDescription
|
|
|
|
// Separate package so the app doesn't need to pull in packages
|
|
public let package = Package(
|
|
name: "SharedPush",
|
|
platforms: [
|
|
.iOS(.v12),
|
|
.macOS(.v10_14),
|
|
.tvOS(.v12),
|
|
.watchOS(.v5),
|
|
],
|
|
products: [
|
|
.library(name: "SharedPush", targets: ["SharedPush"]),
|
|
],
|
|
targets: [
|
|
.target(name: "SharedPush", path: "Sources"),
|
|
]
|
|
)
|