Open chinamcafee opened 2 months ago
➤ PM Bot commented:
Jira ticket: RJS-2753
This fix would be lovely! If we can do more then providing the already provided reproducibles let us know!
The linked github repo doesn't appear to be using Realm at all. Am I missing something here?
The linked github repo doesn't appear to be using Realm at all. Am I missing something here?
Sorry, I missed a commit and I re-push it to this repo, please pull the lastest code https://github.com/chinamcafee/RealmCrashDemo
After doing some debugging here, the closest to the problem that I got was: With those lines commented, the app stopped crashing, apparently something was wrong with the listener's implementation. Another point is that the clean-ups are not called when reloading.
File path : realm/realm-js/packages/realm-react/src/UserProvider.tsx
Test libs version :
How frequently does the bug occur?
Always
Description
I have created an demo app use create-expo-app template, and import realm package which version is 12.6.2 , other mainly dependecies are
I have push the demo code to github, repo is:
When I reload app press R on terminal or shake phone press "Reload" on developer menu. App crash every time.
And App log as follows:
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
https://github.com/chinamcafee/RealmCrashDemo
Version
12.6.2
What services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Android 14 (Xiaomi HyperOS)
Build environment
Which debugger for React Native: ..
Cocoapods version
No response