Open satheeshwaran opened 3 years ago
Found a solution?
I got the same issue. May we missing some config?
In my opinion, when we set network security config then android system validate by itself. Thus TrustKit did not validate connection except if we are using a HttpConnection or Okhttp connection instance. Then the event may be fired.
Describe the bug On React native after adding the network_security_config the requests are blocked when the PIN doesn't match which is fine but we are not able to get the broadcast of the PIN failure for reporting it to Crashlytics etc.
To Reproduce Launch the app. Connect to the service. Network error is received and the API call fails. No broadcast happens.
Expected behavior The broadcast should be fired.
TrustKit configuration
App details:
Additional context MainActivity.java
And within MainActivity.java
At this point, I am not sure whether TrustKit is doing the PIN rejection of is it the OS doing it by default.