Skip to content

com.facebook.react.bridge.ReadableNativeArray cannot be cast to com.facebook.react.bridge.ReadableMap #4

@Reagankm

Description

@Reagankm

I get this error when I try to use your example:

import { Icon } from 'react-native-gradient-icon';
    <Icon  
        size={50}
        color="black"
        name="github" type="antdesign" />  

I'm already using react-native-vector-icons in my project without an issue and I followed the README directions for installing this package and its dependencies.

Let me know if I can give you any other info that helps

Edit to add: That's the error I get on Android.

On iOS I get this:

JSON value '(
  1,
  Grad
)' of type NSMutableArray cannot be converted to NSDictionary

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions