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

[BUG] TypeError: undefined is not an object (evaluating 'cyptoObj.getRandomValues') - Looks to be an issue with the power bi client library when running on IOS. #239

Closed
S-J-D-13 opened this issue May 28, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@S-J-D-13
Copy link

I am getting the above error when trying to use the package. See full message:

IMG_0607

I am fairly new to react native so it probably my fault but I have followed the documentation and can't find out how to fix as it is part of the dependency not my code?

@S-J-D-13 S-J-D-13 added the bug Something isn't working label May 28, 2020
@akshay5995
Copy link
Owner

akshay5995 commented May 28, 2020

Hi @S-J-D-13, It looks like it's an issue with powerbi.js a core dependency of this package. I'm sure it's not a bug of this package.

@akshay5995
Copy link
Owner

Closing as the bug's not related to the library.

@sftsk
Copy link

sftsk commented Jun 26, 2020

The issue seems to have to do with this: react-native-community/discussions-and-proposals#83
The crypto library to generate unique ids is not included in react-native.

This should be a workaround if you are using react-native normally: https://github.com/LinusU/react-native-get-random-values , this might eventually become at a workaround if you work with Expo: expo/expo#7209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants