react-native: [addon] addon-actions is not working v6.0.21
Describe the bug
A clear and concise description of what the bug is.
crypto.getRandomValues() not supported error in debug mode.
Related issue: https://github.com/uuidjs/uuid/issues/416 Solution: https://github.com/uuidjs/uuid#getrandomvalues-not-supported
To Reproduce
- Use action addon
- trigger action addon
- boom
Expected behavior no error
Screenshots
If applicable, add screenshots to help explain your problem.

Code snippets If applicable, add code samples to help explain your problem.
import {action} from '@storybook/addon-actions'
...
<Button onPress={action('onPress')} />
System: No related
Additional context
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 16 (8 by maintainers)
Works as expected with 7.6.0-alpha-6, thank you very much! 😃
@simonadenic you need to use the alpha version of storybook, i.e not 7.5.3, you would use the latest alpha for 7.6. We added a fix in the 7.6 alpha recently.
Yes! Thanks @dannyhw !