Missing Restart Connection after network error stopped it code example

Description

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

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

Activity

Show:
Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Ian Bridge

Reporter

Page URL

Story Points

Components

Fix versions

Affects versions

Due date

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

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