-
-
Notifications
You must be signed in to change notification settings - Fork 902
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
React-native: uuid not working when debugger is disabled #531
Comments
Did you follow the documentation and install |
(@ctavan Am I missing something here? Is |
Oops. I stopped reading the example code after import 'react-native-get-random-values';
import { v4 as uuidv4 } from 'uuid'; Just like in the documentation: https://github.com/uuidjs/uuid#react-native--expo |
@ghasemikasra39 are you still experiencing this issue? If so please feel free to reopen this issue. |
you can downgrade to 3.3.3 |
Describe the bug
In my react-native application, I am using:
The uuid get generated successfully when the app is running on
debug
mode (The debugger is enabled). However, if you turn off the debugger, it does not work, as soon as the app reachesuuidv4()
line of code, it stops there without any error in the console.How to reproduce
npx react-native init AwesomeProject
yarn install uuid
ctrl + d
to open the developer menu, selectDebug
Expected behavior
The app should work as normal in both
debug
mode being enabled and disabled.Runtime
Additional information
[Any other information or comments that you think will help]
The text was updated successfully, but these errors were encountered: