realm / realm-core

Core database component for the Realm Mobile Database SDKs
https://realm.io
Apache License 2.0
1.02k stars 165 forks source link

Fallback to anonymous pipes when named pipes are not allowed #5267

Open clementetb opened 2 years ago

clementetb commented 2 years ago

Describe your problem or use case

Realm is not compatible with Android Instant Apps, it crashes on startup. It is caused because named pipes are not allowed by SELinux. We have tested that anonymous pipes are allowed though.

Describe the solution you'd like

We would like to have a seamless runtime fallback mechanism to use anonymous pipes for the scenarios where, like on Instant Apps, named pipes are not allowed.

clementetb commented 2 years ago

Closes realm/realm-java#7640