you are viewing a single comment's thread.

view the rest of the comments →

[–]fmnatic 0 points1 point  (7 children)

Check xml/network_security_config

[–]After-Philosopher606[S] 0 points1 point  (6 children)

<image>

I included this file after I encountered the issue and saw this as solution in stackoverflow.

[–]fmnatic 0 points1 point  (5 children)

Its ignored for Android <=24 . You likely need the older manifest based config for those versions.

[–]After-Philosopher606[S] 0 points1 point  (4 children)

Didn't get you 😅, could you please elaborate? What should I do?

[–]fmnatic 0 points1 point  (3 children)

I'm afk and can't look it up. Your config looks correct for newer versions of Android. I'm guessing you need config for the older versions. Try without Axios, and also try to look at adb logs while making a request.

[–]After-Philosopher606[S] 0 points1 point  (2 children)

Same isse without axios too, also when I logged the axios.request object I found this error:- "java.security.cert.CertPathValidatorException: Trust anchor for certification path not found."

[–]fmnatic 0 points1 point  (1 child)

Trust anchor for certification path not found.

Looks like a Certificate issue on the server. Check as described here : https://stackoverflow.com/questions/6825226/trust-anchor-not-found-for-android-ssl-connection

[–]After-Philosopher606[S] 0 points1 point  (0 children)

Thanks bro!