VaporGCM is a simple, yet elegant, Swift library that allows you to send GCM Push Notifications in Linux & macOS.
A quick guide, step by step, about how to use this library.
In macOS using brew
you can easily do with:
brew reinstall curl --with-openssl --with-nghttp2
brew link curl --force
Add the following dependency to your Package.swift
file:
.Package(url:"https://github.com/matthijs2704/vapor-gcm.git", majorVersion: 0, minor: 1)
And then run vapor fetch
command, if you have the Vapor toolbox installed.
It's really easy to get started with the VaporAPNS library! First you need to import the library, by adding this to the top of your Swift file:
import VaporGCM
unfinished
Be welcome to contribute to this project! :)
You can join the Vapor slack. Or you can create an issue on GitHub.
This project was released under the MIT license.