APNS icon indicating copy to clipboard operation
APNS copied to clipboard

Could it support mutil apps ?

Open sharp opened this issue 11 years ago • 2 comments

I want to push messages to many of my apps, and it needs to config more than one pem file, is it possible ?

sharp avatar Jul 16 '13 03:07 sharp

You can try including the APNS module inside a custom class and create an instance for each app with its dedicated pem file.

chaekit avatar Sep 16 '13 15:09 chaekit

@SharpV: this should work:

base = APNS.dup
base.pass = 'something'
base.pem = 'path_to_pem'
# do something with base 

mensfeld avatar Sep 20 '13 12:09 mensfeld