Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Bridge is not set. This is probably because you've explicitly synthesized the bridge in CodePush, even though it's inherited from RCTEventEmitter

$
0
0

The error I got is this:

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.'

This is how I wrap a React component:

export default CodePush(    {        updateDialog: false,        checkFrequency: CodePush.CheckFrequency.ON_APP_RESUME,        installMode: CodePush.InstallMode.ON_NEXT_RESTART    },)(App);

Anyone know how to fix ?


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>