Push Me bash script
This comment has been minimized.
This comment has been minimized.
malinnikov
commented
Oct 16, 2017
•
Hello there, thanks for the cool service! I have a question: should parameter be "token" or "identifier", as mentioned in the iOS app? I managed to send notifications before but now I can't see pushes on device with either parameter name. |
This comment has been minimized.
This comment has been minimized.
malinnikov
commented
Oct 16, 2017
Ah, never mind, both do work. I just had to change the script to make it work on macOS Sierra:
|
This comment has been minimized.
This comment has been minimized.
gdzien
commented
Feb 25, 2019
I think this gist should be updated to:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
JagCesar commentedMay 16, 2017
Save this to a
.sh
file, and don't forget to make it executable using the commandchmod +x pushMe.sh
.Then you execute it by writing
./pushMe.sh Hello!