Error While Updating property 'nativeID' of a view managed by:RCTView -java.lang.Double cannot be cast to java.lang.String
TolaAbiodun opened this issue · 0 comments
TolaAbiodun commented
** 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.