Skip to content

Commit

Permalink
feat: add gyroscpoe and accelerometer permissions for new caf liveness
Browse files Browse the repository at this point in the history
  • Loading branch information
elianbatista committed Oct 26, 2023
1 parent 4e39458 commit c68034f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embedded.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function Clicksign(key, is_not_legacy) {
iframe = document.createElement('iframe');
iframe.setAttribute('src', src);
iframe.setAttribute('style', 'width: 100%; height: 100%;');
iframe.setAttribute('allow', 'camera; geolocation;fullscreen');
iframe.setAttribute('allow', 'camera;geolocation;fullscreen;gyroscope;accelerometer');

window.addEventListener('message', handle);

Expand Down

0 comments on commit c68034f

Please sign in to comment.