Common message definitions for the push server and client implementations
Go to file
2022-06-09 11:57:28 +02:00
Sources/PushMessageDefinitions Rename package, update dependencies 2022-06-09 11:48:00 +02:00
.gitignore Ignore Swift PM files 2022-06-06 15:00:25 +02:00
Package.swift Fix dependency version 2022-06-09 11:57:28 +02:00
README.md Rename package, update dependencies 2022-06-09 11:48:00 +02:00

Push-API

This package contains message definitions, routes and information specifying the interface to a Push-Server. The package is used to implement both the client and the server using common definitions to ensure compatibility.

The package depends on APNSwift, which provides the definitions for push message contents and is used by the server to connect to the Apple Push Notification Service (APNs).

Usage

Add the package dependency in your Package.swift file:

dependencies: [
    .package(url: "https://christophhagen.de/git/ch/Push-Definitions.git", from: "1.0.0"),
],

Then import the module in your code:

import PushMessageDefinitions