← Code LabReact Native0/50 solved · 0%
Security · hard

49. Soft-warning security checks

Return a warning without blocking the user outright.

Write `securityChecks(isJailbroken, hasScreenRecording)` returning an array of warning strings (`"Device may be jailbroken/rooted"`, `"Screen recording detected"`) for each true flag, in that order, without ever throwing.
Required in your answer: warnings.push