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

setNativeProps is not a function #74

Open
sawankumar1012 opened this issue Jul 24, 2024 · 7 comments
Open

setNativeProps is not a function #74

sawankumar1012 opened this issue Jul 24, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@sawankumar1012
Copy link

sawankumar1012 commented Jul 24, 2024

Current behaviour

it shows error ERROR TypeError: this._icon.setNativeProps is not a function (it is undefined), js engine: hermes

How to reproduce?

installing and adding the component will reproduce the error

Preview

Screenshot 2024-07-24 at 12 34 51 PM Screenshot 2024-07-24 at 12 38 44 PM
@sawankumar1012 sawankumar1012 added the bug Something isn't working label Jul 24, 2024
@amelongo
Copy link

@sawankumar1012 @RichardLindhout

I have this exact issue and I really don't know how to resolve it. It seems the component is out of sync with the "react-native-vector-icons" library. When I remove the 'icon' prop from the TabScreen component, this error goes away; however, I would really much want to have the icons.
Any update on this?

@stefano-vergani
Copy link

Same problem here ... any up?

@cankilinc
Copy link

same problem

@RichardLindhout
Copy link
Member

We don't use setNativeProps? Maybe somewhere in a dependency e.g. react native paper?

@RichardLindhout
Copy link
Member

#65

@RichardLindhout
Copy link
Member

Somebody got time for a PR. I'm really busy right now unfortunately to get to the bottom of this.

@RichardLindhout
Copy link
Member

For now @expo/vector-icons": "^13.0.0 seems to work according to comments on another issue

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

5 participants