diff --git a/packages/openchs-android/package.json b/packages/openchs-android/package.json index dcc838277..da2adc862 100644 --- a/packages/openchs-android/package.json +++ b/packages/openchs-android/package.json @@ -58,7 +58,7 @@ "lodash": "4.17.21", "moment": "2.29.4", "native-base": "3.4.9", - "openchs-models": "1.31.39", + "openchs-models": "1.31.41", "prop-types": "15.8.1", "react": "18.2.0", "react-native": "0.72.3", diff --git a/packages/openchs-android/src/GlobalContext.js b/packages/openchs-android/src/GlobalContext.js index 49dacc56e..0c01d849f 100644 --- a/packages/openchs-android/src/GlobalContext.js +++ b/packages/openchs-android/src/GlobalContext.js @@ -27,7 +27,6 @@ class GlobalContext { async initialiseGlobalContext(appStore, realmFactory) { this.db = await realmFactory.createRealm(); - this.db.realmDb.compact(); this.beanRegistry.init(this.db); this.reduxStore = appStore.create(this.beanRegistry.beansMap); this.beanRegistry.setReduxStore(this.reduxStore);