I’m trying to push some changes to the sync gateway from an app extension. I’m using the REST api to POST {continuous: false, doc_ids: docIds} but the changes aren’t reaching the server. The call to post returns but nothing happens.
Just to clarify, are you trying to push replicate from an iOS app extension to sync_gateway?
You could try capturing the HTTP packets to see the exact exchange that is taking place and compare that to the same replication run from within an iOS App.
Yes, the app extension can write to the database fine. I’ve put it in a shared area. It’s just replication that doesn’t seem to work in the app extension.