Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

internet detection by companion

This is not an issue, it is rather an option.
I try to detect in the compagion file if the device is connected to the internet or not.

To be more precise, I need this to call an external API by internet link if internet is available or not if internet is not available.
Is there a call to do this?

Best Answer
0 Votes
2 REPLIES 2

Send a request to the companion and if it gets successfully sent then its connected, if its not connected to Wi-Fi then it won't send I think.

 

 

 

 

If this answer works please mark this post as a Best Answer.  ~ K.K Designs

Best Answer
0 Votes

Thank you. 

Best Answer
0 Votes