Android apps do not trust anything out of the system default CA since Android 7.0, which is "light" pinning. https://android-developers.googleblog.com/2016/07/changes-to.... Additionally, certificate pinning can be done in multiple ways, and your Frida bypass will not do anything in the case of a simple reimplementation of pinning for OkHttp means you now have to find also that code (which has most likely been proguarded and obfuscated) to replace.
The only ways your certificate works are:
* Your self signed certificates are marked as trusted in the app manifest (which, since it isn't your app, you have to rebuild an APK to modify the network_security_config)
* There's a leftover "accept everything" in the manifest, and that can only work with debug builds.
* You ran it through apktool/equivalent to insert a permissive network_security_config (which only has this ability since 2022, but other scripts have existed before).
Running it through Frida for that purpose is needlessly overkill.
Please know your shit.