Skip to main content
Version: 1.0

2.1.1.3.1 Setup

Setup Basic Requirement

Step 1: Add the flutter_verifyspeed package

Add the latest version of the flutter_verifyspeed package to your pubspec.yaml file:

yaml
dependencies:
flutter_verifyspeed: ^latest_version

Step 2: Android Setup

  • Open your android/build.gradle file
  • In the repositories section, add this line maven { url 'https://jitpack.io' }
  • Your build.gradle file should look like this:
settings.gradle.kts
allprojects {
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}

Step 3: Set minimum SDK version

Set your minimum SDK version to 24 in your android/app/build.gradle file:

build.gradle.kts
android {
defaultConfig {
minSdk = 24
// ... other config settings ...
}
}