avdlee / poes Goto Github PK
View Code? Open in Web Editor NEWA Swift command-line tool to easily send push notifications to the iOS simulator
License: MIT License
A Swift command-line tool to easily send push notifications to the iOS simulator
License: MIT License
This would be similar to the option to generate the mutable content flag.
Within the aps
section, add "content-available" : 1
. This should not be included with other keys in the 'aps' section, but can include other data which may also need support for setting.
Just released: https://swift.org/blog/argument-parser/
Should be both fun and easy to implement.
This would probably be a subcommand that allows generating a payload for the given input parameters.
It can be interesting to have as you can drag APNS files into the simulator.
The APNS file can be checked into repositories for easy use within teams. You could imagine yourself adding APNS files for each push notification type that is supported.
Brew is more commonly used and would be nice to use instead of Mint
Although this works great from the terminal, the project is suitable to easily port to a simple Mac app with UI. This way we could make form fields to easily fill in the bundle identifier, title, body, and more.
import PoesCore
Should be enough to get started. After that, we can simply call the executable as follows:
try Poes.run(arguments: ["poes", "--bundle-identifier", expectedBundleIdentifier, "-t", title, "-b", body, "-m"])
I'm running the command: poes send my_bundle_id
Sending push notification...
Push notification sent successfully
I'm not seeing any notifications. The notification methods are being hit.
If I drop an .apns file into the simulator it works.
What are some trouble shooting steps here? Thanx.
This can be an easy addition but allows to test badges
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.