mybigday / react-native-media-meta

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

App is crashing only in production #50

Open neon010 opened 1 year ago

neon010 commented 1 year ago

I am using this package to get video meta data . App was working fine in debug mode but in release it is crashing.Below is the log i got from adb logcat.

04-15 17:10:11.509 4536 4617 E AndroidRuntime: java.lang.NoClassDefFoundError: failed for class wseemann.media.FFmpegMediaMetadataRetriever; see exception in other thread 04-15 17:10:11.509 4536 4617 E AndroidRuntime: at com.mybigday.rnmediameta.RNMediaMeta.getMetadata(Unknown Source:21) 04-15 17:10:11.509 4536 4617 E AndroidRuntime: at com.mybigday.rnmediameta.RNMediaMeta.access$000(Unknown Source:0) 04-15 17:10:11.509 4536 4617 E AndroidRuntime: at com.mybigday.rnmediameta.RNMediaMeta$a.run(Unknown Source:8)

below is the version of react native. "react": "18.2.0", "react-native": "0.71.5", "react-native-media-meta": "^0.0.11",

It will be great if someone help me out