Skip to content

java.lang.IllegalStateException: TrustKit has already been initialized #21

@evollu

Description

@evollu

When app is closed though "back" button and resume, onCreate will be called again.
If I put TrustKit.initializeWithNetworkSecurityConfiguration inside onCreate as readme shows it throws TrustKit has already been initialized error.

shall I add a try catch around it to avoid the crash?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions