richsage / RMSPushNotificationsBundle

NOT MAINTAINED! ⛔️ Push notifications/messages for mobile devices. Supports iOS, Android (C2DM, GCM), Blackberry and Windows Mobile (toast only). A Symfony2 bundle.
MIT License
321 stars 152 forks source link

[Feature] Multiple APNS projects and certificates #27

Open mrzepinski opened 11 years ago

mrzepinski commented 11 years ago

For Apple Push (APNS) we have one certificate for one project. It could be possible to create multiple projects with this bundle?

I don't see the place in code to define more than one path to certificate for APNS.

richsage commented 11 years ago

You're right - it doesn't currently have support for multiple APNS certificates. Thanks - I'll mark this as a feature request :-)

mrzepinski commented 11 years ago

It is similar situation for Authorization key on Android platform. One Google account has one Authorization key, but if we have multiple applications with different Authorization keys because many Google accounts have been used this is a huge problem ;-)

ZhukV commented 11 years ago

+1!

bassrock commented 11 years ago

Take a look here https://github.com/DABSquared/DABSquaredPushNotificationsBundle, I made a push bundle originally based off this one, but with functionality like FOSCommentBundle. I also added support for multiple certificates and apps.

akira28 commented 9 years ago

I've developed the ability to configure multiple pem for iOS and Mac apps in my fork https://github.com/Yameveo/RMSPushNotificationsBundle/tree/multcert

It's a little rough around the edges, but it works for our apps. It needs some changes to documentation. @richsage If you want I can create a pull request.

danielsan80 commented 9 years ago

Hi Richsage! This bundle is very elastic. If you want multiple pem you can redefine some classes. The problem is that anyway I must set one pem in config yml. The solution could be to remove some vincula in Configuration.php. It should work without configuration keys.

Thomasgeley commented 9 years ago

Akira28 did a great work with the multcert branch ! Just what I needed, thank you.

richsage commented 9 years ago

@akira28 sorry for the delay! A PR would be great if you're able to do that? I think this is a long-overdue feature! :-)

akira28 commented 9 years ago

@richsage I've just created the PR. It needs updates to the docs, but I don't have time at the moment to update it, sorry

Kevinrob commented 9 years ago

The pull request #93 make it possible apparently.

richsage commented 9 years ago

I can see #93 allows a second certificate to be used at runtime; I'd prefer this to be done as part of configuration, which @akira28 added in #76 but which needs rebasing and the Travis build fixing before I can merge.

richsage commented 9 years ago

93 has been merged.

76 is awaiting a rebase and fixing of tests.

akira28 commented 9 years ago

Hi @richsage tomorrow I'll rebase and try to fix tests. Bye!

davewwww commented 8 years ago

+1

rahit commented 7 years ago

Any update on this feature ?

Hasib-rafi1 commented 7 years ago

+1

blaues0cke commented 7 years ago

@rahit @Hasib-rafi1 what are you "+1ing" for? This feature is basically available on the main branch, see: https://github.com/richsage/RMSPushNotificationsBundle/pull/93