cordova-talsec-plugin-freerasp
Version:
Cordova plugin for improving app security and threat monitoring on Android and iOS mobile devices.
33 lines (30 loc) • 759 B
HTML
<ion-app>
<ion-header>
<ion-toolbar>
<ion-title>FreeRASP Cordova Demo</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<div
*ngIf="platformId === 'android'"
id="screenCaptureControls"
class="button-container"
>
<button
*ngIf="!screenCaptureBlocked"
class="control-button block-button"
(click)="toggleScreenCapture(true)"
>
Block Screen Capture
</button>
<button
*ngIf="screenCaptureBlocked"
class="control-button unblock-button"
(click)="toggleScreenCapture(false)"
>
Unblock Screen Capture
</button>
</div>
<app-freerasp-demo [checks]="appChecks"></app-freerasp-demo>
</ion-content>
</ion-app>