Skip to content

Commit

Permalink
Merge pull request #14 from clicksign/feature/JR-AEP-589
Browse files Browse the repository at this point in the history
feat: add allow magnetometer
  • Loading branch information
elianbatista authored Oct 27, 2023
2 parents 4b430f4 + 74cccdd commit 8c69fc6
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;gyroscope;accelerometer');
iframe.setAttribute('allow', 'camera;geolocation;fullscreen;gyroscope;accelerometer;magnetometer');

window.addEventListener('message', handle);

Expand Down

0 comments on commit 8c69fc6

Please sign in to comment.