Replies: 1 comment
-
Sorry, that's not possible. Snaps run in a sandbox and have no access to browser globals like window or navigator. The context does not exist for a Snap. We would have to provide an API for a Snap to have access to that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently building a passkeys snap and for that i would require to access those objects, tried accessing them through index.ts but since it is a server, it won't be having them.
Is there any bypass to access window/navigator from the snap dialog context
Beta Was this translation helpful? Give feedback.
All reactions