lib-jitsi-meet
lib-jitsi-meet copied to clipboard
React native was crash app in release mode
Description
I import this code like bellow:
import './native';
// Re-export JitsiMeetJS from the library lib-jitsi-meet to (the other features
// of) the project jitsi-meet.
//
import JitsiMeetJS from 'lib-jitsi-meet';
export { JitsiMeetJS as default };
Its work fine in debug mode, but when change to release mode its got crash like this:
I belive its come from import lib-jitsi-meet, because when i remove it work fine.
version in package.json: https://github.com/jitsi/lib-jitsi-meet/releases/download/v1498.0.0+bc3aae02/lib-jitsi-meet.tgz
"react-native-webrtc": "1.100.1"
Do you get any more meaningful error in the device red box?
Do you get any more meaningful error in the device red box?
seem like i have found why its happened. When i run npm install, jitsi meet lib in node module so weird, its only has node_modules and dist folder, code inside dist folder so that why when change to release mode its cannot build bundle. But why?
That's not weird at all, since package.json points to the files inside dist