Fig 1How Rampart worksClick a gauge, or press 1–4check: rooted / jailbroken…
Teal: a threat event on its way to your listenerNative checks reading the device, off the UI threadIndigo: the reaction your code picks (secure screen, step-up auth, block payments)Blank-capped port: Rampart makes no network callsEach gauge is one native check. When its reading crosses the threshold it opens its gate and sends one event down the chute to your JavaScript listener. Rampart never stops the app; your code turns the selector: secure the screen, require step-up auth, or block payments.