Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(mobile): disable blob sync on mobile (#9200)

EYHN30588783efc1
diff --git a/packages/common/infra/src/modules/workspace/entities/engine.ts b/packages/common/infra/src/modules/workspace/entities/engine.ts
index 39e5d94bc5..fb6354ccd1 100644
--- a/packages/common/infra/src/modules/workspace/entities/engine.ts
+++ b/packages/common/infra/src/modules/workspace/entities/engine.ts
@@ -37,7 +37,10 @@ export class WorkspaceEngine extends Entity<{
this.eventBus.emit(WorkspaceEngineBeforeStart, this);
this.doc.start();
this.awareness.connect(this.workspaceService.workspace.awareness);
- this.blob.start();
+ if (!BUILD_CONFIG.isMobileEdition) {
+ // currently, blob synchronization consumes a lot of memory and is temporarily disabled on mobile devices.
+ this.blob.start();
+ }
}
canGracefulStop() {