Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

JSON value of type NSNull cannot be converted to NSString in react native

$
0
0

I keep getting this issue when I land on the home screen on my app, I'm not 100% why the issue is happening or what could be the cause. I've tried to google this but haven't found anything helpful that could guide me in the right path.

Screenshot of the error

Think it's happening somewhere in this code:

const InstaagramEmpty = () => <InstagramUsersEmpty text="No matching users found" />const InstagramUserItem = (props: { onSelect: () => void, user: InstagramUser }) => {    //TOOD: user button    return <AccountContainer onPress={props.onSelect}><AccountImage source={{ uri: props.user.photoUrl }} /><Text text={props.user.username} /></AccountContainer>}// Brinds image/text togetherconst SelectionContainer = styled(Row)` `const SelectionClear = styled(ButtonIcon)`    width:45px;    height:45px; `const InstagramUserSelection = (props: { onSelect: () => void, user: InstagramUser }) => {    return <Row drop><SelectionContainer><AccountImage source={{ uri: props.user.photoUrl }} /><Text text={props.user.username} /></SelectionContainer><SelectionClear icon={IconClose} iconTint={Colors.GreyDark} onPress={props.onSelect} /></Row>}

Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>