The is a Skip framework that provides support for notifications on iOS and Android.
To include this framework in your project, add the following
dependency to your Package.swift file:
let package = Package(
name: "my-package",
products: [
.library(name: "MyProduct", targets: ["MyTarget"]),
],
dependencies: [
.package(url: "https://source.skip.tools/skip-notify.git", "0.0.0"..<"2.0.0"),
],
targets: [
.target(name: "MyTarget", dependencies: [
.product(name: "SkipNotify", package: "skip-notify")
])
]
)Enabling push notifications in your app requires a series of steps that differ between iOS and Android. Following is an outline of the tasks required to activate and configure push notifications.
Follow the steps described in the Registering your app with APNs documentation:
- Select your app from the App Store Connect Certificates, Identifiers & Profiles page and select "Capabilites" and turn on Push Notifications then click "Save"
- Use the Push Notifications Console to send a test message to your app.
This software is licensed under the GNU Lesser General Public License v3.0, with a linking exception to clarify that distribution to restricted environments (e.g., app stores) is permitted.