Zum Hauptinhalt springen
Version: Guardian v0.1.0

Konfigurationsoptionen

GuardianOptions

FeldTypStandardBeschreibung
environmentEnvironmentproductionZielumgebung
failurePolicyFailurePolicyfailFehlerbehandlungsverhalten
logLevelLogLevelwarnProtokollierungsdetailgrad
collectLocationbooleanfalseGPS-Erfassung (erfordert Berechtigung)
collectWifiInfobooleanfalseWiFi-Details (erfordert Berechtigung)
collectSimCardInfobooleanfalseSIM-/Betreiberinformationen (erfordert Berechtigung)
collectCameraInfobooleanfalseKamerazahl/Information (erfordert Berechtigung)

Environment

WertBeschreibung
productionLive-Traffic
sandboxTesten und Entwicklung

FailurePolicy

RichtlinieVerhalten
fail (Standard)Gibt Fehler zurück - Integrator entscheidet
allowGibt allowed: true, riskLevel: unknown zurück - Fehler wird über Delegat/Listener gemeldet