Skip to content

Instantly share code, notes, and snippets.

@ikeikeikeike
Created July 24, 2012 17:10
Show Gist options
  • Save ikeikeikeike/3171255 to your computer and use it in GitHub Desktop.
Save ikeikeikeike/3171255 to your computer and use it in GitHub Desktop.
push!!
tokens = ["token1", "token2", "token3", "token4"]
notifications = [
{'aps':{'alert': 'Hello token 1'}},
{'aps':{'alert': 'Hello token 2'}},
{'aps':{'alert': 'Hello token 3'}},
{'aps':{'alert': 'Hello token 4'}},
]
notify('myapp', tokens, notifications) # push!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment