Internet check android in AAB


I ask you for a clarification.

I just updated (re-released) an old app (2020) on google play.

This app immediately checks that there is an internet connection via a JAVA program using navigator.onLine… the problem that the new generated version (AAB) does not check correctly and has always been successful (connected) even if it is not!

Testing with PC it work perfectly!

Thanks in advance!


AAB doesn’t support!!!

I used connectivityManager and it work!!!

Hope this help others.

1 Like