Flutter

Requirements

Flutter version >=1.20.0

Installation

pubspec.yaml

dependencies:

...

onboarding_flutter_wrapper:
       git:
         url: git@github.com:Incode-Technologies-Example-Repos/IncdOnboardingFlutter.git
        ref: master

...

Additional Setup for iOS

  1. Verify LFS is installed and running Git LFS Documentation
  2. Change your Podfile so it requires deployment target 13 or higher.

Podfile

-platform :ios, '10.0'
+platform :ios, '13.0'
  1. Run pod install

Objective-C

cd ios && pod install cd ..
  1. Add the following to the Info.plist file:

Additional Setup for Android

  1. Modify app/build.gradle so that you enable multiDexEnabled and set the minimum API level to 21:

Kotlin

defaultConfig {
  …
  multiDexEnabled true
  minSdkVersion 21
}
  1. Modify your build.gradle so it contains GitHub Packages username and password, provided by Incode.

⚠️

IMPORTANT

As of September 29th, 2025, distribution through Artifactory is no longer supported. If you are currently using Artifactory in your production integration, you must complete the migration to GitHub Packages to ensure uninterrupted access to the SDK.

Kotlin

allprojects {
  repositories {
    ...
+    jcenter()
+    maven {
+      url "https://maven.pkg.github.com/Incode-Technologies-Example-Repos/android-omni-packages"
+      credentials {
+        username = "incode-customers"
+        password = "GITHUB_TOKEN"
+      }
+    }
    ...
  }
}
  1. Add the following dependency to your app/build.gradle:

Kotlin

+   implementation 'com.android.support:multidex:1.0.3'

Other optional dependencies can be added for optimized Face Login features:

Updating to latest version

Run flutter pub upgrade or flutter packages upgrade, and in case iOS SDK version was updated run pod install --repo-update and pod update IncdOnboarding inside your iOS folder.