gobitfly / eth2-beaconchain-explorer-app

Beaconchain Dashboard is an open source ethereum validator performance tracker app for Android and iOS.
https://beaconcha.in/mobile
GNU General Public License v3.0
250 stars 75 forks source link

logview: fix copy-to-clipboard button by using capacitor library #117

Closed InvisibleBitfly closed 2 years ago

InvisibleBitfly commented 2 years ago

navigator.clipboard.writeText doesn't work due to the mobile webview not defining navigator.permission, causing a NotAllowError: Write permission denied. error. using the capacitor/clipboard library fixes this by correctly handling permission on mobile.