Skip to content

Commit 2a611ec

Browse files
committed
chore: update example app
1 parent 848b36d commit 2a611ec

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

example/src/App.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,16 @@ const App = () => {
251251
)
252252
);
253253
},
254+
// Android only
255+
automation: () => {
256+
setAppChecks((currentState) =>
257+
currentState.map((threat) =>
258+
threat.name === 'Automation'
259+
? { ...threat, status: 'nok' }
260+
: threat
261+
)
262+
);
263+
},
254264
};
255265

256266
const raspExecutionStateActions = {

example/src/checks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ export const androidChecks = [
2424
{ name: 'Time Spoofing', status: 'ok' },
2525
{ name: 'Location Spoofing', status: 'ok' },
2626
{ name: 'Unsecure Wifi', status: 'ok' },
27+
{ name: 'Automation', status: 'ok' },
2728
];

0 commit comments

Comments
 (0)