Skip to content
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

Can not create more than one identifier #6

Open
ismapolis opened this issue Nov 13, 2023 · 0 comments
Open

Can not create more than one identifier #6

ismapolis opened this issue Nov 13, 2023 · 0 comments

Comments

@ismapolis
Copy link

Hello, I was following this tutorial about react-native . When testing the app I came across the error below . Once the app is loaded on my phone I can create one identifier without problems, but when i click again that warning appears and no more identifiers are created. And in order to create more I have to reload the whole app. The code I am using is a clone from this repo.

WARN  Possible Unhandled Promise Rejection (id: 0):
TypeError: undefined is not a function
TypeError: undefined is not a function
   at getRandomBase64 (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:102432:65)
   at getRandomValues (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:102453:33)
   at randomBytes (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:175047:27)
   at ?anon_0_ (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:192163:60)
   at next (native)
   at asyncGeneratorStep (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4632:26)
   at _next (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4651:29)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4656:14)
   at tryCallTwo (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:61:9)
   at doResolve (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:216:25)
   at Promise (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:82:14)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4648:25)
   at apply (native)
   at createKey (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:192186:34)
   at ?anon_0_ (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:128011:47)
   at next (native)
   at asyncGeneratorStep (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4632:26)
   at _next (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4651:29)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4656:14)
   at tryCallTwo (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:61:9)
   at doResolve (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:216:25)
   at Promise (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:82:14)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4648:25)
   at apply (native)
   at keyManagerCreate (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:128028:41)
   at ?anon_0_ (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:111152:50)
   at next (native)
   at asyncGeneratorStep (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4632:26)
   at _next (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4651:29)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4656:14)
   at tryCallTwo (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:61:9)
   at doResolve (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:216:25)
   at Promise (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:82:14)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4648:25)
   at apply (native)
   at execute (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:111162:32)
   at ?anon_0_ (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:111119:35)
   at next (native)
   at asyncGeneratorStep (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4632:26)
   at _next (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4651:29)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4656:14)
   at tryCallTwo (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:61:9)
   at doResolve (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:216:25)
   at Promise (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:82:14)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4648:25)
   at apply (native)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:111122:32)
   at ?anon_0_ (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:164451:57)
   at next (native)
   at asyncGeneratorStep (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4632:26)
   ... skipping 30 frames
   at ?anon_0_ (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:111119:35)
   at next (native)
   at asyncGeneratorStep (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4632:26)
   at _next (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4651:29)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4656:14)
   at tryCallTwo (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:61:9)
   at doResolve (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:216:25)
   at Promise (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:82:14)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4648:25)
   at apply (native)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:111122:32)
   at ?anon_0_ (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:101027:54)
   at next (native)
   at asyncGeneratorStep (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4632:26)
   at _next (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4651:29)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4656:14)
   at tryCallTwo (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:61:9)
   at doResolve (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:216:25)
   at Promise (/Users/kudo/01_Work/Repos/expo/expo/android/versioned-react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/5a4n485h/x86/lib/InternalBytecode/InternalBytecode.js:82:14)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:4648:25)
   at apply (native)
   at createIdentifier (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:101035:27)
   at onPress (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:101065:38)
   at _performTransitionSideEffects (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:62258:22)
   at _receiveSignal (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:62214:45)
   at onResponderRelease (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:62081:34)
   at apply (native)
   at invokeGuardedCallbackProd (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:62660:21)
   at apply (native)
   at invokeGuardedCallback (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:62746:42)
   at apply (native)
   at invokeGuardedCallbackAndCatchFirstError (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:62749:36)
   at executeDispatch (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:62813:48)
   at executeDispatchesInOrder (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:62830:26)
   at executeDispatchesAndRelease (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:63936:35)
   at executeDispatchesAndReleaseTopLevel (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:63943:43)
   at forEach (native)
   at forEachAccumulated (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:63272:22)
   at runEventsInBatch (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:63954:27)
   at runExtractedPluginEventsInBatch (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:64013:25)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:63994:42)
   at batchedUpdates$1 (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:74584:20)
   at batchedUpdates (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:63925:36)
   at _receiveRootNodeIDEvent (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:63993:23)
   at receiveTouches (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:64036:34)
   at apply (native)
   at __callFunction (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:2821:36)
   at anonymous (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:2582:31)
   at __guard (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:2772:15)
   at callFunctionReturnFlushedQueue (http://10.236.27.214:19000/node_modules/expo/AppEntry.bundle//&platform=android&dev=true&hot=false:2581:21)


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant