Sharing Realm instance between React Native and Android
问题 I'm working on a React Native project that uses Realm for React Native. It works without problems but now, I am faced with a problem of writing Android Service that would use the same Realm instance. Is it possible and how would I do that? 回答1: I think you can communicate from Java to React Native through Native Modules and do your Realm-related code in Javascript as you normally would. Otherwise, Realm for Android's multi-process support for non-encrypted Realms will arrive in Realm-Java 2.0