-
Notifications
You must be signed in to change notification settings - Fork 201
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
[2.1.0] TypeError: undefined is not a function, js engine: hermes #251
Comments
@Bardiamist - Thanks for the report here and apologies for the trouble. Can you give us a bit more to go on here? Possibly sample code that's causing the issue or a line number where that error is coming from? |
That error occurs only if Hermes is enabled. Minimum steps to reproduce:
I see Please fix it. Hermes is very good thing and will enabled by default in future. |
@Bardiamist I've downgraded to 2.0.0 for hermes support. |
For the record:
|
hmmm @2.1.0 is not going to work either. jsrsasign is a dependency 2.1.0
2.0.0
|
@Widcket can you take a look at this please |
Thanks everyone for the information. This issue is in our radar, and we’re currently evaluating options. |
Having the same problem with 2.1.0. Only downgrading to 2.0.0 fixed it |
@Bardiamist & all, I've put a PR that replaces jsrsasign. I've tested it and an Hermes enabled app works fine now. We'll be making a new release next week but in the meantime I'd love you have your feedback. You can try the branch code by installing the package this way:
|
I checked, that works for my application. |
Thanks a lot :) |
where to |
can you send vedio about this error sulation |
Hi, the issue still persists for my application |
I have error
TypeError: undefined is not a function, js engine: hermes
after update from2.0.0
to2.1.0
. Only on Android and only if Debug is off.Update: release apk also crash on start.
Minimum steps to reproduce:
react-native init
(I tested on version 0.61.2 and 0.61.3 version)import 'react-native-auth0';
The text was updated successfully, but these errors were encountered: