updateSecurityChecks static method

Future<void> updateSecurityChecks(
  1. String config
)

Update the device-security check configuration (remote on/off switch).

config uses the same encrypted envelope format as setPartnerConfig (AES/CBC → gzip → Base64 of {"enabled": bool, "checks": {THREAT: bool}}). enabled=false disables every check; a check omitted from checks stays enabled — only an explicit false disables it.

Implementation

static Future<void> updateSecurityChecks(String config) =>
    _bridge.invoke('updateSecurityChecks', params: {'config': config});