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

2. Get Your Access Key

  1. Open your project.

  2. Go to SettingsApp Settings.

  3. 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.


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