Missing Restart Connection after network error stopped it code example
Description
Environment
*Location*: https://docs.couchbase.com/couchbase-lite/current/csharp/learn/csharp-replication.html
*Referrer*: https://docs.couchbase.com/couchbase-lite/current/csharp/learn/csharp-landing-replications.html
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36
*Screen Resolution*: 1920 x 1080
Release Notes Description
None
relates
Activity
Show:
Won't Fix
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Reporter
molinagonzalez.jose@gmail.com
molinagonzalez.jose@gmail.comPage URL
Story Points
2
Components
Fix versions
Affects versions
Due date
Jan 28, 2022
Priority
Major
Instabug
Open Instabug
PagerDuty
PagerDuty Incident
PagerDuty Incident
Sentry
Linked Issues
Linked Issues
Zendesk Support
Linked Tickets
Linked Tickets
Created February 5, 2021 at 2:43 PM
Updated September 19, 2023 at 6:50 PM
Resolved September 19, 2023 at 6:50 PM
Instabug
I think would be useful to have a code example about how to implement a replication status change listener that programmatically reconnect the replication to Sync Gateway in case it receives an error that stops the replication.
In the documentation we can see a Handling Network Errors and the Initialize Replication section but we don't find an example combining both.
Reporter: Jose Molina Gonzalez
E-mail: jose.molina@couchbase.com