Sorry Avital. I beeeee idiottttt. I forgot the subscription filters based on userid and didn't send that up when I did the insert :-P
Works well now:
Sending {"support":["pre1"],"msg":"connect","version":"pre1"}
Received response: {"msg":"connected","session":"cPeZk7FyyG95TGdTp"}
Sending {"id":"1","method":"login","params":[{"password":"password","user":{"email":"
te...@test.com"}}],"msg":"method"}
Received response: {"msg":"added","collection":"users","id":"qMEnmjwxkgxrw4xcp","fields":{"emails":[{"address":"
te...@test.com","verified":false}]}}
Received response: {"msg":"updated","methods":["1"]}
Received response: {"msg":"result","id":"1","result":{"token":"d8q5Q3begPz8aZi7a","id":"qMEnmjwxkgxrw4xcp"}}
Sending {"id":"2","method":"clearCollection","params":[],"msg":"method"}
Sending {"id":"3","name":"testData","params":[],"msg":"sub"}
Received response: {"msg":"updated","methods":["2"]}
Received response: {"msg":"result","id":"2","result":true}
Received response: {"msg":"ready","subs":["3"]}
Sending {"id":"4","method":"/TestCollection/insert","params":[{"testfield":"test","docnum":1,"_id":"a5cec637-e855-46cd-9725-01242764e543","userid":"qMEnmjwxkgxrw4xcp","value":"a"}],"msg":"method"}
Received response: {"msg":"result","id":"4"}
Received response: {"msg":"added","collection":"TestCollection","id":"a5cec637-e855-46cd-9725-01242764e543","fields":{"testfield":"test","docnum":1,"userid":"qMEnmjwxkgxrw4xcp","value":"a"}}
Received response: {"msg":"updated","methods":["4"]}
Sending {"id":"5","method":"/TestCollection/update","params":[{"_id":"a5cec637-e855-46cd-9725-01242764e543"},{"$set":{"testfield":"hello"}}],"msg":"method"}
Received response: {"msg":"changed","collection":"TestCollection","id":"a5cec637-e855-46cd-9725-01242764e543","fields":{"testfield":"hello"}}
Sending {"id":"6","method":"/TestCollection/remove","params":[{"_id":"a5cec637-e855-46cd-9725-01242764e543"}],"msg":"method"}
Received response: {"msg":"result","id":"6"}
Received response: {"msg":"removed","collection":"TestCollection","id":"a5cec637-e855-46cd-9725-01242764e543"}
Received response: {"msg":"updated","methods":["6"]}
The library is in a good enough state (not quite as well done as the ObjectiveDDP library but getting there) to try writing a native Android app for the Parties example now...will post again when that's working :-)