petarov / apns-push-cmd

Send Apple push notifications from your command line
MIT License
4 stars 4 forks source link

Allow sending custom JSON message #1

Closed yohanes closed 2 years ago

yohanes commented 2 years ago

This tool is handy, but I need to specify custom JSON while testing an app that uses CleverTap. As you can see here, CleverTap has some extra values for the JSON message:

https://docs.clevertap.com/docs/faq#q-what-is-the-format-of-the-payload-of-the-push-notification-for-ios

So I added two new options: to use custom JSON from the command line or to read the JSON from a file.

petarov commented 2 years ago

Thank you! That looks great. 👍