-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for RealmConfiguration.initialRealmFile()
#577
Comments
We have seen reports in Realm Java indicating corrupt files in combination with asset files. We cannot definitely point to assetfiles being the root cause of this, but it would make sense to support an overload that accept a checksum of the file, so we can ensure that the file shipped is actually also the file copied from the APK, something like |
It the issue still open ? |
@tinoue Yes, the issue is still open and is currently been worked on. The convention around placing the files in the source project is a bit tricky due to varying conventions on the various platforms, so there is unfortunately no ETA. The linked docs seems off. I will file an issue to fix that, thanks. |
RealmConfiguration.assetFile()
RealmConfiguration.initialRealmFile()
Similar to Realm Java we should support shipping bundled Realm files.
Proposed API:
Since bundling files are different across platforms, this might be slightly tricky to do across all platforms, e.g. JAR's don't come with a build-in mechanism.
The text was updated successfully, but these errors were encountered: