For the complete documentation index, see llms.txt. This page is also available as Markdown.

Getting Started

This guide covers everything you need to integrate Digia UI SDK into your mobile app. We support both Flutter (Cross-platform) and Android (Jetpack Compose).

1. Installation

Add the SDK to your pubspec.yaml:

Using Flutter CLI:

flutter pub add digia_ui

Manual:

dependencies:
  digia_ui: ^1.0.0

Step 1: Add JitPack Repository Add this to your settings.gradle.kts:

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        mavenCentral()
        maven { url = uri("https://jitpack.io") }
    }
}

Step 2: Add Dependency Add this to your app-level build.gradle.kts:

dependencies {
    implementation("com.github.Digia-Technology-Private-Limited:digia_ui_compose:v1.0.0-beta.1")
}

2. Get Your Access Key

  1. Log in to Digia Studio.

  2. Open your project.

  3. Go to SettingsApp Settings.

  4. Copy your Access Key.

⚠️ Security: Never commit your access key to public repositories.


3. Initialization

Initialize the SDK early in your app lifecycle.

The Flutter SDK offers two initialization approaches:

Option A: DigiaUIAppBuilder (Recommended) Handles loading states and errors automatically. Ideal for new apps.

Option B: Manual Initialization For complex setups where you need the SDK ready before rendering.

Initialize the SDK in your Application class or main Activity.


4. Integration Patterns

Choose how strictly you want to integrate Digia UI into your app.

Pattern 1: Full App Mode

Best for: Apps built entirely (90%+) in Digia Studio.

Pattern 2: Hybrid Mode

Best for: Existing apps migrating to Digia UI incrementally, or apps with complex native screens.

Pattern 3: Component Embedding

Best for: Using Digia UI for specific sections (like valid lists, cards) inside native screens.


Next Steps

Last updated