Skip to content
Snippets Groups Projects
Commit 87c712c7 authored by Volker Richert's avatar Volker Richert
Browse files

upgrade to Realm 2.2.2

parent 073f42ad
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,8 @@ public class UploaderApplication extends Application {
Bugfender.setDeviceString("NightscoutURL", prefs.getString(getString(R.string.preference_nightscout_url), "Not set"));
}
RealmConfiguration realmConfiguration = new RealmConfiguration.Builder(this)
Realm.init(this);
RealmConfiguration realmConfiguration = new RealmConfiguration.Builder()
.deleteRealmIfMigrationNeeded()
.build();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment