I have implemented SSLpinning using okhttp3, after that I have started getting error “metro package error like 'index.android.bundle' is packaged correctly for release”. After that I have added android:usesCleartextTraffic="true"` in Android Manifiest file, which has resolved the metro package error, but I started getting “Trusted Certificate Failed” error. I don’t want to use android:usesCleartextTraffic="true", to resolve the metro package error as my server is using https. I have already tried all the solutions mentioned at following threads.
Version details: "react-native": "^0.64.1", node version : v12.16.1
Looking for quick help for this.