Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Clarify setting up TrustKit in the docs

Open
#82 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
android, java
Domain
documentation

Research direction

Start with docs/getting-started.md, in the “Initializing TrustKit with the Pinning Policy” section. Clarify that the snippet belongs in the Application's onCreate method rather than MainActivity's, and confirm the wording addresses the repeated onCreate issue described in #21.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Java
Stars
604
Forks
90
Avg merge
1h 29m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from datatheorem/TrustKit-Android

All issues in datatheorem/TrustKit-Android

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.