Skip to content

Commit

Permalink
v4.2.1: Android: Allowing SDK min version of 21 for debug builds (dis…
Browse files Browse the repository at this point in the history
…play of video will not work but everything else should).
  • Loading branch information
eggnstone committed Jun 10, 2022
1 parent a49c3ab commit 5e0a391
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.2.1

* Android: Allowing SDK min version of 21 for debug builds (display of video will not work but everything else should).

## 4.2.0

* Android: Updated to Chime SDK version 0.17.1.
Expand Down
9 changes: 9 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ android {
// Platform views cannot be displayed below API level 23.
minSdkVersion 23
}

buildTypes {
debug {
// Chime needs API level 21.
// Platform views cannot be displayed below API level 23.
// Allowing API level 21 for debug builds (display of video will not work but everything else should).
defaultConfig.minSdkVersion 21
}
}
}

dependencies {
Expand Down
7 changes: 7 additions & 0 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ android {
}

buildTypes {
debug {
// Chime needs API level 21.
// Platform views cannot be displayed below API level 23.
// Allowing API level 21 for debug builds (display of video will not work but everything else should).
defaultConfig.minSdkVersion 21
}

release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: eggnstone_amazon_chime
copyright: 2020-2022 Mark Eggenstein
description: A wrapper for the Amazon Chime SDKs. Allows to join Chime meetings using audio and video.
homepage: https://github.com/eggnstone/eggnstone_amazon_chime
version: 4.2.0
version: 4.2.1

environment:
sdk: ">=2.17.0 <3.0.0"
Expand Down

0 comments on commit 5e0a391

Please sign in to comment.