Test connexion ionic

#1

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

#2

“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
#3

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