zerealone commented on issue #1529:
URL:
https://github.com/apache/cordova-android/issues/1529#issuecomment-1358857742
I'm sorry for not using the template, I didn't understood how to use it.
The API I am using is a simple weather API from WeatherApi.Com.
I am using it by the fetch function in js and gets the output to a div.
An example code :
```
<div id="weather">Loading...</div>
<script>
fetch("the api url")
.then((response) => {response.json()})
.then((data) => {
document.getElementById("weather").innerHTML = data.weather;
})
</script>
```
With this code, the div stays on "Loading..." forever.
I am not using any plugin, and I just removed the css and the js from the
default index.html file I got in the www folder.
Is there a solution for this issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]