Internet Checker

Hi everyone! :waving_hand:
I’m super excited to share my first extension with you all — the InternetChecker. :puzzle_piece: It helps you detect real-time internet connectivity in your app. Hope it helps in your projects! :blush::flexed_biceps:

What It Does

This extension lets you:

  • :white_check_mark: Detect if the device has active internet access (not just if it’s connected to Wi-Fi or mobile).
  • :repeat_button: Check whether Wi-Fi or Mobile Data is turned on or off.
  • :vertical_traffic_light: Emit separate success and failure events depending on the result.

How It Works

This extension checks internet access by making a connection to:

https://clients3.google.com/generate_204

This is a lightweight, fast-loading URL that Google uses to verify internet connectivity (similar to how Android detects captive portals). If the response code is 204 (No Content), it confirms there’s actual internet access — not just a connection to a router.

Block of this Extension

blocks(77)

Summary

Block Name Type Description
CheckInternetAccess() Method Checks real online access
InternetAccessSuccess() Event Triggered on success
InternetAccessFailed() Event Triggered on failure
IsWiFiConnected() Method (bool) Checks if Wi-Fi is ON and connected
IsMobileDataConnected() Method (bool) Checks if mobile data is ON and connected

| Component | Use |

| ---------------------- | ---------------------------------------------------------- |
| :puzzle_piece: InternetChecker | The extension you imported |
| :compass: Clock | For triggering checks on interval or after a delay |
| :mobile_phone_with_arrow: Notifier | (optional) For showing messages like “Online” or “Offline” |

In Next update i will add auto trigger once we call without clock componet
component_method(1)

Download AIX OR AIA Below

InternetChecker(5).aix (8.4 KB)

Android Compatibility

This extension uses basic Java 7 and Android APIs to ensure maximum compatibility. It has been tested on:

  • :white_check_mark: Android 7 (Nougat)
  • :white_check_mark: Android 8 (Oreo)
  • :white_check_mark: Android 9 (Pie)

:magnifying_glass_tilted_left: It has not yet been fully tested on Android 10+ (API 29 and above), so there may be behavior differences due to newer Android network security policies.
Feel free to report any issues you experience — I’ll be happy to improve it! :hammer_and_wrench::speech_balloon:

:warning: Important Notes

  • :prohibited: No source code provided at this time.
  • :puzzle_piece: Designed as a single component — simple to import and start using.
  • :stopwatch: You can pair this with a Clock component to perform periodic checks every few seconds or minutes.

:blush: Thank You!

This is my first extension and I’m truly grateful for your support. :yellow_heart:
I hope it’s helpful in your apps, and I’m looking forward to your feedback and suggestions! :hugs::tada:

3 Likes

No you will find it under Extensions as all extensions

That’s the most important part… what about testing on an emulator?

As all extensions

Taifun

@Taifun i have set its category as connectivity check below,
Screenshot (84)
so if its imported it will be redirected to connectivity section as its category, also check below

For now my emulator isn’t working

But if you can test it in any android 10+ and give me its results, for NOW i dont have any of android 10+

On It now @Taifun

The extension now appears properly in the Extensions section as expected. I have also update the download file above
Screenshot (91)

Thanks for pointing it out, and sorry for the confusion.

Best regards,
@Ibrahim_Jamar