Veramo react native tutorial (Setup & Identifiers) on veramo.io does not work #792
andra961
started this conversation in
Documentation
Replies: 1 comment 3 replies
-
Thank you for reporting this! You are right, the react native guide is a bit outdated. You are not doing anything wrong, quite the opposite, in fact :) We're a very small team with a very large number of libraries under maintenance. This helps a lot! Would you like to contribute a PR with these fixes to the docs ? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i'd like to point out the problems i had by following precisely each step in the following tutorial (i use a pixel 2 android emulator).
SecretBox
import is missing (i solved with the auto import from vs code)Require cycle: node_modules\react-native-crypto\index.js -> node_modules\react-native-randombytes\index.js -> node_modules\sjcl\sjcl.js -> node_modules\react-native-crypto\index.js
(didn't find a way to fix this)CREATE IDENTIFER
button in the app, i get the follwing error:ReferenceError: Can't find variable: TextEncoder
I fixed the error by adding:
import 'text-encoding';
in theindex.js
file of the app but i was very lucky to figure that out.My question is: am i making some mistakes in the setup or is the the tutorial just missing the fixes i had to make?i'd also like to know if the warning can somehow be avoided or if it's just inevitable. Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions