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

[ios] Crash after reloading app when using with other jsi libs #190

Open
BubbleTrouble14 opened this issue Sep 19, 2023 · 7 comments
Open

Comments

@BubbleTrouble14
Copy link

I've noticed a problem when using react-native-quick-crypto with other libraries that also use jsi and the TypeArray class in c++. It only seems to be a problem on ios. Launching the app works fine, but once you refresh it instanlty crashes. One also has to call some function which is provied by the react-native-quick-crypto library. The libray works fine on its own without crashes. But as soon as I add something like react-native-blob-jsi-helper or rreact-native-random-values-jsi-helper it will cause the crashing. One doesnt have to add any function from the other libraries, just add them as a package. I've provided a repo to make it easy to reproduce. (https://github.com/BubbleTrouble14/crash). To test just add or remove the "react-native-random-values-jsi-helper" package.

error.log

@grenos
Copy link

grenos commented Oct 19, 2023

We're seeing the same issue. Here is the log if it could help.
mglqc.txt

@kyunkakata
Copy link

Same issue. What should we do?

@BubbleTrouble14
Copy link
Author

It only crashes in development so, i just used android instead for most of the time, or just disabled the other lib causing it to crash and filled it with dummy data for the time being.

@kyunkakata
Copy link

kyunkakata commented Oct 20, 2023

My application suffers crashes from Production build if import this library. Can you show me how to fix it?
I am using React Native version 0.66.5 without enable Hermes. @BubbleTrouble14

@kyunkakata
Copy link

On Android, everything is normal.

@kyunkakata
Copy link

We are using many libs using JSI like react-native-mmkv, react-native-keys, react-native-random-values-jsi-helper, ...etc. So I cannot disable other libs.

@BubbleTrouble14
Copy link
Author

I see :/ I already asked in the discord,he said he may know a way to fix it. But think he's been very bust with the vision camera.

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

3 participants