Is your feature request related to a problem? Please describe.
We just ran into the problem described in #21: when the main activity's onCreate is called a second time an IllegalStateException is thrown. The solution described in the issue works, but I think this can be avoided.
Describe the solution you'd like
Make it clearer in the Getting Started docs in the "Initializing TrustKit with the Pinning Policy" section that the code snippet applies to the Application's onCreate method, rather than the MainActivity's method.
Is your feature request related to a problem? Please describe.
We just ran into the problem described in #21: when the main activity's
onCreate
is called a second time anIllegalStateException
is thrown. The solution described in the issue works, but I think this can be avoided.Describe the solution you'd like
Make it clearer in the Getting Started docs in the "Initializing TrustKit with the Pinning Policy" section that the code snippet applies to the
Application
'sonCreate
method, rather than theMainActivity
's method.