guness / node-xcs

NodeJS implementation of Google's XMPP Connection Server
BSD 2-Clause "Simplified" License
38 stars 23 forks source link

Allow selection for FCM testing port 5236 #10

Closed kenshin171 closed 7 years ago

kenshin171 commented 7 years ago

Is it possible to add an argument to Sender object to specify the port 5236 for testing and development purposes instead of using port 5235 which should be only used for production.

Something like

// Production
fcm-xmpp.googleapis.com:5235

// Testing
fcm-xmpp.googleapis.com:5236

var xcs = new Sender(<server id>, <server key>, <boolean isProduction>);
guness commented 7 years ago

ok, it is in my TODO now. next version will have it surely.

kenshin171 commented 7 years ago

Awesome! Many thanks

RDLemos commented 7 years ago

Hi, I was about to ask about the same enhancement: Add an attribute to select Production (fcm-xmpp.googleapis.com:5235) or Testing (fcm-xmpp.googleapis.com:5236) connections...

Do you have already a planned date for the next version release?

RDLemos commented 7 years ago

Great, I see that the patch to support the Dev Server has been approved (thanks). Do you plan to release the new version (0.1.5) soon?

guness commented 7 years ago

published