Skip to content

Commit

Permalink
Merge pull request #436 from Cognigy/bug/70764-xAppOverlay-allow-APIs
Browse files Browse the repository at this point in the history
Browser APIs in xApp Overlay
  • Loading branch information
kwinto authored Jul 4, 2024
2 parents effc5e1 + 81c53c9 commit 1568622
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,18 @@ const xAppOverlay: FC = () => {
onClose={showCloseIcon ? handleCloseIconClick : undefined}
/>
)}
<Iframe src={url} />
<Iframe
src={url}
allow="
accelerometer; ambient-light-sensor; autoplay; battery; bluetooth; camera;
cross-origin-isolated; display-capture; document-domain; encrypted-media;
execution-while-not-rendered; execution-while-out-of-viewport;
fullscreen; gamepad; geolocation; gyroscope; hid; idle-detection;
interest-cohort; local-fonts; magnetometer; microphone; midi;
otp-credentials; payment; picture-in-picture; publickey-credentials-get;
screen-wake-lock; serial; speaker-selection; usb; web-share;
xr-spatial-tracking"
/>
</Root>
);
};
Expand Down

0 comments on commit 1568622

Please sign in to comment.