question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invariant Violation [923, "RCTImageView" ... ] is not usable as a native method argument

See original GitHub issue

Expected Behavior

To Render The Masonry Images

Current Behavior

Breaks Down

Context (Environment)

1- react v16.6.3 2- react-native v0.58.1 react-native-masonry v^0.5.0-alpha.3

All I want to do is to render a simple Masonry but i keep getting this error image

i pass the images array with additional data like this

[ { uri: 'image_url', description: 'txt' }, { uri: 'image_url', description: 'txt' } ]
<Masonry
     sorted
     columns={ 3 }
     bricks={ props.images }
/>

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:7
  • Comments:32 (7 by maintainers)

github_iconTop GitHub Comments

8reactions
EdisonDevadosscommented, Mar 1, 2019

Help me I also facing the same error.

    "react": "16.6.3",
    "react-native": "0.58.6",
6reactions
cocadevcommented, Oct 3, 2019

Please focuse correct id. It will work perfectly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invariant Violation: is not usable as a native method argument
I found this looking for a similar problem. It says that the error could be in the format of your date, due the...
Read more >
React Native, 'is not usable as a native method argument'
Coding example for the question React Native, 'is not usable as a native method argument'-React Native.
Read more >
master · Dhamodharan S / chit-chat-react-native · GitLab
... 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914...
Read more >
Problem setting position of an element with dynamic styling
... Invariant Violation: [27,"RCTView",{"top":-603.3333282470703,"left":-25.333328247070312}] is not usable as a native method argument.
Read more >
iOS Native Modules
When a native module method is invoked in JavaScript, React Native converts the arguments from JS objects to their Objective-C/Swift object ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found