Skip to content
This repository has been archived by the owner on Oct 27, 2019. It is now read-only.

Add support for Cloud Connection Server (upstream XMPP messaging) #3

Open
smithgce2012 opened this issue Dec 18, 2013 · 5 comments
Open

Comments

@smithgce2012
Copy link

Hey friend I think the server code is working with the http for new ccs XMPP is used have you any PHP library for that?

@lkorth
Copy link
Owner

lkorth commented Dec 19, 2013

I'm not quite sure what you're saying. The Java code this is based on has not changed since this was written.

@lkorth lkorth closed this as completed Dec 19, 2013
@smithgce2012
Copy link
Author

I have searched and find that currently we are using http using https://android.googleapis.com/gcm/send And now ccs (Xmpp) introduced so GCM Cloud Connection Server (CCS) is an XMPP endpoint, running on http://gcm.googleapis.com port 5235. Are you know any PHP library that works on the server code for new Google cloud messaging

@lkorth
Copy link
Owner

lkorth commented Dec 19, 2013

Cloud Connection Server is still in the testing phase and not available to all users, but adding PHP support for it to this library should not be too difficult. xmpphp allows you to interact with XMPP in PHP similar to Smack in Java. There is a sample implementation in the Android GCM docs for Java that should provide a starting point to port to PHP.

At this time I don't have a plan to write the support for CCS, but if you would like to take a shot and submit a pull request I would be willing to help out with any problems and then merge it.

@lkorth lkorth reopened this Dec 19, 2013
@smithgce2012
Copy link
Author

Thanks for the help can you please code the same using xmphp lib?

@lkorth
Copy link
Owner

lkorth commented Dec 23, 2013

@smithgce2012 please see my previous comment. I don't plan on writing the CCS support soon, if ever, but pull requests, even partial implementations, are welcome.

@lkorth lkorth closed this as completed Dec 23, 2013
@lkorth lkorth reopened this Dec 23, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants