React Native App build using lib-jitsi-meet library lags when i build a apk with the offline bundle but works fine when the app is running on development server

I have made a react native app using lib-jitsi-meet and it works smoothly on development server but when i made an offline bundle of js for ios and android the app started lagging and connection was lagging too.
I have removed all the console logs from the app, still it is laggy.

I solved it by removing all logs from the app and also removing componentWillMount and putting my code in componentDidMount.