APNS
APNS copied to clipboard
Could it support mutil apps ?
I want to push messages to many of my apps, and it needs to config more than one pem file, is it possible ?
You can try including the APNS module inside a custom class and create an instance for each app with its dedicated pem file.
@SharpV: this should work:
base = APNS.dup
base.pass = 'something'
base.pem = 'path_to_pem'
# do something with base