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 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)