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

Error While Updating property 'nativeID' of a view managed by:RCTView -java.lang.Double cannot be cast to java.lang.String #16

Open
TolaAbiodun opened this issue Nov 6, 2023 · 0 comments

Comments

@TolaAbiodun
Copy link

** This error is targeted towards Android devices.

The id prop of the data prop takes in a string instead of number as stipulated in the docs and example e.g

export const pickupLocations: ICheckboxButton[] = [ { id: 0, text: 'Here is a sample text', iconStyle: _iconStyle(color), }

The above results to an error. However, changing id's value to "0" resolves this problem.

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

1 participant