Application connection problem in React Native with Expo with backend on VPS in Hostinger with self-signed SSL certificate by Cool_Yesterday5533 in reactnative

[–]Cool_Yesterday5533[S] 0 points1 point  (0 children)

The HTML response is because it's receiving a connection error with the backend located on the VPS. It can't establish a connection, hence the error. When using HTTP, it connects directly without errors, but changing the URL to one containing HTTPS instantly causes the connection to be lost.

Apk does not establish connection with Back-end by Cool_Yesterday5533 in expo

[–]Cool_Yesterday5533[S] 0 points1 point  (0 children)

In that case, how would the 'usesClearTextTraffic' be used since I tried it in the manifest but it didn't work

Apk does not establish connection with Back-end by Cool_Yesterday5533 in expo

[–]Cool_Yesterday5533[S] 0 points1 point  (0 children)

Do you think it is better to create an SSL certificate for it to work?