Test connexion ionic

Hy i want to check connexion internet not the connexion for wifi or 3G but i want to test if i has internet access or no

“if i has internet access” is not a simple thing to define, let alone test for. Your best approach is to attempt to make a network request to a known endpoint and consider success/failure of reaching it to be your proxy for “internet access”.

1 Like

hy than’s for your response i just use this with setinerval while the connexion is success :slight_smile: