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.gradlefile - In the
repositoriessection, add this linemaven { url 'https://jitpack.io' } - Your
build.gradlefile should look like this:
- Gradle KTS
- Gradle
settings.gradle.kts
allprojects {
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
settings.gradle
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Step 3: Set minimum SDK version
Set your minimum SDK version to 24 in your android/app/build.gradle file:
- Gradle KTS
- Gradle
build.gradle.kts
android {
defaultConfig {
minSdk = 24
// ... other config settings ...
}
}
build.gradle
android {
defaultConfig {
minSdk = 24
// ... other config settings ...
}
}