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.onLine
its always returningtrue
. after that I usedaddeventlistener('online')
,addeventlistener('offline')
as well ashostlistener
also these are not getting trigger hen I lost and found an internet connection.
If I am missing something please let me know