reown-com / appkit

The full stack toolkit to build onchain app UX
https://reown.com/appkit
Apache License 2.0
4.94k stars 1.41k forks source link

[bug] Blocked a frame with origin "capacitor://localhost" #3232

Open reslear opened 1 week ago

reslear commented 1 week ago

Link to minimal reproducible example

no need

Summary

CleanShot 2024-11-12 at 15 54 43@2x

When attempting to access a frame with origin https://verify.walletconnect.org from a frame with origin capacitor://localhost, the operation is blocked due to a protocol mismatch between the two frames. Specifically, capacitor protocol cannot access resources with the https protocol, causing cross-origin restrictions to prevent the connection.

https://ionicframework.com/docs/troubleshooting/cors

Also added to console

CleanShot 2024-11-12 at 17 06 43@2x

List of related npm package versions

latest