diff --git a/packages/app-mobile/plugins/PluginRunner/PluginRunner.ts b/packages/app-mobile/plugins/PluginRunner/PluginRunner.ts index 3add4668b..7d96fa0c8 100644 --- a/packages/app-mobile/plugins/PluginRunner/PluginRunner.ts +++ b/packages/app-mobile/plugins/PluginRunner/PluginRunner.ts @@ -35,7 +35,7 @@ export default class PluginRunner extends BasePluginRunner { const messageChannelId = `plugin-message-channel-${pluginId}-${Date.now()}`; const messenger = new RNToWebViewMessenger( - messageChannelId, this.webviewRef.current, { api: pluginApi, onError, onLog }, + messageChannelId, this.webviewRef, { api: pluginApi, onError, onLog }, ); this.messageEventListeners.push((event) => {