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

Can not access Realm that was closed error for iPad only #6937

Open
parthyorkie opened this issue Nov 26, 2024 · 0 comments
Open

Can not access Realm that was closed error for iPad only #6937

parthyorkie opened this issue Nov 26, 2024 · 0 comments

Comments

@parthyorkie
Copy link

How frequently does the bug occur?

Sometimes

Description

Hi there,

I'm encountering an issue in my live application where I randomly receive the following errors on iPad only:

"Cannot access Realm that has been closed"
This issue occurs intermittently, sometimes specifically on tablet devices.

I am using the following versions of dependencies:

realm: ^12.8.1
react: 18.2.0
react-native: 0.74.1

Could you provide any insight into the possible causes of these issues? Specifically:

Has there been any deprecation or breaking change in recent updates that might cause this behavior?
Are there any known issues with Realm instances being closed or objects being invalidated on React Native or tablet environments?
What are the recommended best practices for handling Realm instances and ensuring data integrity in these cases?
Any guidance or potential solutions would be greatly appreciated!

Thanks in advance for your help.

Best regards,
parth

Stacktrace & log output

No response

Can you reproduce the bug?

Sometimes

Reproduction Steps

No response

Version

12.8.1

What services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

iOS version 18.1

Build environment

Which debugger for React Native: ..

Cocoapods version

No response

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

1 participant