Skip to content

Commit

Permalink
change build type, remove example with product flavor
Browse files Browse the repository at this point in the history
  • Loading branch information
danil committed Apr 17, 2024
1 parent a459be6 commit 6724cc1
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions docs/android-build-variants.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,8 @@ To ensure Flaker handles multiple variants correctly in your project, you should
buildTypes {
release {
}
stage {
matchingFallbacks = ['debug', 'qa', 'release']
}
}
}
```

#### 2) Product Flavor
```kotlin
android {
productFlavors {
create("paid") {
dimension = "tier"
}
create("free") {
dimension = "tier"
matchingFallbacks += listOf("demo", "trial")
qa {
matchingFallbacks = ['debug', 'release']
}
}
}
Expand Down

0 comments on commit 6724cc1

Please sign in to comment.