Code samples in this guide are written in Java/Kotlin but the principles are applicable on all platforms.
Some applications use non-native keyboards, typically for entering pin codes, etc. This can lead to the recording of sensitive data as we are going to demonstrate by this simple example.
For this screen, we need to change the rendering mode to
By doing this we will ensure the SDK will not record the pin when the user enters it into the application. The visual clues might be the following:
- Number buttons have a hover effect on them.
- Numbers might be visible for a small period of time after they are entered.
Setting rendering mode is not enough!
SDK automatically tracks touch events, so even with blank video, we can clearly see where the user is touching on the recording.
SDK does not record touches on native keyboards, so there is no risk of leaking any sensitive data this way.
Automatic touch detection can be disabled by setting event tracking mode to
After applying these two steps, SDK will not record any sensitive data on this “pin” screen.
When your application is leaving this screen, just set the rendering mode and event tracking mode, back to your preferred values:
Updated almost 2 years ago