From 4a4f12d4fc74355b2af2cd8fe9a978100484b753 Mon Sep 17 00:00:00 2001 From: Jeffrey Doyle Date: Wed, 7 Aug 2024 16:12:09 -0700 Subject: [PATCH 1/2] PKG -- [fcl] Adds bluetooth to iframe permissions policy --- packages/fcl/src/utils/web/render-frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fcl/src/utils/web/render-frame.js b/packages/fcl/src/utils/web/render-frame.js index 3b3e86697..8ef3ea98f 100644 --- a/packages/fcl/src/utils/web/render-frame.js +++ b/packages/fcl/src/utils/web/render-frame.js @@ -27,7 +27,7 @@ export function renderFrame(src) { const $frame = document.createElement("iframe") $frame.src = src $frame.id = FRAME - $frame.allow = "usb *; hid *" + $frame.allow = "usb *; hid *; bluetooth *" $frame.frameBorder = "0" $frame.style.cssText = FRAME_STYLES document.body.append($frame) From 2b026a944cf79afc21f25a6cfb5cb88b9210c8fb Mon Sep 17 00:00:00 2001 From: Jeffrey Doyle Date: Wed, 7 Aug 2024 16:14:36 -0700 Subject: [PATCH 2/2] PKG -- [fcl] Adds bluetooth to iframe permissions policy --- .changeset/unlucky-paws-wonder.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/unlucky-paws-wonder.md diff --git a/.changeset/unlucky-paws-wonder.md b/.changeset/unlucky-paws-wonder.md new file mode 100644 index 000000000..d233003fd --- /dev/null +++ b/.changeset/unlucky-paws-wonder.md @@ -0,0 +1,5 @@ +--- +"@onflow/fcl": patch +--- + +Adds bluetooth to iframe permissions policy