Skip to content
Discussion options

You must be logged in to vote

Yeah, installing both was the right call. nitro-modules and quick-base64 are real peerDependencies (nitro >=0.31.2, quick-base64 >=3.0.0) with no optional flag, so the lib won't work without them. npm 7+ auto-pulls them on a fresh npm install, but that's not guaranteed: with --legacy-peer-deps nitro-modules didn't get installed for me, so listing all three explicitly like the RN snippet does is the safe move.

The expo plugin is the part you can skip for basic crypto. expo and expo-build-properties are marked optional in peerDependenciesMeta, and the config plugin (app.plugin.js) only does two things: an Xcode 16.x build workaround, and enabling libsodium when you pass sodiumEnabled. So yo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by watadarkstar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants