I have two questions.
- angular httpclient get method returns unknown error when I have lost my internet connection.
- another question is when I tried
navigator.onLineits always returningtrue. after that I usedaddeventlistener('online'),addeventlistener('offline')as well ashostlisteneralso these are not getting trigger hen I lost and found an internet connection.
If I am missing something please let me know
observableto handle this, as suggested here: stackoverflow.com/a/57069101/2012333