This will use OKHTTP3 Certificate pining as Public Keys, if not added SSL pining will be ignored or if empty list provided.
Java
// Create intent to start scanner activityIntent customerJourney = newIntent(this, CustomerJourneyActivity.class);// Other extras ...ArrayList<Certificate> certificateList = newArrayList<>();certificateList.add(newCertificate("company.idscan.cloud", "SHA256/****"));customerJourney.putParcelableArrayListExtra(CustomerJourneyActivity.EXTRA_CERTIFICATES, certificateList);startActivity(customerJourney);