Pendo app in iframe
We configured pendo and it works perfectly in our SPA but when we try to use it inside other app via iframe we get an error
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://url-1') does not match the recipient window's origin ('https://url-2')
The problem comes from announceFrameToDesignerPlugin method where it tries to use posteMessage on window.parent which is pointed to parent window with different url.
Parent app also has its own pendo instance.
2
Comments
In the application's settings, there is a Prefer BroadcastChannel for multi-frame support setting. Disabling this should resolve the issue.
Please sign in to leave a comment.