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] Blurhash.encode crash in ios 0.75.2 by new architecture #197

Closed
llr101 opened this issue Sep 7, 2024 · 5 comments
Closed

[BUG] Blurhash.encode crash in ios 0.75.2 by new architecture #197

llr101 opened this issue Sep 7, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@llr101
Copy link
Contributor

llr101 commented Sep 7, 2024

Bug

Describe the bug

Blurhash.encode crash in ios 0.75.2 by new architecture

To Reproduce
Steps to reproduce the behavior:
Blurhash.encode a local image

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

(Optional) Proposed solution
If you have an idea on how one might fix this bug, please describe it here.

Environment

Additional context
Add any other context or screenshots about the feature request here.

paste the output of `react-native info` here
"react": PASTE_VERSION_HERE,
"react-native": PASTE_VERSION_HERE,
"react-native-blurhash": PASTE_VERSION_HERE
@llr101 llr101 added the bug Something isn't working label Sep 7, 2024
Copy link

Guten Tag, Hans here! 🍻

Thanks for reporting ze issue. However, I need more information to help solve it. Please paste ze output of react-native info including versions of React, React Native, and react-native-blurhash. Also, it would be really helpful to see ze logs from Xcode when ze crash happens. This will help mrousavy understand ze problem better.

Looking forward to your reply!

Note: If you think I made a mistake, please ping @mrousavy to take a look.

@llr101
Copy link
Contributor Author

llr101 commented Sep 7, 2024

"react": 18.3.1,
"react-native": 0.75.2,
"react-native-blurhash": 2.0.3

react native use new architecture

14fb5e779fca64edf0f3620c0928beb7

@mrousavy
Copy link
Owner

mrousavy commented Sep 7, 2024

maybe that needs to be NSNumber* instead of double

@llr101
Copy link
Contributor Author

llr101 commented Sep 7, 2024

@mrousavy I tried, no crash, but no resolve or reject callback in react native. I can’t get image hash

@llr101
Copy link
Contributor Author

llr101 commented Sep 7, 2024

@mrousavy It seems like codegen generate a file with wrong params name and type. #198

@llr101 llr101 closed this as completed Sep 10, 2024
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

2 participants