dominant-strategies / quaipay

Other
7 stars 5 forks source link

feat(android): forbid screen capture globally #233

Closed juanmanso closed 1 year ago

juanmanso commented 1 year ago

Description

As part of the design spec, the user should not be able to take screenshots of their recovery seed phrase when shown on screen.

This PR is the first brute force approach to that, where we block screenshot capabilities for the whole app on Android. The practice is quiet common but not ideal. Thus, we first set that up as a worse-case scenario and then we will iterate to specify which screens to flag as secure (and with that forbidding screenshots there).

Next, we shall also forbid screenshots for iOS which requires a more elaborate solution than this one (#217)

Related links

Demos

Before
After