Я получил следующую ошибку:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error when sending event: CodePushDownloadProgress with body: {
receivedBytes = 1965637;
totalBytes = 1965637;
}. Bridge is not set. This is probably because you've explicitly synthesized the bridge in CodePush, even though it's inherited from RCTEventEmitter.'
Вот как я обертываю компонент React:
export default CodePush(
{
updateDialog: false,
checkFrequency: CodePush.CheckFrequency.ON_APP_RESUME,
installMode: CodePush.InstallMode.ON_NEXT_RESTART
},
)(App);
Кто-нибудь знает, как исправить?