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

Fix types of createBlurhashFromImage #193

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

janicduplessis
Copy link
Collaborator

Those are supposed to be Ints and not Doubles, this fixes compilation with new arch enabled since codegen generates the types with Int.

@mrousavy
Copy link
Owner

Hey Mr. Duplessis - thanks for your PR my G!

CI fails unfortunately, looks like it still generated an abstract class that takes Doubles?

Screenshot 2024-06-24 at 09 25 27

@janicduplessis
Copy link
Collaborator Author

Maybe something changed in codegen, example is on 0.73 and my all where I tested new arch is 0.74. Are u ok to only support 0.74 for new arch?

@mrousavy
Copy link
Owner

yup that's fine! we upgrade the example then

@mrousavy mrousavy merged commit 06d5a40 into mrousavy:master Jun 24, 2024
4 of 5 checks passed
@janicduplessis janicduplessis deleted the @janic/fix-types branch June 24, 2024 18:26
@janicduplessis
Copy link
Collaborator Author

Good! I can update the example in a follow up

@mrousavy
Copy link
Owner

Is it okay if I wait with the release until the example works?

@janicduplessis
Copy link
Collaborator Author

Sure!

janicduplessis added a commit to janicduplessis/react-native-blurhash that referenced this pull request Jul 30, 2024
mrousavy pushed a commit that referenced this pull request Jul 30, 2024
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

Successfully merging this pull request may close these issues.

2 participants