Open wisdomstar94 opened 2 weeks ago
➤ PM Bot commented:
Jira ticket: RJS-2811
I think I need to check it again, so I'll close the issue for now.
Fixed the error reproduction process. Reopen the issue.
Thanks for creating the issue. We do test with the new arch enabled: https://github.com/realm/realm-js/blob/a5e797c802a971bdd1112b95ef8be215186c1f9b/integration-tests/environments/react-native-test-app/package.json#L105-L108
I've just rebased my branch upgrading our test app to 0.74.0 🤞 https://github.com/realm/realm-js/pull/6636
I'm reproducing https://github.com/react-native-maps/react-native-maps/issues/5042 when running our React Native 0.74.0 branch locally 👀 and the stack doesn't seem related to Realm.
I'm reproducing react-native-maps/react-native-maps#5042 when running our React Native 0.74.0 branch locally 👀 and the stack doesn't seem related to Realm.
@kraenhansen Is my issue related to that issue you mentioned? I feel like that issue has suddenly been mentioned.
Is my issue related to that issue you mentioned?
Not directly, but I wanted to share my progress trying to run our library with RCT_NEW_ARCH_ENABLED=1
and React Native 0.74.0 to share that I'm not even able to get our integration test app to the point that you are.
@kraenhansen
I may have misunderstood it because I'm interpreting it while using a translator, To sum up, what you mean is that the issue I posted may not be a matter of realm?
I think we do have an issue, but I was unable to test it using our integration tests because we use React Native Test App which has an issue https://github.com/microsoft/react-native-test-app/issues/2015.
I'll report back as I learn more.
We don't support bridgeless on iOS and I've created https://github.com/realm/realm-js/issues/6653 to track this 👍
@kraenhansen
Thank you for checking.
For whomever stumbles upon this in the near future, reinstating the bridge helps for iOS See https://github.com/reactwg/react-native-new-architecture/discussions/174 and the "Opting-out of Bridgeless" section
How frequently does the bug occur?
Always
Description
Enabling the new architecture of "react native" will result in an error, and if not enabled, no error will occur.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
- How to reproduce for errors
git clone https://github.com/wisdomstar94/react_native_sample_app.git
cd react_native_sample_app
git checkout realmjs-issue
npm i
cd ./ios
bundle install && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
(Source of the above command : https://github.com/reactwg/react-native-new-architecture/blob/main/docs/enable-apps.md#enable-new-architecture-for-ios)npm run ios
- Without a new architecture, errors will not occur.
pod install
npm run ios
Version
12.7.1
What services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Mac M1 14.4.1
Build environment
Which debugger for React Native: ..
Cocoapods version
No response