Use OKHTTP3 Certificate pining as Public Keys. If not added, then SSL pining will be ignored or if empty list provided.
Java
// Create intent to start scanner activity
Intent customerJourney = new Intent(this, CustomerJourneyActivity.class);
// Other extras …
ArrayList certificateList = new ArrayList<>();
certificateList.add(new Certificate("company.idscan.cloud", "SHA256/****"));
customerJourney.putParcelableArrayListExtra(CustomerJourneyActivity.EXTRA_CERTIFICATES, certificateList);
startActivity(customerJourney);