Php sdk and sync_gateway


#1

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?

thanks


#2

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: https://docs.couchbase.com/sync-gateway/2.1/shared-bucket-access.html