diff --git a/app/react-native/src/manager/provider.js b/app/react-native/src/manager/provider.js index f1e541c3cf47..4ac052ac9c0b 100644 --- a/app/react-native/src/manager/provider.js +++ b/app/react-native/src/manager/provider.js @@ -10,7 +10,11 @@ export default class ReactProvider extends Provider { super(); this.options = options; this.selection = null; - this.channel = addons.getChannel(); + try { + this.channel = addons.getChannel(); + } catch (err) { + this.channel = undefined; + } const secured = options.secured; const websocketType = secured ? 'wss' : 'ws';