Braintree SDK Version
6.16.0
Environment
Production
Android Version & Device
Samsung and TCL, Android 13 & 14
Braintree dependencies
com.braintreepayments.api:drop-in
Describe the bug
I am seeing this crash occur for a few users in production. I have not been able to reproduce it. It is mainly on Samsung phones but also happening on TCL phones too.
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes(java.nio.charset.Charset)' on a null object reference
at com.braintreepayments.api.TLSCertificatePinning.getCertInputStream(TLSCertificatePinning.kt:719)
at com.braintreepayments.api.BraintreeGraphQLClient$Companion.createDefaultHttpClient(BraintreeGraphQLClient.kt:82)
at com.braintreepayments.api.BraintreeGraphQLClient$Companion.access$createDefaultHttpClient(BraintreeGraphQLClient.kt:79)
at com.braintreepayments.api.BraintreeGraphQLClient.(BraintreeGraphQLClient.kt:6)
at com.braintreepayments.api.BraintreeClientParams.(BraintreeClientParams.kt:13)
at com.braintreepayments.api.BraintreeClientParams.(BraintreeClientParams.kt:22)
at com.braintreepayments.api.BraintreeClient.(BraintreeClient.kt:70)
at com.braintreepayments.api.DropInClient.createDefaultParams(DropInClient.java:50)
at com.braintreepayments.api.DropInClient.(DropInClient.java:140)
To reproduce
I have not been able to reproduce
Expected behavior
N/A
Screenshots
No response