Shouldn't run Realm transactions/queries on the UI thread
From review by Realm engineering team:
RealmDataSource run transactions and queries on the UI thread. This could potentially block the UI, and is bad practise when using Sync.
@am-MongoDB where should the transactions and queries run?
They should be run in a worker thread
@Sheeri @am-MongoDB On Android we use Kotlin. We can easely start using Coroutines.. Are you agree with it?
If coroutines are the correct way to ensure that slow operations don't block the UI, then yes, let's use them
@lebedynskyi I am also OK with coroutines. Does that unblock this ticket?
@Sheeri in General no. We are waiting for native support of Realm SDK