User Manual

Is Online

14/7/25
Is Online

Kuika's Is Online action allows you to check whether the device has an active internet connection. This enables you to manage offline situations in your application, inform the user, or restrict certain operations when there is no connection.

Technical Features

  • Connection Status Check: The action reports whether the device is online or offline with a Boolean (true/false) value.
  • Web and Mobile Application Support: Works on both web and mobile applications.
  • Condition-Based Usage: Components can be hidden, redirects can be blocked, or warnings can be displayed to the user even when offline.

Is Online Action Application Steps

Define the Action

  1. Open your project on the Kuika platform.
  2. Go to the UI Design module.
  3. Click on an empty area of the page and open the Properties panel on the right side.
  1. From the + ADD ACTION menu, add the Device > Is Online action according to the desired trigger event (Initial Actions, OnClick, OnBlur, etc.).

Usage Scenario: Displaying a Warning Message When Offline

In an educational application, when the user loses their internet connection, you want to display the message ‘No internet connection. Please check your connection’ at the top of the page. This is important for guiding the user and preventing incorrect actions.

Steps to Add an Offline Warning Message

  1. In the UI Design module, drag a Label element from the left panel and place it at the top of the page.
  2. In the Properties panel, enter the following text in the Value field: No internet connection. Please check your connection.
  3. While keeping the same Label element selected, in the Visibility field:
    • Select the Sometimes Visible option.
  4. Click on the page blank space as Initial Actions and add the following action from the + ADD ACTION menu:
    • Select the Initial Actions → Device → Is Online action.
    • Save the returned result as a Screen Input named isOnline.

Is Online Action Advanced Customisations

  • Reconnect Attempt: A ‘Check Connection’ button can be created and the Is Online action can be triggered again as the OnClick action.
  • Data Loss Prevention: The user can be warned by checking the internet status before the form data is sent.

Technical Risks

  • Misleading Situations: The user may not have internet access even if they are connected to Wi-Fi. More detailed checks may be required in such cases.
  • No Real-Time Tracking: The action is only valid at the moment it is triggered. It must be manually retriggered for instant connection changes.
  • Insufficient Usage: The action result is ineffective if it is not used in other elements.

The Is Online Action is a powerful tool for connection control, alert display, and conditional action management in Kuika applications. It is an effective solution for protecting user experience, reducing error rates, and managing offline situations correctly. With web and mobile compatibility, it can be used securely across platforms.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar