forked from digitalbazaar/jsonld-signatures
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Dependancy isomorphic-webcrypto
not compatible with latest React Native
#9
Comments
Looks like this is what Sphereon is doing: https://github.com/Sphereon-Opensource/mobile-wallet/blob/f01fe0b6580d2affa0ffc5f0031a737e0b6ecfdb/package.json#L294 package.json "resolutions": {
"**/isomorphic-webcrypto": "link:./node_modules/@sphereon/isomorphic-webcrypto",
} |
Confirmed working:
package.json
|
Switched to latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The dependency
isomorphic-webcrypto
is not compatible with the latest React Native v0.73+ and still depends on the old@unimodules/core
and@unimodules/react-native-adapter
.See article here explaining the upgrade: https://dev.to/wbroek/migrate-from-react-native-unimodules-to-expo-modules-25c6
This change has broken when I upgraded from expo v49 (React Native 0.72) to v50 (RN 0.73)
This is causing build errors in upstream repositories that are using the latest RN/expo
Steps to reproduce
Problem
This is then causing build errors in EAS:
Run Gradel step
Environment
Local build environment
EAS Expo build environment
Using image "ubuntu-22.04-jdk-17-ndk-25.1.8937393" based on "ubuntu-2204-jammy-v20220810"
Installed software:
Possible solutions
Try using
@sphereon/isomorphic-webcrypto
instead? Perhaps this is better.The text was updated successfully, but these errors were encountered: