Custom Cert Manager
constructor(context: Context, trustSystemCerts: Boolean = true, appInForeground: StateFlow<Boolean>?)
Parameters
trust System Certs
whether system certificates will be trusted
app In Foreground
true
: if needed, directly launches TrustCertificateActivity and shows notification (if possible)false
: if needed, shows notification (if possible)null
: non-interactive mode: does not show notification or launch activity