secretkeylabs / sats-connect

Sats connect is a simple javascript library that connects apps to Bitcoin wallets
https://www.npmjs.com/package/sats-connect
82 stars 33 forks source link

Is it compatible with iframes? #56

Open chejun3 opened 5 months ago

chejun3 commented 5 months ago

On the Xverse app's browser for iPhone, it seems that getAddress cannot be called from an iframe. However, using the exact same code, I am able to call getAddress from a PC. Version 1.3.0.

victorkirov commented 1 month ago

Hi

I think we only inject the provider on the parents site on mobile. On desktop, Chrome injects the provider into every site automatically.

What is the use case for accessing it via iFrame?