User Manual

Offline Screen

23/3/26
Offline Screen

Kuika's Offline Screen feature is designed to ensure that your apps maintain an uninterrupted user experience when disconnected from the internet. With this feature, a specific screen is shown to the user when there is no connection and the app adapts to offline conditions.

Offline Screen Features

  • Single Screen Limit: Although a project may contain multiple offline screens, only one screen can have the “Default Offline Screen” role.
  • Connection Status: Automatically activates when the internet connection is lost. Even if the connection is restored, the user must manually switch to the Online Screen.
  • Device Features: Hardware features such as camera or GPS can be used. However, Backend calls requiring the internet are not supported.
  • Actions: Only Client Side actions can be used. Server Side actions are not supported.
  • Platform Compatibility: Can be used in web and mobile applications.
  • SQLite Offline Recording: Screens marked as Is Offline write data directly to the local SQLite database on the device.
  • Automatic Synchronization: Data recorded in offline mode is automatically transferred to the server via a defined sync mechanism when a connection is established.
  • Offline Editable Tables: Tables marked as Enable Editing are downloaded as editable in offline mode, and any changes made are sent to the server during synchronization.
  • Column-Based IsDirty Tracking: In Upsert operations performed in offline mode, the IsDirty mechanism tracks which columns have been modified. This ensures that only the modified columns are sent to the server during synchronization.

Using Offline Screen

  1. Screen Design:
    • Create the screen that will work offline in Designer.
    • Add images via the Image Library instead of the API.
    • Do not use elements and actions that require the internet.
  2. Role Assignment:
    • Go to the Properties panel of the Screen.
    • Enable the Is Offline option.
    • The relevant screen automatically takes on the Default Offline Screen role.
  3. Data Configuration
    • Select the tables to be used offline.
    • Download only the schema structure with the Schema Only option.
    • Enable Enable Editing for tables that need to be edited.
  4. Platform-Specific Compilation:
    • Export the application for iOS or Android.
    • When the device loses its internet connection:
    • The user is notified.
    • The Offline Screen opens automatically.

By following these steps, you can ensure that your application provides a user-friendly and functional experience even in offline mode.

Glossary

No items found.

Alt Başlıklar