realm/realm-android-adapters

Realm freeze if no connection during begintransaction();

ivanicsjozsef94 opened this issue · 1 comments

I'm using realm to store data. It works fine when there is internet connection. But it freeze at this line:
realm.beginTransaction() if there is no internet connection or Wifi and 4G is turned off.

I'm using the newest version of realm and realm adapters but it is not working.

Version of Realm and tooling

Realm version(s): ?

  • project gradle: classpath "io.realm:realm-gradle-plugin:5.1.0"
  • application gradle: implementation 'io.realm:android-adapters:2.1.1'

Android Studio version: ?

  • Android Studio 3.1.2

Which Android version and device: ?
Tested on LG G4 - Android 6.0

I moved this issue to realm-java :)