diff --git a/src/pouchdb/getLinks.ts b/src/pouchdb/getLinks.ts index 5ad1d6abe..b4ffe5781 100644 --- a/src/pouchdb/getLinks.ts +++ b/src/pouchdb/getLinks.ts @@ -30,7 +30,17 @@ export const getLinks = (): CozyLink[] => { doctypes: offlineDoctypes, initialSync: true, platform: platformReactNative, - ignoreWarmup: true + ignoreWarmup: true, + doctypesReplicationOptions: Object.fromEntries( + offlineDoctypes.map(doctype => { + return [ + doctype, + { + strategy: 'fromRemote' + } + ] + }) + ) } const stackLink = new StackLink({