In the process of solving this issue I tried the steps given below
1.)
2.)
Updated the AndroidManifest.xml as below
3.) code REST API call
public static IEnumerator GetRequest(string uri)
{
using (UnityWebRequest webRequest = new UnityWebRequest(uri, “GET”))
{
webRequest.downloadHandler = new DownloadHandlerBuffer();
// Send the request and wait for a response
yield return webRequest.SendWebRequest();
if (webRequest.result == UnityWebRequest.Result.ConnectionError)
{
// Log any errors
Debug.Log(“: Error: " + webRequest.error);
}
else
{
// Log the response
Debug.Log(”: Received: " + webRequest.downloadHandler.text);
}
}
}
called GetRequest(“https://www.google.com/”)
ran the build and tested on VR pro but not working as expected.
Please help me with this Thank you