react-native-media-meta icon indicating copy to clipboard operation
react-native-media-meta copied to clipboard

undefined is not an object (evaluating 'RNMediaMeta.get')

Open jose920405 opened this issue 7 years ago • 7 comments

"react-native": "^0.51.0", "react-native-media-meta": "^0.0.10",

My implementation

MediaMeta.get('content://media/external/images/media/986')
      .then(metadata => console.log('HERE METADATA ', metadata))
      .catch(err => console.error(err));

jose920405 avatar Jan 19 '18 21:01 jose920405

I have the same problem,Have you solved it?

zhoujinzong avatar Mar 05 '19 03:03 zhoujinzong

Any One there to solve this error for never version of React-Native

surenderkhowal avatar Apr 29 '19 07:04 surenderkhowal

I'm also getting an error like this, i get

 Possible Unhandled Promise Rejection (id: 0)
TypeError: null is not an object (evaluating 'RNMediaMeta.get')

b42thomas avatar Aug 05 '19 18:08 b42thomas

I got it to work after removing the dev app from my phone and rebuilding it.

I think anytime you add a react-native module you need to rebuild your native source code

b42thomas avatar Aug 05 '19 19:08 b42thomas

Resolved

isohanvanani avatar Oct 19 '19 13:10 isohanvanani

Hi, I'm having the same exact problem as above. Couldn't solve with any of the listed steps.

Currently using "react-native": "0.64.3" and "react-native-media-meta": "^0.0.11"

Would appreciate any help!

codeMagic122 avatar Mar 01 '22 18:03 codeMagic122

I have the same problem I have create the podspec file but I am still having trouble as anyone resolved this isssue

sir-george2500 avatar Jan 22 '23 14:01 sir-george2500