Php sdk and sync_gateway

Hi to all, i’ve a problem with my mobile app and the web part. I have to create users for the app by the site. I’m usign the db function directly like replace insert ect. But when i try to get them on my mobile app they don’t get viewed by sync_gateway. am i forced to insert and edit this document with sg even in the site version?


Have you enabled the “enable_shared_bucket_access” config option in Sync Gateway?

I recommend reading this document which details sharing data between Couchbase Mobile and Server SDKs: