mybigday / react-native-media-meta

Get media file metadata in your React Native app
MIT License
83 stars 46 forks source link

Unhandled JS Exception: undefined is not an object (evaluating '_reactNativeMediaMeta2.default.get') #8

Open vvkaghera opened 7 years ago

vvkaghera commented 7 years ago

simulator screenshot 05-jun-2017 12 44 05 pm I am using your lib for getting thumbnail from local video, I have URI like this "file:///Users/xyz164/Library/Developer/CoreSimulator/Devices/6332F702-2D51-4451-86DD-5CF87EC2FF8E/data/Containers/Data/Application/C9438FBF-4FAA-4120-80EC-28D1568105E9/Documents/trim.AAF142E3-7318-4685-83F3-0E1E63E929A9.MOV" and pass to your class and getting error ios.

Please help me out.

jhen0409 commented 7 years ago

Do you successfully linked the iOS native module?

react-native link react-native-media-meta
vvkaghera commented 7 years ago

@jhen0409 Yes, I have linked the iOS native module properly.

Ilario17 commented 6 years ago

@vvkaghera have you solved this issue?

rkostrab commented 6 years ago

Just remove prefix file:// from your path.