RMSPushNotificationsBundle icon indicating copy to clipboard operation
RMSPushNotificationsBundle copied to clipboard

[Feature] Multiple APNS projects and certificates

Open mrzepinski opened this issue 12 years ago • 17 comments

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.

mrzepinski avatar Feb 14 '13 13:02 mrzepinski

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

richsage avatar Feb 15 '13 10:02 richsage

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 ;-)

mrzepinski avatar Feb 15 '13 11:02 mrzepinski

+1!

ZhukV avatar Feb 21 '13 23:02 ZhukV

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.

bassrock avatar Apr 22 '13 15:04 bassrock

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.

akira28 avatar Oct 09 '14 09:10 akira28

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.

danielsan80 avatar Oct 17 '14 16:10 danielsan80

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

Thomasgeley avatar Oct 31 '14 19:10 Thomasgeley

@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! :-)

richsage avatar Nov 01 '14 12:11 richsage

@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

akira28 avatar Nov 03 '14 13:11 akira28

The pull request #93 make it possible apparently.

Kevinrob avatar Mar 28 '15 16:03 Kevinrob

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 avatar Mar 30 '15 08:03 richsage

#93 has been merged. #76 is awaiting a rebase and fixing of tests.

richsage avatar Mar 30 '15 09:03 richsage

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

akira28 avatar Apr 02 '15 08:04 akira28

+1

davewwww avatar Apr 28 '16 12:04 davewwww

Any update on this feature ?

rahit avatar Mar 06 '17 07:03 rahit

+1

Hasib-rafi1 avatar Mar 06 '17 07:03 Hasib-rafi1

@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

blaues0cke avatar Apr 20 '17 14:04 blaues0cke