I have download the demo here :
https://github.com/couchbaselabs/TodoLite-iOSand then i found that . i can sync my local data with basicAuth ,even the user and pwd is wrong ,such as "userid: test ,pwd:"test-pwd"" , it will also sync local data to my server.
so ,how to fix it ???
By the way ,i have another question. i have a create new user api on my old server api. and in this new project . i want to auto create a couchbase "channels"(such as "C-uuid") when user login/register. and then if user sync local data, it will push to these "channels".
I mean every user will have own couchbase channel. how to do that ? at this time . sync auth not work now. so anybody can help me ?
Thanks