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 activity
Intent customerJourney = new
Intent(this, CustomerJourneyActivity.class);
// Other extras ...
ArrayList<Certificate> certificateList = new
ArrayList<>();
certificateList.add(new
Certificate("company.idscan.cloud", "SHA256/****"));
customerJourney.putParcelableArrayListExtra(CustomerJourneyActivity.EXTRA_CERTIFICATES, certificateList);
startActivity(customerJourney);