From 26723b8d94a4b06afd25f444809807bfea9d9b8f Mon Sep 17 00:00:00 2001 From: Christian Melchior Date: Mon, 26 Nov 2018 13:26:09 +0100 Subject: [PATCH] Fix missing method (#2130) --- CHANGELOG.md | 2 +- lib/browser/index.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea78ad93..24754ff9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ x.x.x Release notes (yyyy-MM-dd) * None. ### Fixed -* ([#????](https://github.com/realm/realm-js/issues/????), since v?.?.?) +* `_initializeSyncManager` missing when debugging React Native. Resulted in messages like `realmConstructor.Sync._initializeSyncManager is not a function` ([#2128](https://github.com/realm/realm-js/issues/2128), since v2.20.0) * None. ### Compatibility diff --git a/lib/browser/index.js b/lib/browser/index.js index 254795ef..09ad5e11 100644 --- a/lib/browser/index.js +++ b/lib/browser/index.js @@ -132,7 +132,8 @@ util.createMethods(Realm.prototype, objectTypes.REALM, [ 'close', '_waitForDownload', '_objectForObjectId', - '_asyncOpen' + '_asyncOpen', + '_initializeSyncManager' ]); // Mutating methods: