We’ve started using version 4 (4.7.1) of Chat SDK in our React Native application. During development everything was working great, but when we’re trying to run Release version of iOS/Android app, it’s crashing right away.
So after debugging, I’ve found out that error comes from Sendbird library
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
Terminating app due to uncaught exception ‘RCTFatalException: Unhandled JS Exception: ReferenceError: Can’t find variable: n’, reason: 'Unhandled JS Exception: ReferenceError: Can’t find variable: n, stack:**