Closed devsales closed 1 year ago
@devsales, thanks for taking the time to try out our latest v12 alpha release and was able to find a workaround for the issue!
To remove the warnings regarding incorrect peer dependencies, you can also pin the BSON version to 4.4.1 (bson@4.4.1) for now. So yes, this is currently necessary, but we will look into a possible BSON upgrade for our final v12 release.
Thanks again for reporting the issue! 👍
@elle-j cool, thanks for the tip! Btw I switched to v11.8.0 and it is also working with Expo SDK 48.
Very good to know 🙂 Feel free to keep trying out the v12 alpha if you want, we definitely welcome feedback.
How frequently does the bug occur?
Always
Description
I just tried to update the Expo SDK to 48 and according to the compatibility matrix I have to use realm: 12.0.0-alpha.2. So after updating both I'm getting this error when running "expo run:ios"
Here is the list of dependencies:
After installing "bson": "^5.2.0" as a dependency I got it working. But is this necessary?
I also see two warnings when installing bson: warning " > @realm/react@0.4.3" has incorrect peer dependency "realm@^11.0.0-rc || ^11.0.0". warning " > realm@12.0.0-alpha.2" has incorrect peer dependency "bson@^4".
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
0.4.3
What services are you using?
Atlas Device Sync
Are you using encryption?
No
Platform OS and version(s)
iOS 16
Build environment
Which debugger for React Native: ..
Cocoapods version
No response