Skip to content
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

Encrypted realm example #53

Open
w0aw opened this issue Jun 12, 2023 · 2 comments
Open

Encrypted realm example #53

w0aw opened this issue Jun 12, 2023 · 2 comments

Comments

@w0aw
Copy link

w0aw commented Jun 12, 2023

Can someone forward me to some examples of using encrypted realm with more than 2 models in it.
Thank you.

I hope i am on right place

@desistefanova
Copy link
Contributor

Hi @maipal-oscoy!
You can take a look at our tests, which are testing the encryption. You can take any of this samples and just can pass encryptionKey argument to the Configuration constructor.
Here are the tests https://github.com/realm/realm-dart/blob/410c95a1e3983e1c7fde318073a2078f0677e41a/test/realm_test.dart#L960
There is no difference if you have one, two or more models.

@w0aw
Copy link
Author

w0aw commented Jun 12, 2023

Thank you.
I am here because of this

I am using getx state management tools and i am thinking of using realm for local persistent , because it offers best encryption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants