https://github.com/feather-framework/feather-push
An abstract push service for Feather CMS
https://github.com/feather-framework/feather-push
Last synced: 5 months ago
JSON representation
An abstract push service for Feather CMS
- Host: GitHub
- URL: https://github.com/feather-framework/feather-push
- Owner: feather-framework
- License: mit
- Created: 2023-11-19T13:18:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T19:17:55.000Z (about 2 years ago)
- Last Synced: 2024-04-12T00:10:55.382Z (about 2 years ago)
- Language: Swift
- Homepage:
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Feather Push
An abstract push notification component for Feather CMS.
## Getting started
⚠️ This repository is a work in progress, things can break until it reaches v1.0.0.
Use at your own risk.
### Adding the dependency
To add a dependency on the package, declare it in your `Package.swift`:
```swift
.package(url: "https://github.com/feather-framework/feather-push.git", .upToNextMinor(from: "0.1.0")),
```
and to your application target, add `FeatherPush` to your dependencies:
```swift
.product(name: "FeatherPush", package: "feather-push")
```
Example `Package.swift` file with `FeatherPush` as a dependency:
```swift
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "my-application",
dependencies: [
.package(url: "https://github.com/feather-framework/feather-push.git", .upToNextMinor(from: "0.1.0")),
],
targets: [
.target(name: "MyApplication", dependencies: [
.product(name: "FeatherPush", package: "feather-push")
]),
.testTarget(name: "MyApplicationTests", dependencies: [
.target(name: "MyApplication"),
]),
]
)
```