Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Could it support mutil apps ? #20

Open
sharp opened this issue Jul 16, 2013 · 2 comments
Open

Could it support mutil apps ? #20

sharp opened this issue Jul 16, 2013 · 2 comments

Comments

@sharp
Copy link

sharp commented Jul 16, 2013

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

@chaekit
Copy link

chaekit commented Sep 16, 2013

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

@mensfeld
Copy link

@SharpV: this should work:

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants