platform/bb/RubyVM/src/com/rho/sync/SyncProtocol_3.java in rhodes-3.4.2 vs platform/bb/RubyVM/src/com/rho/sync/SyncProtocol_3.java in rhodes-3.5.1.12
- old
+ new
@@ -59,15 +59,16 @@
public String getClientRegisterUrl()
{
return RhoConf.getInstance().getPath("syncserver") + "clientregister";
}
- public String getClientRegisterBody( String strClientID, String strPin, int nPort, String strType )
+ public String getClientRegisterBody( String strClientID, String strPin, int nPort, String strType, String strPushType )
{
return "{\"client_id\":" + JSONEntry.quoteValue(strClientID) +
",\"device_pin\":" + JSONEntry.quoteValue(strPin) +
",\"device_port\":\"" + nPort +
- "\",\"device_type\":" + JSONEntry.quoteValue(strType) + "}";
+ "\",\"device_type\":" + JSONEntry.quoteValue(strType) +
+ ",\"push_type\":" + JSONEntry.quoteValue(strPushType) + "}";
}
public String getClientResetUrl(String strClientID)
{
String strUrl = RhoConf.getInstance().getPath("syncserver") + "clientreset?client_id=" + strClientID;