Open rolznz opened 7 months ago
I think we should fire to both the window and window.opener. This will work with React Native / cases where the new app page is opened from a parent window and not a popup.
See https://github.com/getAlby/nostr-wallet-connect/blob/main/views/apps/create.html#L76
A temporary hack for consumers is to execute this line in the window that opens the new NWC connection page: window.opener = window
window.opener = window
I think we should fire to both the window and window.opener. This will work with React Native / cases where the new app page is opened from a parent window and not a popup.
See https://github.com/getAlby/nostr-wallet-connect/blob/main/views/apps/create.html#L76